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
#!/bin/bash | |
working=$(mktemp -d); | |
mkdir -p "$working/usr/lib" | |
cp -R "$1/usr/lib/" "$working/usr/lib" | |
mkdir -p "$working/usr/include" | |
cp -R "$1/usr/include/" "$working/usr/include" | |
mkdir -p "$working/System/Library/PrivateFrameworks" | |
cp -R "$1/System/Library/PrivateFrameworks/" "$working/System/Library/PrivateFrameworks" |
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
TESTS = $(shell find test/test.*.js) | |
test: | |
@./test/run.sh $(TESTS) | |
.PHONY: test |
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
#! /bin/bash | |
unset CPATH | |
unset C_INCLUDE_PATH | |
unset CPLUS_INCLUDE_PATH | |
unset OBJC_INCLUDE_PATH | |
unset LIBS | |
unset DYLD_FALLBACK_LIBRARY_PATH | |
unset DYLD_FALLBACK_FRAMEWORK_PATH |
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
@class EXApplication : UIApplication { | |
} | |
- tableView:table numberOfRowsInSection:section { | |
return 2; | |
} | |
- tableView:table cellForRowAtIndexPath:index { | |
var cell = [new UITableViewCell initWithStyle:UITableViewCellStyleDefault reuseIdentifier:"cell"]; | |
[cell setText:([index row] == 0 ? "test" : "help")]; |
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
var FS = require('fs'); | |
var EventEmitter = require('events').EventEmitter; | |
// http://www.mjmwired.net/kernel/Documentation/input/joystick-api.txt | |
function parse(buffer) { | |
var event = { | |
time: buffer.readUInt32LE(0), | |
number: buffer[7], | |
value: buffer.readInt16LE(4) | |
} |
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
var fg = { | |
30: 'fg-black' | |
, 31: 'fg-red' | |
, 32: 'fg-green' | |
, 33: 'fg-yellow' | |
, 34: 'fg-blue' | |
, 35: 'fg-magenta' | |
, 36: 'fg-cyan' | |
, 37: 'fg-white' |
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
var sio = require('socket.io-client'); | |
var socket = sio.connect('http://play.codestre.am/?id=' + '3Y'); | |
console.log('connecting...'); | |
socket.on('connect', function () { | |
console.log('connected.'); | |
}); | |
socket.on("frames", function (frames) { | |
process.stdout.write("\x1b[2J\x1b[1;1H"); | |
var loop = function () { |
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
/* | |
In a child process, each of the stdio streams may be set to | |
one of the following: | |
1. A new file descriptor in the child, dup2'ed to the parent and | |
exposed to JS as a Stream object. | |
2. A copy of a file descriptor from the parent, with no other | |
added magical stuff. | |
3. A black hole - no pipe created. |
Most active GitHub users (git.io/top)
The list would not be updated for now. Don't write comments.
The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 21 Sep 2022 till Thu, 21 Sep 2023.
Because of GitHub search limitations, only 1000 first users according to amount of followers are included. If you are not in the list you don't have enough followers. See raw data and source code. Algorithm in pseudocode:
githubUsers