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
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: example | |
namespace: default | |
data: | |
APPLICATION_HOST: example.com | |
LANG: en_US.UTF-8 | |
PIDFILE: /tmp/server.pid | |
PORT: "3000" |
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
# adds aliases and imports a / some module(s) to iex shell for liquidvoiting AUTH | |
# rename to .iex.exs and place in AUTH project root | |
# for dev environment, not production - add to / don't remove from your local gitignore | |
# <alias ... as> used to avoid referencing other module with name equivalent to alias | |
import Ecto.Query | |
alias LiquidVotingAuth.Application, as: App | |
alias LiquidVotingAuth.{ | |
Organizations, |
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
# adds aliases and imports a / some module(s) to iex shell for liquidvoiting API | |
# rename to .iex.exs and place in API project root | |
# for dev environment, not production - add to / don't remove from your local gitignore | |
# <alias ... as> used to avoid referencing other module with name equivalent to alias | |
import Ecto.Query | |
alias LiquidVoting.Application, as: App | |
alias LiquidVoting.{ | |
Delegations, |
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
# # Fixing key bindings for `irb` | |
# | |
# when your ruby comes from `brew`, `rbenv`, and arrow keys don't work in your `irb` | |
brew upgrade readline rbenv ruby-install # ensure we have the `readline` library, and a recent version of `ruby-install` which will link to it properly when building `ruby`. | |
rbenv install <your-favourite-ruby-version> # rebuild ruby. | |
# watch out for the message 'ruby-build: use readline from homebrew' in output from the command above, | |
# then, go get some coffee. | |
# ... |
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
class ApplicationController < ActionControllerBase | |
helper :do_something | |
def do_something | |
@from_do_something = params[:for_do_something] | |
end | |
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
import Stream from 'ember-cli-i18n/utils/stream'; | |
import t from 'ember-cli-i18n/utils/t'; | |
import Ember from 'ember'; | |
// tHelper without the container and application dependencies, sigh... | |
function tHelper(params /*, hash, options, env */) { | |
var path = params.shift(); | |
var stream = new Stream(function() { | |
return t(path, params); |
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
<snippet> | |
<content><![CDATA[ | |
binding.pry | |
]]></content> | |
<tabTrigger>bp</tabTrigger> | |
<scope>source.ruby</scope> | |
</snippet> |
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
-- | |
provider: twitter | |
uid: '15280529' | |
info: | |
nickname: penguinbusiness | |
name: Charlie Moseley | |
location: Bellevue, WA | |
image: http://a1.twimg.com/profile_images/281933747/kitamura_ava_normal.gif | |
description: Developer, Otaku, Geek. | |
urls: |
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
-- | |
provider: twitter | |
uid: '15280529' | |
info: | |
nickname: penguinbusiness | |
name: Charlie Moseley | |
location: Bellevue, WA | |
image: http://a1.twimg.com/profile_images/281933747/kitamura_ava_normal.gif | |
description: Developer, Otaku, Geek. | |
urls: |
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
pt-BR: | |
views: | |
admin: | |
home: | |
name: Home | |
pagination: | |
previous: "« Anterior" | |
next: "Próximo »" | |
truncate: "…" | |
misc: |
NewerOlder