Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
- ⌘ : Command key
- ⌃ : Control key
- ⌫ : Delete key
- ← : Left arrow key
- → : Right arrow key
- ↑ : Up arrow key
# damn it! | |
# committed to the wrong branch again | |
# fix trigger happy commits to wrong branch: | |
git reset --soft HEAD^ | |
git checkout branch | |
git commit | |
# DELETE TAG | |
# ---------- |
Use these rapid keyboard shortcuts to control the GitHub Atom text editor on Mac OSX.
That's how we get a bunch of noise on the commit log.
same style as nodejs or expressjs collaborative git style
lets run through an example workflow and of merging a branch called ayyyeeee
var nano = require('nanomsg') | |
var pub = nano.socket('pub'); | |
var sub = nano.socket('sub'); | |
var msgs = 0; | |
var msg1 = 'foo world'; | |
var msg2 = 'bar world'; | |
var msg3 = 'hi world'; | |
var msg4 = 'hello world'; | |
var addr = 'inproc://prefixed'; |
#include <fcntl.h> /* O_RDWR */ | |
#include <string.h> /* memset(), memcpy() */ | |
#include <stdio.h> /* perror(), printf(), fprintf() */ | |
#include <stdlib.h> /* exit(), malloc(), free() */ | |
#include <sys/ioctl.h> /* ioctl() */ | |
/* includes for struct ifreq, etc */ | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <linux/if.h> |
const app = require('express')() | |
const route = require('express').Router() | |
route.use(require('connect-timeout')('5s')) | |
route.use(require('body-parser').json()) | |
route.post('/', (req, res) => res.status(200).send('peepee')) | |
route.get('/', (req, res) => res.status(200).send('poopoo') ) | |
app.use(route) |
export PREFIX="$(pwd)/nanomsg-ios" | |
export IOS32_PREFIX="$PREFIX/tmp/ios32" | |
export IOS64_PREFIX="$PREFIX/tmp/ios64" | |
export SIMULATOR32_PREFIX="$PREFIX/tmp/simulator32" | |
export SIMULATOR64_PREFIX="$PREFIX/tmp/simulator64" | |
export IOS_SIMULATOR_VERSION_MIN=${IOS_SIMULATOR_VERSION_MIN-"7.1"} | |
export IOS_VERSION_MIN=${IOS_VERSION_MIN-"7.1"} | |
export XCODEDIR=$(xcode-select -p) | |
rm -rf nanomsg nanomsg-ios | |
git clone [email protected]:nanomsg/nanomsg.git |
I hereby claim:
To claim this, I am signing this object:
pi@raspberrypi:~/o/mill $ make check | |
make[1]: Entering directory '/home/pi/o/mill' | |
gyp info it worked if it ends with ok | |
gyp info using [email protected] | |
gyp info using [email protected] | linux | arm | |
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR | |
gyp info spawn make | |
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ] | |
make[2]: Entering directory '/home/pi/o/mill/build' | |
make[2]: Nothing to be done for 'all'. |
$ locale | |
locale: Cannot set LC_ALL to default locale: No such file or directory | |
LANG=en_US.UTF-8 | |
LANGUAGE= | |
LC_CTYPE=en_US.UTF-8 | |
LC_NUMERIC=ru_RU.UTF-8 | |
LC_TIME=ru_RU.UTF-8 | |
LC_COLLATE="en_US.UTF-8" | |
LC_MONETARY=ru_RU.UTF-8 | |
LC_MESSAGES="en_US.UTF-8" |