start new:
tmux
start new with session name:
tmux new -s myname
| use std::collections::HashMap; | |
| use std::fmt; | |
| use std::io; | |
| use std::num::ParseFloatError; | |
| use std::rc::Rc; | |
| /* | |
| Types | |
| */ |
| // | |
| // Author: Jonathan Blow | |
| // Version: 1 | |
| // Date: 31 August, 2018 | |
| // | |
| // This code is released under the MIT license, which you can find at | |
| // | |
| // https://opensource.org/licenses/MIT | |
| // | |
| // |
| #include <iostream> | |
| #include <string> | |
| #include <vector> | |
| #include <algorithm> | |
| using namespace std; | |
| #define PI 3.14159265 | |
| struct vec2 { |
| #!/bin/bash | |
| #no PATH, no way to accidently run any programs | |
| PATH='' | |
| #useful variables | |
| term_height=0 | |
| term_width=0 | |
| term_scroll_height=0 | |
| status_line_row=0 |
| /* Include the sbrk function */ | |
| #include <unistd.h> | |
| int has_initialized = 0; | |
| void *managed_memory_start; | |
| void *last_valid_address; | |
| void malloc_init() { /* grab the last valid address from the OS*/ | |
| last_valid_address = sbrk(0); | |
| /* we don't have any memory to manage yet, so |
| #!/bin/bash | |
| ### BEGIN INIT INFO | |
| # Provides: autovpn | |
| # Required-Start: $local_fs $network | |
| # Required-Stop: $local_fs | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: autovpn | |
| # Description: Automatically reconnects VPN if disconnected | |
| ### END INIT INFO |
| $ cd /usr/local | |
| $ git checkout b64d9b9c431642a7dd8d85c8de5a530f2c79d924 Library/Formula/node.rb | |
| $ brew unlink node | |
| $ brew install node | |
| $ npm install -g npm@latest |
| i386 : iPhone Simulator | |
| x86_64 : iPhone Simulator | |
| arm64 : iPhone Simulator | |
| iPhone1,1 : iPhone | |
| iPhone1,2 : iPhone 3G | |
| iPhone2,1 : iPhone 3GS | |
| iPhone3,1 : iPhone 4 | |
| iPhone3,2 : iPhone 4 GSM Rev A | |
| iPhone3,3 : iPhone 4 CDMA | |
| iPhone4,1 : iPhone 4S |