start new:
tmux
start new with session name:
tmux new -s myname
| NSArray* dayArray = [NSArray arrayWithObjects:@"Image One",@"Image Two",@"Image Three",nil]; | |
| for(NSString* day in dayArray) | |
| { | |
| for(int i=1;i<=2;i++) | |
| { | |
| UIImage* image = [UIImage imageNamed:[NSString stringWithFormat:@"%@%d.png",day,i]]; | |
| unsigned char* pixels = [image rgbaPixels]; | |
| double totalLuminance = 0.0; | |
| for(int p=0;p<image.size.width*image.size.height*4;p+=4) | |
| { |
| <!doctype html> | |
| <title>Site Maintenance</title> | |
| <style> | |
| body { text-align: center; padding: 150px; } | |
| h1 { font-size: 50px; } | |
| body { font: 20px Helvetica, sans-serif; color: #333; } | |
| article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
| a { color: #dc8100; text-decoration: none; } | |
| a:hover { color: #333; text-decoration: none; } | |
| </style> |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"