-
use
rails --database=postgresql myapp
to create app -
create postgres role that you want to use
-
in
.env
setPGUSER
andPGPASSWORD
env vars -
set up
database.yml
withoutusername
orpassword
for test and devel. -
use
foreman
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
package main | |
import ( | |
"fmt" | |
) | |
type Stack struct { | |
top *Element | |
size int | |
} |
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
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v1.4.12 (GNU/Linux) | |
mQINBFFQjx0BEADNCMt521/feo2454HbuK56Pz3dJFnFQym0sdKnSvJ+y0+nNxGi | |
xs4jw/n4Nm8kIaxs+mTGCuVcDPQ2gqWETv8f9Q9uoSF6OXXTdy2A2YHIIRpH0+nC | |
aXnkMl19mp9fgBP5L6oYjLYLWc6x2wtmr4lSMAiFHZRkhUSX2213WWIyuHHHIYaR | |
6UIabsUbObSPcPjMjUbJ5oGq3e73HFuC+BumKaNBgJCfkemFBV6iQAd3hoQTWokf | |
zrlmwx2q+gDwReIsOCqQ5uzd37VUyrC8N5jcHIIzrtpKXxgWkhXkZHfotTpvG+Bx | |
BiZWZ3kK5S+hHLMYW4bpnXJFEv2qiASYsXSMsH2NN/TUWaPurj+mxwpFab2KIT1o | |
n72GN7BYTNqB1/VCGZCgHvclXmPbJRZTaIRPrMY2b/yCTH2YbUYnNuCnVchQSjpS |
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
Show hidden characters
{ | |
"auto_complete": false, | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"draw_white_space": "selection", | |
"ensure_newline_at_eof_on_save": true, | |
"font_face": "source code pro", | |
"font_size": 10, | |
"highlight_line": true, | |
"ignored_packages": | |
[ |
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
{ | |
"translate_tabs_to_spaces": true, | |
"tab_size": 2 | |
} |
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
/* Flatten das boostrap */ | |
.well, .navbar-inner, .popover, .btn, .tooltip, input, select, textarea, pre, .progress, .modal, .add-on, .alert, .table-bordered, .nav>.active>a, .dropdown-menu, .tooltip-inner, .badge, .label, .img-polaroid { | |
-moz-box-shadow: none !important; | |
-webkit-box-shadow: none !important; | |
box-shadow: none !important; | |
-webkit-border-radius: 0px !important; | |
-moz-border-radius: 0px !important; | |
border-radius: 0px !important; | |
border-collapse: collapse !important; | |
background-image: none !important; |
I hereby claim:
- I am jamesadney on github.
- I am jamesadney (https://keybase.io/jamesadney) on keybase.
- I have the public key with fingerprint 19BB E939 28D2 D7D8 14AA AB5B 563E 5E07 07A6 9C7A
To claim this, I am signing this object:
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
# Supports the default controls in the way I thought was logical. | |
# | |
# A is jump | |
# B is sneak | |
# X is drop | |
# Y is chat | |
# Scroll with the DPAD | |
# RT is left click | |
# LT is right click | |
# Left joystick is WASD |
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
# Fix XCTU on Ubuntu 14.04 amd64 | |
# | |
# I installed xctu in $HOME/.local | |
sudo apt-get install libswt-gtk-3-jni:i386 libswt-gtk-3-java:i386 | |
ln -s /usr/lib/jni/libswt-* ~/.swt/lib/linux/x86/ |
OlderNewer