You need to have Xcode installed to proceed.
xcode-select --install
sudo xcodebuild -license accept
#!/usr/bin/env python | |
# | |
# Very basic example of using Python and IMAP to iterate over emails in a | |
# gmail folder/label. This code is released into the public domain. | |
# | |
# RKI July 2013 | |
# http://www.voidynullness.net/blog/2013/07/25/gmail-email-with-python-via-imap/ | |
# | |
import sys | |
import imaplib |
#!/usr/bin/env python | |
# | |
# Very simple Python script to dump all emails in an IMAP folder to files. | |
# This code is released into the public domain. | |
# | |
# RKI Nov 2013 | |
# | |
import sys | |
import imaplib | |
import getpass |
<?php | |
/** | |
* TinyMCE v4 Config | |
* | |
* A custom WordPress TinyMCE v4 configuration with styles (now called "Format") drop down menu with submenus. | |
* | |
* style_formats: http://www.tinymce.com/wiki.php/Configuration:style_formats | |
* | |
*/ |
First, let's create the $ subl command | |
sudo ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl | |
Another option is to use duti (http://duti.org / https://github.com/moretension/duti). | |
Run brew install duti, save a file like this as ~/.duti: | |
com.sublimetext.3 public.plain-text all | |
com.sublimetext.3 public.unix-executable all |
#!/usr/bin/bash | |
# Convert *.gif into *.mp4, skip if already exists. | |
outdir="." | |
for path in *.gif; do | |
out="${outdir}/${path/.gif/}.mp4" | |
[[ -f "$out" ]] && continue | |
ffmpeg -f gif -i "${path}" "${out}" | |
done |
development: | |
store: example.myshopify.com | |
password: add-password-in-config | |
theme_id: "live" | |
bucket_size: 40 | |
refill_rate: 2 | |
ignore_files: | |
- "*.swp" | |
- "*~" | |
- "config/settings_data.json" |
You need to have Xcode installed to proceed.
xcode-select --install
sudo xcodebuild -license accept
var section = document.querySelector('.vs-section') | |
var smooth = new Smooth({ | |
native: true, | |
section: section, | |
ease: 0.1, | |
callback: function(current) { | |
console.log(current); | |
} | |
}); |
## update homebrew | |
$ brew update | |
## install duti | |
brew install duti | |
## sublimetext 3 default editor for plain text files | |
duti -s com.sublimetext.3 public.plain-text all | |
## sublimetext 3 default editor for executable scripts |