I hereby claim:
- I am willywos on github.
- I am willywos (https://keybase.io/willywos) on keybase.
- I have a public key ASCEXeJeQ2GaO_lozbqOopwo7HdDt_GmbftRxcFN-fUgVQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
########################### | |
# Configuration | |
########################### | |
# use UTF8 | |
set -g utf8 | |
set-window-option -g utf8 on | |
# set shell | |
set -g default-shell /bin/zsh |
#!/bin/sh | |
SESSION_NAME="%TMUX_SESSION_NAME%" | |
cd %CURRENT_DIRECTORY% | |
export TERM=screen-256color-bce tmux | |
tmux has-session -t ${SESSION_NAME} | |
if [ $? != 0 ] |
FROM node:6.4.0 | |
RUN apt-get update -y | |
RUN apt-get install -y imagemagick libmagickcore-dev libmagickwand-dev && apt-get install -y webp libwebp-dev | |
COPY package.json /src/package.json | |
RUN cd /src; npm install | |
COPY . /src | |
EXPOSE 80 | |
CMD["npm", "start"] |
{ | |
"family": "dogservice-api-task-def", | |
"containerDefinitions": [ | |
{ | |
"image": "dogservice.ecr.us-east-1.amazonaws.com/dogservice-api:%IMAGE_VERSION%", | |
"name": "dogservice-api-app", | |
"cpu": 10, | |
"memory": 300, | |
"essential": true, | |
"portMappings": [ |
#Variables | |
REG_ADDRESS="dogservice.ecr.us-east-1.amazonaws.com" | |
REPO="dogservice-api" | |
# Build parameter in Jenkins called DockerTag. Users will enter v_1 or v_2. | |
IMAGE_VERSION=${DockerTag} | |
WORKSPACE_PATH="/var/lib/jenkins/jobs/dogservice-api/workspace" | |
SERVICE_NAME="dogservice-api-app" | |
SERVICE_FAMILY="dogservice-api-task-def" |
$the_cow = <<EOC; | |
$thoughts ,+*^^*+___+++_ | |
$thoughts ,*^^^^ ) | |
$thoughts _+* ^**+_ | |
$thoughts +^ _ _++*+_+++_, ) | |
_+^^*+_ ( ,+*^ ^ \\+_ ) | |
{ ) ( ,( ,_+--+--, ^) ^\\ | |
{ (\@) } f ,( ,+-^ __*_*_ ^^\\_ ^\\ ) | |
{:;-/ (_+*-+^^^^^+*+*<_ _++_)_ ) ) / | |
( / ( ( ,___ ^*+_+* ) < < \\ |
########################### | |
# Configuration | |
########################### | |
# use UTF8 | |
set -g utf8 | |
set-window-option -g utf8 on | |
# use 256 term for pretty colors | |
set -g default-terminal "xterm-256color" |
<html> | |
<head> | |
<title>dug.js - Retriever dropdown</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap-theme.min.css"> | |
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css"> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script> |
# config/initializers/database_limits.rb | |
module ActiveRecord | |
module ConnectionAdapters | |
module DatabaseLimits | |
def index_name_length | |
#this is a monkey patch to get the ms sql db schema to work in sqlite. | |
#errors with the names in sql server being to long for sqlite cause of | |
#of the original 64 character limit. Switch it to 84 to allow the longer | |
#names. | |
84 |