Skip to content

Instantly share code, notes, and snippets.

View jokefaker's full-sized avatar

jokefaker

  • www.creams.io
  • Hangzhou China
View GitHub Profile
@bumaociyuan
bumaociyuan / pre-commit.sh
Created June 20, 2016 07:38
swiftlint 的pre-commit 脚本, 自动在commit之前格式化代码
#!/bin/bash
# 这是一个pre-commit 的脚本
# Run SwiftLint
START_DATE=$(date +"%s")
echo $START_DATE
SWIFT_LINT=/usr/local/bin/swiftlint
@bumaociyuan
bumaociyuan / gist.md
Last active June 4, 2017 11:31
Stuck on `Authenticating with the App Store...`
@jadaradix
jadaradix / yosemite-subl
Last active January 25, 2022 05:22
Fix Sublime's "subl" command on OS X Yosemite.
rm /usr/local/bin/subl;
sudo ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl;
@arunoda
arunoda / gist:7790979
Last active February 16, 2024 14:05
Installing SSHPass

Installing SSHPASS

SSHPass is a tiny utility, which allows you to provide the ssh password without using the prompt. This will very helpful for scripting. SSHPass is not good to use in multi-user environment. If you use SSHPass on your development machine, it don't do anything evil.

Installing on Ubuntu

apt-get install sshpass

Installing on OS X