This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source "https://rubygems.org" | |
gem "octopress", "~>3" | |
gem "jekyll", "<3" | |
group :jekyll_plugins do | |
gem "octopress-asset-pipeline" | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******/ (function(modules) { // webpackBootstrap | |
/******/ // The module cache | |
/******/ var installedModules = {}; | |
/******/ // The require function | |
/******/ function __webpack_require__(moduleId) { | |
/******/ // Check if module is in cache | |
/******/ if(installedModules[moduleId]) | |
/******/ return installedModules[moduleId].exports; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******/ (function(modules) { // webpackBootstrap | |
/******/ // The module cache | |
/******/ var installedModules = {}; | |
/******/ // The require function | |
/******/ function __webpack_require__(moduleId) { | |
/******/ // Check if module is in cache | |
/******/ if(installedModules[moduleId]) | |
/******/ return installedModules[moduleId].exports; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set-option -g default-shell /bin/zsh | |
# https://github.com/ChrisJohnsen/tmux-MacOSX-pasteboard | |
# http://brentvatne.github.com/tmux-copy-paste/ | |
# this next command takes the current buffer and puts it on the OS clipboard | |
#bind Y run "tmux save-buffer - | reattach-to-user-namespace pbcopy" | |
# | |
# I don't understand why the next would be useful | |
# bind P run "tmux paste-buffer" | |
bind y copy-mode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Kill stuff | |
pgr() { | |
for x in rake spring rails ruby-debug phantomjs zeus passenger guard resque "node server.js"; do | |
pgrep -fl $x; | |
done | |
} | |
pgk() { | |
for x in rake spring rails ruby-debug phantomjs zeus passenger guard resque "node server.js"; do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<code_scheme name="RailsOnMaui Code Style"> | |
<option name="OTHER_INDENT_OPTIONS"> | |
<value> | |
<option name="INDENT_SIZE" value="2" /> | |
<option name="CONTINUATION_INDENT_SIZE" value="4" /> | |
<option name="TAB_SIZE" value="2" /> | |
<option name="USE_TAB_CHARACTER" value="false" /> | |
<option name="SMART_TABS" value="false" /> | |
<option name="LABEL_INDENT_SIZE" value="0" /> | |
<option name="LABEL_INDENT_ABSOLUTE" value="false" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ESLint documentation can be found at http://eslint.org/docs/ | |
# find . -path ./node_modules -prune -o -name "*.js" -o -name "*.jsx" -exec eslint {} \; | |
parser: "babel-eslint" | |
plugins: ["react"] | |
ecmaFeatures: | |
jsx: true | |
env: | |
browser: true | |
node: true | |
amd: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<inspections version="1.0"> | |
<option name="myName" value="Inspection RailsOnMaui Default" /> | |
<option name="myLocal" value="true" /> | |
<inspection_tool class="Annotator" enabled="false" level="ERROR" enabled_by_default="false" /> | |
<inspection_tool class="AssignmentToForLoopParameterJS" enabled="true" level="WARNING" enabled_by_default="true" /> | |
<inspection_tool class="BreakStatementJS" enabled="true" level="WARNING" enabled_by_default="true" /> | |
<inspection_tool class="BreakStatementWithLabelJS" enabled="true" level="WARNING" enabled_by_default="true" /> | |
<inspection_tool class="ChainedEqualityJS" enabled="true" level="WARNING" enabled_by_default="true" /> | |
<inspection_tool class="CheckDtdRefs" enabled="false" level="ERROR" enabled_by_default="false" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generic Utilities | |
using_port() { | |
ps -p $(lsof -i:$1 -Fp | cut -c 2-) | |
} | |
most_used() { | |
history | awk '{a[$4]++}END{for(i in a){print a[i] " " i}}' | sort -rn | head -20 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# lib/tasks/assets.rake | |
# The webpack task must run before assets:environment task. | |
# Otherwise Sprockets cannot find the files that webpack produces. | |
Rake::Task['assets:precompile'] | |
.clear_prerequisites | |
.enhance(['assets:compile_environment']) | |
namespace :assets do | |
# In this task, set prerequisites for the assets:precompile task | |
task :compile_environment => :webpack do |