You need to have Xcode installed to proceed.
xcode-select --install
sudo xcodebuild -license accept| ## 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 |
| var section = document.querySelector('.vs-section') | |
| var smooth = new Smooth({ | |
| native: true, | |
| section: section, | |
| ease: 0.1, | |
| callback: function(current) { | |
| console.log(current); | |
| } | |
| }); |
You need to have Xcode installed to proceed.
xcode-select --install
sudo xcodebuild -license accept| 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" |
| #!/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 |
| 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 |
| <?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 | |
| * | |
| */ |
| #!/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 |
| #!/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 |