Skip to content

Instantly share code, notes, and snippets.

View andrielfn's full-sized avatar
🏠
Working from home

Andriel Nuernberg andrielfn

🏠
Working from home
View GitHub Profile
@andrielfn
andrielfn / sublime-text.json
Last active August 29, 2015 13:58
Sublime Text configuration.
{
"auto_complete": true,
"auto_complete_selector": "source - comment",
"auto_indent": true,
"bold_folder_labels": true,
"detect_indentation": true,
"draw_white_space": "all",
"enable_tab_scrolling": false,
"ensure_newline_at_eof_on_save": true,
"folder_exclude_patterns":
@andrielfn
andrielfn / pack.sh
Created January 15, 2014 03:30
Create a Ruby deb package from compiled source.
fpm -s dir -t deb -n ruby21 -v 2.1 --description \
"Ruby 2.1 stable package" -C /tmp/ruby20 \
-p ruby2.1-x64.deb -d "libstdc++6 (>= 4.4.3)" \
-d "libc6 (>= 2.6)" -d "libffi5 (>= 3.0.4)" -d "libgdbm3 (>= 1.8.3)" \
-d "libncurses5 (>= 5.7)" -d "libreadline6 (>= 6.1)" \
-d "libssl1.0.0 (>= 1.0.0)" -d "zlib1g (>= 1:1.2.2)" \
-d "libyaml-0-2 (>= 0.1.3)" \
usr/bin usr/lib usr/share/man usr/include
@andrielfn
andrielfn / Remoji.py
Last active November 10, 2016 11:01
Random Emoji for Sublime Text 3.
import sublime
import sublime_plugin
from random import choice
class RemojiCommand(sublime_plugin.TextCommand):
def run(self, edit):
emojis = [
'bowtie',
'smile',
'laughing',