As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/bin/bash | |
# | |
# Usage | |
# install-arch.sh ./archlinux-2018.11.01-x86_64.iso | |
# first you neeed to patch xhyve with this | |
# index 61aeebb..39a9c4b 100644 | |
# --- a/src/firmware/kexec.c | |
# +++ b/src/firmware/kexec.c | |
# @@ -185,6 +185,7 @@ kexec_load_ramdisk(char *path) { |
As configured in my dotfiles.
start new:
tmux
start new with session name:
hg clone http://code.nsnam.org/bake bake | |
export BAKE_HOME=`pwd`/bake | |
export PATH=$PATH:$BAKE_HOME | |
export PYTHONPATH=$PYTHONPATH:$BAKE_HOME | |
mkdir dce | |
cd dce | |
sudo apt-get -y install python g++ mercurial cvs git bzr tar unzip unrar p7zip-full xz-utils make cmake patch dh-autoreconf bison flex g++ libc6:i386 libc6 libc6-dbg libdb-dev libexpat1-dev libpcap-dev libssl-dev python-pygoocanvas python-pygraphviz python-dev qt4-dev-tools | |
bake.py configure -e dce-linux-1.6 |
ACAccountStore *accountStore = [[ACAccountStore alloc] init]; | |
ACAccountType *facebookAccountType = [accountStore accountTypeWithAccountTypeIdentifier:ACAccountTypeIdentifierFacebook]; | |
id options = @{ | |
ACFacebookAppIdKey: @"403376439767549", | |
ACFacebookPermissionsKey: @[ @"email", @"read_friendlists"], | |
ACFacebookAudienceKey: ACFacebookAudienceFriends | |
}; | |
[accountStore requestAccessToAccountsWithType:facebookAccountType | |
options:options | |
completion:^(BOOL granted, NSError *error) { |
find . -name .DS_Store -print0 | xargs -0 git rm --ignore-unmatch | |
git config --global core.excludesfile ~/.gitignore | |
echo .DS_Store >> ~/.gitignore |
#import <Foundation/Foundation.h> | |
@interface Communicator : NSObject <NSStreamDelegate> { | |
@public | |
NSString *host; | |
int port; | |
} | |
- (void)setup; |