start new:
tmux
start new with session name:
tmux new -s myname
| 1. my+ 1001. se+ 2001. thedaily+ 3001. empire+ 4001. herb+ | |
| 2. +online 1002. test+ 2002. giant+ 3002. +cook 4002. +teen | |
| 3. the+ 1003. fish+ 2003. survey+ 3003. +deluxe 4003. affordable+ | |
| 4. +web 1004. hk+ 2004. +conference 3004. +crunch 4004. proto+ | |
| 5. +media 1005. florida+ 2005. twit+ 3005. michigan+ 4005. +ity | |
| 6. web+ 1006. fine+ 2006. pick+ 3006. cars+ 4006. myhome+ | |
| 7. +world 1007. loan+ 2007. +dvd 3007. +forest 4007. plastic+ | |
| 8. +net 1008. page+ 2008. cinema+ 3008. yacht+ 4008. +kc | |
| 9. go+ 1009. fox+ 2009. desi+ 3009. +wallet 4009. +foot | |
| 10. +group 1010. +gift 2010. act+ 3010. +contest 4010. +sup |
| // A small SSH daemon providing bash sessions | |
| // | |
| // Server: | |
| // cd my/new/dir/ | |
| // #generate server keypair | |
| // ssh-keygen -t rsa | |
| // go get -v . | |
| // go run sshd.go | |
| // | |
| // Client: |
| #!/bin/bash | |
| IPT="/sbin/iptables" | |
| # Server IP | |
| SERVER_IP="$(ip addr show eth0 | grep 'inet ' | cut -f2 | awk '{ print $2}')" | |
| # Your DNS servers you use: cat /etc/resolv.conf | |
| DNS_SERVER="8.8.4.4 8.8.8.8" | |
| # Allow connections to this package servers |
| // Just before switching jobs: | |
| // Add one of these. | |
| // Preferably into the same commit where you do a large merge. | |
| // | |
| // This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
| // and then it quickly escalated into more and more evil suggestions. | |
| // I've tried to capture interesting suggestions here. | |
| // | |
| // Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
| // @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <!-- this viewport meta tag configures the mobile device viewport behavior --> | |
| <meta name="viewport" content="height=device-height, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" /> | |
| <!-- this meta tag enables the web site to become a mobile web app (iDevices). See also: navigator.standalone --> | |
| <meta name="mobile-web-app-capable" content="yes" /> |
#Stay Standalone
A short script to prevent internal links to a "webapp" added to iPhone home screen to open in Safari instead of navigating internally.
| #!/bin/bash -e | |
| ## Put your sane-detected device name here. | |
| #DEVICE="snapscan" | |
| ## For network scanners use | |
| #DEVICE="net:sane.example.org:snapscan" | |
| DEVICE='brother4:net1;dev0' | |
| ## See scanimage --device $(DEVICE) --help | |
| SOURCES[0]="FlatBed" |