# open C:\Users\michael.patterson\AppData\Local\slack
# go to the current version directory
# go to app.asar.unpacked/src/static
# add the following to ssb-interop.js:
document.addEventListener('DOMContentLoaded', function() { $.ajax({
# open C:\Users\michael.patterson\AppData\Local\slack
# go to the current version directory
# go to app.asar.unpacked/src/static
# add the following to ssb-interop.js:
document.addEventListener('DOMContentLoaded', function() { $.ajax({
| # This was noted, but did not seem to work | |
| # defaults write -g ApplePressAndHoldEnabled -bool false | |
| # This one seemed to work, and is supposed to be specific to phpstorm and rubymine | |
| defaults write com.jetbrains.intellij.ce ApplePressAndHoldEnabled -bool false |
| SMTP = 0.0.0.0 | |
| smtp_port = 1025 | |
| sendmail_from = yourname@localhost | |
| ; Find catchmail path with "which catchmail" | |
| sendmail_path = /usr/local/rvm/wrappers/ruby-1.9.3-p392@global/catchmail --ip 0.0.0.0 -f yourname@localhost | |
| ; Then run mailcatcher with: | |
| ; mailcatcher --ip=0.0.0.0 |
| # Alias 'g' to 'git' and provide autocomplete functionality. | |
| alias g='git' | |
| complete -o bashdefault -o default -o nospace -F _git g 2>/dev/null || complete -o default -o nospace -F _git g |
| #! /bin/bash | |
| apt-get install mysql-server libmysql-ruby libmysqlclient-dev |
| # Install Kohana Requirements | |
| sudo apt-get install php-pear | |
| sudo apt-get install php5-dev libcurl3-openssl-dev | |
| sudo pecl install pecl_http | |
| sudo apt-get install php5-mcrypt | |
| echo "===================" | |
| echo "Manual instructions" |
| # From: http://durdn.com/blog/2012/11/22/must-have-git-aliases-advanced-examples/ | |
| # color {{{ | |
| [color] | |
| branch = auto | |
| diff = auto | |
| status = auto | |
| [color "branch"] | |
| current = red reverse |
| # Painful enough on multiple occasions to keep on file! | |
| sudo rm /etc/localtime | |
| sudo ln -s /usr/share/zoneinfo/US/Eastern /etc/localtime |
| function rails(){ | |
| bundle exec spring rails "$@" | |
| } | |
| function rake(){ | |
| bundle exec spring rake "$@" | |
| } | |
| function rspec(){ | |
| bundle exec spring rspec "$@" |
| mkdir phantomjs | |
| cd phantomjs | |
| wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.7-linux-x86_64.tar.bz2 | |
| bunzip2 phantomjs-1.9.7-linux-x86_64.tar.bz2 | |
| tar -xf phantomjs-1.9.7-linux-x86_64.tar | |
| mv phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/bin/ | |
| sudo mv phantomjs-1.9.7-linux-x86_64/bin/phantomjs /usr/local/bin/ |