Skip to content

Instantly share code, notes, and snippets.

View Swelly's full-sized avatar
🐋

Swelly Swelly

🐋
View GitHub Profile
Verifying that "wesley.id" is my Blockstack ID. https://onename.com/wesley
@Swelly
Swelly / FlactoMac
Created April 8, 2014 21:19
Bash script to convert .flac files to .mp3
(for FILE in *.flac ; do ffmpeg -i "$FILE" -f mp3 -ab 192000 "`basename "$FILE" .flac`.mp3" || break; done)
# ---------------------
# Tab improvements
# ---------------------
bind 'set completion-ignore-case on'
bind 'set show-all-if-ambiguous on'
bind 'TAB: menu-complete'
# ---------------------
# History
@Swelly
Swelly / Gemfile dev_test
Created September 26, 2013 01:26
Omniauth callback with Twitter
group :development, :test do
gem 'rspec'
gem 'factory_girl_rails'
gem 'pry-rails' # Causes rails console to open pry
# https://github.com/rweng/pry-rails
gem 'pry-debugger' # Adds step, next, finish, and continue commands and breakpoints
# https://github.com/nixme/pry-debugger
gem 'pry-stack_explorer' # Navigate the call-stack
# https://github.com/pry/pry-stack_explorer
gem 'annotate' # Annotate all your models, tests, fixtures, and factories
@Swelly
Swelly / HTML Scaffold
Last active December 21, 2015 02:18
HTML scaffold for JS
<!DOCTYPE html>
<html>
<head>
<title>Title Here</title>
<link rel="stylesheet" type="text/css" href="CSS Here">
</head>
<body>
<div id = "main">