Skip to content

Instantly share code, notes, and snippets.

from alpine:edge
env DOWNLOAD_DIR=/usr/local/build
run mkdir -p $DOWNLOAD_DIR
workdir $DOWNLOAD_DIR
copy ./add_alpine.patch ./
run echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
run apk update \
&& apk add bash musl-dev openssl cmake make llvm clang clang-dev gettext-dev \
python util-linux-dev icu-dev lldb-dev@testing libunwind-dev \
lttng-ust-dev@testing binutils gcc git build-base \
"dein Scripts-----------------------------
" Required:
set runtimepath^=/home/thinktainer/.config/nvim/plugins/dein.vim/repos/github.com/Shougo/dein.vim
" Required:
if dein#load_state(expand('/home/thinktainer/.config/nvim/plugins/dein.vim'))
call dein#begin(expand('/home/thinktainer/.config/nvim/plugins/dein.vim'))
" Let dein manage dein
" Required:
SET TRANSACTION ISOLATION LEVEL REPEATABLE READ;
START TRANSACTION
WITH CONSISTENT SNAPSHOT, READ WRITE;
CREATE TEMPORARY TABLE `ppl_years` (
`id` VARCHAR(255),
`school_id` CHAR(36),
`old` INT(2),
`new` INT(2),
`deleted_at_old` DATETIME,
@thinktainer
thinktainer / .travis.yml
Created July 21, 2016 09:57 — forked from BretFisher/.travis.yml
Travis-CI Docker Image Build and Push to AWS ECR
sudo: required #is required to use docker service in travis
language: php #can be any language, just php for example
services:
- docker # required, but travis uses older version of docker :(
install:
- echo "install nothing!" # put your normal pre-testing installs here
"dein Scripts-----------------------------
" Required:
set runtimepath^=/home/thinktainer/.config/nvim/plugins/dein.vim/repos/github.com/Shougo/dein.vim
" Required:
call dein#begin(expand('/home/thinktainer/.config/nvim/plugins/dein.vim'))
" Let dein manage dein
" Required:
call dein#add('Shougo/dein.vim')
#!/bin/bash
function prgreen {
echo -n "|"
echo -ne "\033[32m$1"
echo -e "\033[0m|"
}
function prred {
echo -n "|"
echo -ne "\033[31m$1"
@thinktainer
thinktainer / connect.sh
Last active March 17, 2016 16:35
kvm tap networking
#!/bin/bash
xfreerdp "/w:3200" "/h:1800" "/f" "/u:Administrator" "/p:PASSWORD" "/clipboard" "/v:172.20.109.230"
find ./_posts -type f -print0 | xargs -0 grep -Phzo '(?s)(^---\n)layout.*?(?=(^---$))' | sed -z -e 's/\n\n/\n/g' | python2 -c "
import yaml
import sys
for doc in yaml.load_all(sys.stdin):
print doc['categories']
"
find ./_posts -type f -print0 | xargs -0 grep -Phzo '(?s)(?<=(---))\nlayout.*?(?=(^---$))' | sed -z -e 's/\n\n/\n/g'
layout title date comments categories
post
Single Page Apps for Admin Backends - Who needs them?
2016-01-19 10:06:53 +0000
true

No app is TodoMVC