layout | title | date | comments | categories |
---|---|---|---|---|
post |
Single Page Apps for Admin Backends - Who needs them? |
2016-01-19 10:06:53 +0000 |
true |
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
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 \ |
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
"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: |
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
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, |
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
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 |
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
"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') |
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
#!/bin/bash | |
function prgreen { | |
echo -n "|" | |
echo -ne "\033[32m$1" | |
echo -e "\033[0m|" | |
} | |
function prred { | |
echo -n "|" | |
echo -ne "\033[31m$1" |
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
#!/bin/bash | |
xfreerdp "/w:3200" "/h:1800" "/f" "/u:Administrator" "/p:PASSWORD" "/clipboard" "/v:172.20.109.230" |
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
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'] | |
" |
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
find ./_posts -type f -print0 | xargs -0 grep -Phzo '(?s)(?<=(---))\nlayout.*?(?=(^---$))' | sed -z -e 's/\n\n/\n/g' |