Skip to content

Instantly share code, notes, and snippets.

View mefellows's full-sized avatar

Matt Fellows mefellows

View GitHub Profile
@mefellows
mefellows / gist:6088915
Created July 26, 2013 13:39
My VIM Preferences (~/.vimrc)
set nocompatible
set nowrap " don't wrap lines
set tabstop=4 " a tab is four spaces
set backspace=indent,eol,start
" allow backspacing over everything in insert mode
set autoindent " always set autoindenting on
set paste " Prepare for paste
set copyindent " copy the previous indentation on autoindenting
set number " always show line numbers
set shiftwidth=4 " number of spaces to use for autoindenting
@mefellows
mefellows / sublime-preferences
Created July 26, 2013 13:42
My Sublime Preferences file. Kudos to http://ryantvenge.com/2013/07/sublime-text-preferences-file/ where this originated.
{
// Reduces red-eye (tip: red bull may undo this)
"font_size": 18.0,
// Love Vim < love Sublime
"ignored_packages":
[
"Vintage"
],
@mefellows
mefellows / .gitignore
Created August 18, 2013 06:23
My global .gitignore settings
# Sass
.sass-cache
# Mac
.DS_Store
# Tmp files
*.swp
*~
tmp
@mefellows
mefellows / rubymine-eclipse-dvorak
Last active May 10, 2016 17:40
Rubymine Eclipse-like Keymap for Dvorak
<keymap version="1" name="Dvorak - Eclipse" parent="Eclipse (Mac OS X)">
<action id="Back">
<mouse-shortcut keystroke="button4" />
</action>
<action id="CloseAllEditors">
<keyboard-shortcut first-keystroke="shift meta W" />
<keyboard-shortcut first-keystroke="shift control meta W" />
</action>
<action id="CommentByBlockComment" />
<action id="CommentByLineComment">
@mefellows
mefellows / scala-travis-ci-build-errors
Last active August 29, 2015 14:04
Scala Travis CI Bulid Failures
Log
## Can’t follow (30x) redirects
http://stackoverflow.com/questions/18208224/force-sbt-to-follow-redirects-for-an-explicit-github-releases-url
## Build to watcch
https://travis-ci.org/mefellows/respite/builds/31590813
@mefellows
mefellows / scala-travis-ci-bintray-yml
Last active August 29, 2015 14:04
Scala - Travis CI Plugins Sample plugins.sbt File
language: scala
scala:
- 2.10.3
jdk:
- oraclejdk8
- oraclejdk7
- openjdk7
env:
global:
- secure: glhEB9krKsLbmcoQ5l6uDPGX+WWYThNwK24eUFkqutnum2avk98Z3e5sXtldDR386E1GSaDZYzWE8rv0AF9Xdqz4MvnZ/ZK11DtUfvWt9Vrd/NhsV081Mks3iJsyq9rqxk0byazUCuosuCnRTr4jzSE5LrGp2w7Fe1C/yKETYTc=
@mefellows
mefellows / travis-ci-encrypt-creds
Created August 6, 2014 13:25
Travis CI - Encrypt Credentials Example
travis encrypt BINTRAY_API_KEY=SOMEAPIKEYh3h3h3h3h3h3hmyusername --add
travis encrypt BINTRAY_USER="mybintrayusername" --add
travis encrypt SONATYPE_USER="mynexususername" --add
travis encrypt SONATYPE_PASS="mynexuspass" --add
travis encrypt COVERALLS_REPO_TOKEN=myapitokenmd5hash --add
@mefellows
mefellows / travis-ci-setup-example
Created August 6, 2014 13:26
Travis CI Setup Example
gem install travis
travis login
@mefellows
mefellows / scala-travis-ci-sonatype-yml
Last active October 16, 2015 21:51
Scala - Travis CI Publish Sonatype YAML Sample
language: scala
scala:
- 2.10.4
jdk:
- oraclejdk8
- oraclejdk7
services: mongodb
script:
- sbt scoverage:test
- sbt coveralls
@mefellows
mefellows / scala-travis-ci-plugins.sbt
Created August 6, 2014 13:30
Scala - Travis CI Plugins Sample plugins.sbt File
resolvers += Resolver.url(
"bintray-sbt-plugin-releases",
url("http://dl.bintray.com/content/sbt/sbt-plugin-releases"))(
Resolver.ivyStylePatterns)
addSbtPlugin("me.lessis" % "bintray-sbt" % "0.1.1")
resolvers += Classpaths.sbtPluginReleases
resolvers += Classpaths.typesafeReleases