This file contains hidden or 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
| CREATE ROLE kalibro LOGIN ENCRYPTED PASSWORD 'kalibro' VALID UNTIL 'infinity'; | |
| CREATE DATABASE kalibro WITH ENCODING='UTF8' OWNER=kalibro CONNECTION LIMIT=-1; | |
| CREATE DATABASE kalibro_test WITH ENCODING='UTF8' OWNER=kalibro CONNECTION LIMIT=-1; |
This file contains hidden or 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 | |
| APT_GET_INSTALL=apt-get install -y --no-install-recommends | |
| DATABASE_DEFAULT_USER='kalibro' | |
| DATABASE_DEFAULT_PASSWORD='kalibro' | |
| if [ -n "${DATABASE_URL}" ]; then | |
| echo "Using DATABASE_URL '${DATABASE_URL}'. Not installing postgres" | |
| if [ -z "$DATABASE_TYPE" ]; then |
This file contains hidden or 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
| lcs() { | |
| path=$1 | |
| shift | |
| cd "$path" && ls "$@" | |
| } |
This file contains hidden or 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
| blaziken | |
| skarmory | |
| zubat | |
| eeveeni | |
| absol | |
| luxray | |
| lapras | |
| zapdos | |
| aggron | |
| ninjask |
This file contains hidden or 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 | |
| export LC_ALL=C.UTF-8 | |
| APT_GET_INSTALL='apt-get install -y --no-install-recommends --no-install-suggests' | |
| if [ -n "${PS1}" ]; then | |
| IS_INTERACTIVE=1 | |
| else | |
| IS_INTERACTIVE=0 | |
| fi |
This file contains hidden or 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 | |
| [ "$PLAYONLINUX" = "" ] && exit 0 | |
| source "$PLAYONLINUX/lib/sources" | |
| export WINEPREFIX="/home/danielkza/.PlayOnLinux/wineprefix/lol32" | |
| export WINEDEBUG="-all" | |
| export LOGFILE="/home/danielkza/.PlayOnLinux/logs/lol.log" | |
| LOL_PATH="/games/League of Legends/" |
This file contains hidden or 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
| #include <stdlib.h> | |
| #include <stdio.h> | |
| #include <string.h> | |
| int main(int argc, char **argv) | |
| { | |
| char buf[16]; | |
| while(fgets(buf, sizeof(buf), stdin) != NULL) { | |
| char *space_pos = strchr(buf, ' '); |
This file contains hidden or 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
| io = require("io") | |
| os = require("os") | |
| function read_all(file) | |
| local f = io.open(file, "rb") | |
| if not f then | |
| return nil | |
| end | |
| local content = f:read("*a") |
This file contains hidden or 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
| #!/usr/bin/env python2.7 | |
| from __future__ import print_function | |
| import sys | |
| import os.path | |
| import re | |
| import shutil | |
| from glob import glob | |
| from HTMLParser import HTMLParser | |
| from subprocess import check_output, check_call, Popen, CalledProcessError, PIPE |
This file contains hidden or 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/sh | |
| CONFIG_FILE="$HOME/.config/twitchstreamrc" | |
| if ! [ -f "$CONFIG_FILE" ]; then | |
| echo "Missing configuration file ('$CONFIG_FILE')" 1>&2 | |
| exit 1 | |
| fi | |
| . "$CONFIG_FILE" |