start new:
tmux
start new with session name:
tmux new -s myname
| sudo lshw | sed -n '/*-memory/,/*-pci/p' | head -n -1 |
| AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager]; | |
| NSDictionary *params = @{ | |
| @"name": name, | |
| @"another_value": something_else | |
| }; | |
| NSString *urlString = @"http://postSomethingHere.com/"; | |
| [manager POST:urlString | |
| parameters:params | |
| constructingBodyWithBlock:^(id<AFMultipartFormData> formData) { | |
| } success:^(AFHTTPRequestOperation *operation, id responseObject) { |
| # The blog post that started it all: https://neocities.org/blog/the-fcc-is-now-rate-limited | |
| # | |
| # Current known FCC address ranges: | |
| # https://news.ycombinator.com/item?id=7716915 | |
| # | |
| # Confirm/locate FCC IP ranges with this: http://whois.arin.net/rest/net/NET-165-135-0-0-1/pft | |
| # | |
| # In your nginx.conf: | |
| location / { |
| (function(){ | |
| var aff = 'igotablog-20'; | |
| if (!document.getElementById('ASIN')) { | |
| alert('Can\'t find the product ID'); | |
| return; | |
| } | |
| var asin = document.getElementById('ASIN').value; | |
| prompt( | |
| 'Here is the link:', | |
| 'http://www.amzn.com/' + asin + '/?tag=' + aff); |
The download/install takes a while so start it first. When it finishes downloading you will still need to run it to complete installation.
Note: Make sure you install the XCode Command Line Tools after XCode is done installing. To do this go to Xcodes -> Preferences -> Downloads -> Command Line Tools -> Install. If you don't you might not be able to install brew packages (i.e. brew install wget will fail).*
| $ sudo adduser --system --no-create-home --disabled-login --disabled-password --group juggernaut | |
| $ sudo mv ~/juggernaut2-for-init.d-startup.sh /etc/init.d/juggernaut | |
| $ sudo chmod +x /etc/init.d/juggernaut | |
| $ sudo update-rc.d -f juggernaut defaults |