I hereby claim:
- I am xbeta on github.
- I am samxiao (https://keybase.io/samxiao) on keybase.
- I have a public key whose fingerprint is 8B7E E725 CAB8 A94B 2141 96FB 0F63 1E71 7A82 FE4C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/sh | |
PORT=4200 | |
sudo launchctl unload /Library/LaunchDaemons/com.crashplan.engine.plist | |
sudo sed -i '' "s/\(<servicePort>\)[^<]*/\1$PORT/" /Library/Application\ Support/CrashPlan/conf/my.service.xml | |
sed -i '' "s/#*\(servicePort=\).*/\1$PORT/" /Applications/CrashPlan.app/Contents/Resources/Java/conf/ui.properties | |
defaults write /Applications/CrashPlan.app/Contents/Resources/CrashPlan\ menu\ bar.app/Contents/Info CPPort $PORT | |
sudo launchctl load /Library/LaunchDaemons/com.crashplan.engine.plist |
$ pssh --inline -h address.txt -p 5 -t 30 -x "-T -O StrictHostKeyChecking=no" -I < tasks.sh | |
-p : number of max concurrent connections | |
-t : timeout limit | |
-h : host files | |
-x : extra SSH binding arguments | |
--inline : display stdout and stderr as each host completes | |
-I : read input and send to each ssh process, used with command scripts |
# install tmux 1.8+ | |
# on OSX, use iTerm2 and follow this guide: http://www.railsonmaui.com/blog/2014/03/11/rocking-with-tmux-tmuxinator-and-iterm2-for-rails-development/ | |
# | |
ssh login@hostname -t 'tmux -CC attach || tmux -CC' | |
# Fixing clipboard on OSX | |
brew install reattach-to-user-namespace --wrap-pbcopy-and-pbpaste | |
# Boost Productivity with tmux and iTerm2 workspace | |
# http://www.huyng.com/posts/productivity-boost-with-tmux-iterm2-workspaces/ |
http://stackoverflow.com/questions/24380159/corebluetooth-and-wifi-interference
http://lists.apple.com/archives/bluetooth-dev/2013/Aug/msg00023.html
This is a well known issue, and it has a solution that is confirmed to work for the Mac side.
sudo defaults write /Library/Preferences/com.apple.airport.bt.plist bluetoothCoexMgmt Hybrid
After you run this script, the issue will go away and BT connections will remain stable.
Sep 20th 2014 | From the print edition
SEVEN years ago Joe Jones (not his real name) left his job with a big NASDAQ-listed company to strike out on his own. He was sick of corporate life and he wanted to test his inner mettle. But being an entrepreneur proved far harder than he had imagined: a succession of potholes, speed bumps and dead-ends rather than a high road to prosperity. He found he had “lost his levers of control”: all the things his former employer had provided for him, from administrative support to a social network. He had to learn how to do all sorts of things he had not thought about before. The responsibility of meeting his payroll was “overwhelming”. The worry about every detail of his life—could he afford to keep his car, or pay the mortgage on his house?—was all-consuming. He took to drinking. Mr Jones eventually joined Alcoholics Anonymous and turned h
original : https://www.aptible.com/blog/y_combinator.html
18 SEPTEMBER 2014 Having just come through Y Combinator, we frequently get asked whether it was worth it. The answer is absolutely yes, no hesitation. While the experience is still fresh, I want to encourage you to apply for the next cycle and give some advice for getting in.
package main | |
import ( | |
"time" | |
"math/rand" | |
"fmt" | |
) | |
func randInt(min int, max int) int { | |
return min + rand.Intn(max-min) | |
} |
package main | |
import "fmt" | |
type Integer16 int16 | |
type Integer32 int32 | |
type Calculator interface { | |
Calculate() | |
} |