start new:
tmux
start new with session name:
tmux new -s myname
| /* | |
| As of version 1.1.2, Propane will load and execute the contents of | |
| ~Library/Application Support/Propane/unsupported/caveatPatchor.js | |
| immediately following the execution of its own enhancer.js file. | |
| You can use this mechanism to add your own customizations to Campfire | |
| in Propane. | |
| Below you'll find two customization examples. |
| 2139 ℹ INFORMATION SOURCE | |
| 23EB ⏫ BLACK UP-POINTING DOUBLE TRIANGLE | |
| 23EC ⏬ BLACK DOWN-POINTING DOUBLE TRIANGLE | |
| 23F0 ⏰ ALARM CLOCK | |
| 23F3 ⏳ HOURGLASS WITH FLOWING SAND | |
| 26C5 ⛅ SUN BEHIND CLOUD | |
| 26D4 ⛔ NO ENTRY | |
| 2705 ✅ WHITE HEAVY CHECK MARK | |
| 2753 ❓ BLACK QUESTION MARK ORNAMENT | |
| 2757 ❗ HEAVY EXCLAMATION MARK SYMBOL |
| ######################################### | |
| ### Install wget-ssl over ipkg's wget ### | |
| ######################################### | |
| $ ipkg install -verbose_wget libidn # To get ipk URL | |
| $ ipkg install -verbose_wget wget-ssl # To get ipk URL | |
| $ /usr/syno/bin/wget http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/libidn_1.25-1_i686.ipk | |
| $ /usr/syno/bin/wget http://ipkg.nslu2-linux.org/feeds/optware/syno-i686/cross/unstable/wget-ssl_1.12-2_i686.ipk | |
| $ ipkg install libidn_1.25-1_i686.ipk | |
| $ ipkg install wget-ssl_1.12-2_i686.ipk |
| brews = [] | |
| out = IO.popen("brew list", "r") do |io| | |
| brews = io.read.split "\n" | |
| end | |
| def parse(brew, brew_info) | |
| in_options = false | |
| print "brew reinstall -v #{brew} " | |
| brew_info.split("\n").each do |m| | |
| #puts m.inspect |
| #!/bin/bash | |
| # | |
| # crashplanFixup.sh for Macintosh OS X 10.9 (and probably earlier versions) | |
| # | |
| # This script will prevent CrashPlan from de-duplicating data on files greater than 1k. | |
| # Based on information from http://networkrockstar.ca/2013/09/speeding-up-crashplan-backups/ | |
| # | |
| # NOTE: Must be run with sudo! IE: $ sudo sh ./crashplanFixup | |
| # | |
| # v1.1 2014-03-13 by bill@wellingtonnet.net |
| # App onboarding flow | |
| en: Why tap photos when you can swipe to select! | |
| ru: Зачем тыкать по каждой фотографии? Достаточно провести по ним палцем! | |
| zh-TW: 簡單的滑動手指就能夠輕鬆的選擇照片! | |
| en: Give it a little shake to get back to your photo roll. | |
| ru: Встряхните свой телефон, что бы вернуться в фотогалерею. | |
| zh-TW: 搖一搖iPhone可以回到你的「相片膠卷」和「儲存的照片」 |
| UITableView convenience classes for resizing header and footer with autolayout. |
Magic words:
psql -U postgresSome interesting flags (to see all, use -h or --help depending on your psql version):
-E: will describe the underlaying queries of the \ commands (cool for learning!)-l: psql will list all databases and then exit (useful if the user you connect with doesn't has a default database, like at AWS RDS)| /// Observes a run loop to detect any stalling or blocking that occurs. | |
| /// | |
| /// This class is thread-safe. | |
| @interface GHRunLoopWatchdog : NSObject | |
| /// Initializes the receiver to watch the specified run loop, using a default | |
| /// stalling threshold. | |
| - (id)initWithRunLoop:(CFRunLoopRef)runLoop; | |
| /// Initializes the receiver to detect when the specified run loop blocks for |