- npm
- grunt
- uglify
- bower
- n
- ユーティリティ
- lo-dash
- Q
- underscore.js
- マルチメディア
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <functional> | |
#include <string> | |
#include <map> | |
#include <vector> | |
using namespace std; | |
struct Event { | |
Event(const string& name, int data) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
XCODEROOT = %x[xcode-select -print-path].strip | |
SIM_SYSROOT = "#{XCODEROOT}/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/" | |
DEVICE_SYSROOT = "#{XCODEROOT}/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/" | |
MRuby::Build.new do |conf| | |
toolchain :gcc | |
conf.gembox 'default' | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew install emacs --HEAD --cocoa | |
==> Cloning bzr://http://bzr.savannah.gnu.org/r/emacs/trunk | |
bzr: ERROR: Couldn't import bzrlib and dependencies. | |
Please check the directory containing bzrlib is on your PYTHONPATH. | |
Traceback (most recent call last): | |
File "/usr/local/bin/bzr", line 74, in <module> | |
import bzrlib | |
ImportError: No module named bzrlib | |
Error: Failure while executing: /usr/local/bin/bzr checkout --lightweight http://bzr.savannah.gnu.org/r/emacs/trunk /Library/Caches/Homebrew/emacs--bzr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <memory> | |
#include <iostream> | |
#include <string> | |
#include <unordered_map> | |
#include <unordered_set> | |
using namespace std; | |
class Node { | |
public: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.get('/hoge.:format', function(req, res) { | |
res.format({ | |
json: function(req, res) { | |
res.send({a: 1}); | |
}, | |
html: function(req, res) { | |
// ブラウザから /index.json にアクセスしてもこっちが実行される | |
res.render('index'); | |
}, | |
default: function(req, res) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
├── Gruntfile.coffee | |
├── README.md | |
├── app.coffee | |
├── component.json | |
├── lib | |
├── package.json | |
├── public | |
│ ├── css | |
│ ├── img |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <functional> | |
#include <iostream> | |
#include <map> | |
#include <memory> | |
#include <string> | |
typedef int EventType; | |
struct Event { | |
public: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
赤 | |
うすい:#F4D6E0 [244, 214, 224] | |
こい:#DE7699 [222, 118, 153] | |
青 | |
うすい:#CCE9F9 [204, 233, 249] | |
こい:#4CBAEB [76, 186, 235] | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <sstream> | |
#include <string> | |
#include <v8.h> | |
using namespace std; | |
int main(int argc, const char **argv) { | |
// Create a scope and environment | |
v8::HandleScope scope; |