View README.md

nanoem

2017/8/5 付で readthedocs に移動しました

This document has been moved to readthedocs since 8/5/2017

View glslopt.qbs
/**
Copyright (c) 2010-2014 hkrn
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
View AntTweakBar.qbs
/**
Copyright (c) 2010-2013 hkrn
All rights reserved.
Redistribution and use in source and binary forms, with or
without modification, are permitted provided that the following
conditions are met:
View MMD.json.md

※注意

まだ正式版として発行する前のドラフトです

MMD.json

MikuMikuDance Manifest Declaration Format Specification

これは MikuMikuDance Manifest Declaration (以下 MD) の仕様書です。

View build_devil.sh
#!/bin/sh
#
# based on devil-1.7.8
#
export LIBJPEG_PATH=`pwd`/../jpeg-8d/x86_64
export LIBPNG_PATH=`pwd`/../libpng-1.5.12/x86_64
export CFLAGS="-I$LIBJPEG_PATH/include -L$LIBJPEG_PATH/lib -I$LIBPNG_PATH/include -L$LIBPNG_PATH/lib -arch i386"
export CXXFLAGS=$CFLAGS
export LDFLAGS="-L$LIBJPEG_PATH/lib -L$LIBPNG_PATH/lib"
View translate_english_oekakiko.js
// ==UserScript==
// @name translate_english_oekakiko.js
// @namespace https://github.com/hkrn/
// @description The helper of translating Oekakiko to english
// @include http://dic.nicovideo.jp/p/oekaki/*
// ==/UserScript==
// code from http://stackoverflow.com/questions/2246901/how-can-i-use-jquery-in-greasemonkey-scripts-in-google-chrome
function addjQuery(callback) {
var script = document.createElement("script");
View HTSEngine_CMakeLists.txt
#
# CMake configuration for HTSEngine
#
cmake_minimum_required(VERSION 2.6)
# set library version
set(HTS_ENGINE_API_VERSION 1.02)
project(HTSEngine)
aux_source_directory(lib libHTSEngine_source)
View gist:802926
# cmake が生成したファイルを削除する
alias cmake_clean='rm -rf build Makefile CMakeCache.txt CMakeFiles CMakeScripts install_manifest.txt *.a *.lib *.dll* *.dylib* *.so*'
# cmake で Xcode 用のプロジェクトファイルを生成する
alias cmake_xcode='cmake -G "Xcode"'
# Bullet のデバッグビルドを生成するときの cmake のエイリアス
alias bullet_osx_lib_dev='cmake -DCMAKE_BUILD_TYPE:STRING=DEBUG -DBUILD_DEMOS:BOOL=OFF -DBUILD_EXTRAS:BOOL=OFF -DBUILD_MINICL_OPENCL_DEMOS:BOOL=OFF -DBUILD_CPU_DEMOS:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_OSX_ARCHITECTURES="i386;x86_64"'
# libMMDME / libMMDAI のデバッグビルドを生成するときの cmake のエイリアス
alias mmdai_osx_lib_dev='cmake -DFIND_BULLET_BY_PKGCONFIG:BOOL=ON -DCMAKE_BUILD_TYPE:STRING=DEBUG -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_OSX_ARCHITECTURES="i386;x86_64"'
# libMMDME / libMMDAI のデバッグビルドを生成するときのビルドするときの cmake のエイリアス
View CMakeLists.txt
#
# build libGLee (OpenGL easy extension)
#
cmake_minimum_required(VERSION 2.6)
project(GLee)
add_library(GLee SHARED GLee.c GLee.h)
# link against Foundation.framework