Zig is a general-purpose programming language and toolchain for maintaining robust, optimal and reusable software.
Robust Behavior is correct even for edge cases such as out of memory.
Optimal
// Available variables: | |
// - Machine | |
// - interpret | |
// - assign | |
// - send | |
// - sendParent | |
// - spawn | |
// - raise | |
// - actions |
A simple example of HTML and CSS featuring Github's mascot, The Octocat!
A Pen by Eric Marden on CodePen.
I hereby claim:
To claim this, I am signing this object:
# MAC manipulators | |
alias random_mac='sudo ifconfig en0 ether `openssl rand -hex 6 | sed "s/\(..\)/\1:/g; s/.$//"`' | |
alias restore_mac='sudo ifconfig en0 ether YOUR_ORIGINAL_MAC_ADDRESS_GOES_HERE' |
# SVN | |
# set your editor | |
export SVN_EDITOR="/usr/bin/vi" | |
# add everything that needs to be added based on results of svn status | |
alias svnadd="svn st | grep \? | awk '''{print \"svn add \"$2 }''' | bash" | |
# show svn status, sans the noise from externals | |
alias svnst='svn st --ignore-externals' |
[alias]
ci = commit
co = checkout
st = status
info = status
svn-diff = !git-svn-diff
l = log --graph --pretty=format':%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset'
lol = log --pretty=oneline --abbrev-commit --graph --decorate
unstage = reset HEAD
!# /usr/bin/env sh | |
du -s ./* | sort -n| cut -f 2-| xargs du -sh {} |
This quick start guide is geared towards installing PHPUnit on OSX in order to run the WordPress unit tests. It uses homebrew to install PHP using homebrew-php. You can likely skip this step if you've already got php and pear installed properly.
If you use MAMP, then try these instructions to use MAMP's php and pear to install PHPUnit.
ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)