This file contains hidden or 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
java -XX:+PrintFlagsFinal |
This file contains hidden or 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
${:import(org.slf4j.Logger, org.slf4j.LoggerFactory)} | |
private static final Logger log = LoggerFactory.getLogger(${enclosing_type}.class); |
This file contains hidden or 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
# config/initializers/devise.rb | |
require 'devise/models/remote_authenticatable' | |
require 'remote_auth_strategy' | |
Devise.setup do |config| | |
# all the other shenanigans... | |
config.warden do |manager| | |
manager.intercept_401 = false | |
manager.default_strategies(:scope => :user).unshift :remote |
This file contains hidden or 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 parse_git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ \(\1\)/' | |
} | |
function cli { | |
local BLUE="\[\033[0;34m\]" |
NewerOlder