I hereby claim:
- I am farhany on github.
- I am farhany (https://keybase.io/farhany) on keybase.
- I have a public key whose fingerprint is 073A 2F2A 74EF E043 EF18 88B8 089C 50BB 6283 5215
To claim this, I am signing this object:
| alias startvm="VBoxManage startvm --type headless " | |
| alias listrunningvms="VBoxManage list runningvms" | |
| alias stopvm='function _stopvm(){ VBoxManage controlvm $1 acpipowerbutton; }; _stopvm' |
I hereby claim:
To claim this, I am signing this object:
hdiutil attach /Applications/Install\ macOS\ Sierra\ Public\ Beta.app/Contents/SharedSupport/InstallESD.dmg -noverify -nobrowse -mountpoint /Volumes/install_apphdiutil create -o /tmp/Sierra.cdr -size 7316m -layout SPUD -fs HFS+Jhdiutil attach /tmp/Sierra.cdr.dmg -noverify -nobrowse -mountpoint /Volumes/install_buildasr restore -source /Volumes/install_app/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -eraserm /Volumes/OS\ X\ Base\ System/System/Installation/Packagescp -rp /Volumes/install_app/Packages /Volumes/OS\ X\ Base\ System/System/Installation/cp -rp /Volumes/install_app/BaseSystem.chunklist /Volumes/OS\ X\ Base\ System/BaseSystem.chunklistJon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
| brew cask install osxfuse | |
| brew install sshfs | |
| sudo sshfs -o allow_other,defer_permissions,IdentityFile=~/.ssh/id_rsa user@host:/remotefolder/ /localfolder | |
| mount | |
| umount user@host:/remotefolder/ | |
| pgrep -lf sshfs | |
| kill -9 <pid_of_sshfs_process> | |
| sudo umount -f <mounted_dir> | |
| # Source: https://susanqq.github.io/jekyll/pixyll/2017/09/05/remotefiles/ |
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "net/http" | |
| "os" | |
| ) | |
| func main() { |
| func FavIcon(w http.ResponseWriter, r *http.Request) { | |
| StaticBox := rice.MustFindBox("static") | |
| faviconContent, _ := StaticBox.HTTPBox().Open(r.URL.Path) | |
| http.ServeContent(w, r, r.URL.Path, time.Now(), faviconContent) | |
| } |
| brew install rclone | |
| brew install fzf | |
| brew install fasd | |
| brew install sshfs |
| # https://superuser.com/questions/665030/is-it-possible-to-format-ps-rss-memory-output-to-be-more-human-friendly | |
| # credit to https://superuser.com/users/261502/pono who write this script | |
| # get terminal width | |
| WIDTH=`tput cols` | |
| # pipe stdin to awk | |
| cat | \ | |
| awk '\ | |
| BEGIN { | |
| # set output format |