Skip to content

Instantly share code, notes, and snippets.

View CptSpaceToaster's full-sized avatar

CptSpaceToaster

View GitHub Profile
@CptSpaceToaster
CptSpaceToaster / something_fishy.py
Last active November 13, 2018 20:23
Generate a silly fishy-pants themed company name
#!/usr/bin/env python
import random
import argparse
fish = [
'Angle',
'Bait',
'Bob',
#!/usr/bin/env python3
import argparse
import sys
def digest(infile):
for line in infile.readlines():
mock(line)
#!/usr/bin/env python3
import argparse
import sys
def digest(infile):
for line in infile.readlines():
makeRegionalChars(line)
function wrap_tree()
{
if [[ -f /tmp/tree ]]; then
$(which tree) $*
else
touch /tmp/tree
cat <<EOF
* *
* * *
/*
* This document has been created with Marked.app <http://markedapp.com>.
* Copyright 2011 Brett Terpstra
* ---------------------------------------------------------------------------
* Please leave this notice in place, along with any additional credits below.
*
* Byword.css theme is based on Byword.app <http://bywordapp.com>
* Authors: @brunodecarvalho, @jpedroso, @rcabaco
* Copyright 2011 Metaclassy, Lda. <http://metaclassy.com>
*/
/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/include -I/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/libxc/include -I/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/include -D_GNU_SOURCE -DTAPCTL -c -o tap-ctl-close.o tap-ctl-close.c
gcc -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -Wno-unused-but-set-variable -Wno-unused-local-typedefs -O0 -g3 -D__XEN_TOOLS__ -MMD -MF .tap-ctl-pause.o.d -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -fno-optimize-sibling-calls -Werror -Wno-unused -I../include -I../drivers -I/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/include -I/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/libxc/include -I/home/arlx/Github/xen/tools/blktap2/control/../../..//tools/include -D_GNU_SOURCE -DTAPCTL -c -o tap-ctl-pause.o tap-ctl-pause.c
gcc -O1 -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wdeclaration
#!/bin/bash
function get_artist() {
if [[ ! -z "$ARTIST" ]]; then
return
fi
ARTIST=$(mid3v2 "$1" -l | awk -F"=" '/TPE1/ {print $2}')
if [[ ! -z "$ARTIST" ]]; then
return
fi
ARTIST=$(mid3v2 "$1" -l | awk -F"=" '/TPE2/ {print $2}')
# Example Montior Setup
# [s]
# [c][s]
section: screens
s:
c:
end
section: links
Launching DSUpdater
Obtaining version from server.
Recieved server version reply.
Found Update: 1.0.0
Updating from version: null
Starting Download: 1.0.1Update.7z
Downloading Update: Please Wait...
Installing: 1.0.0
Extracting 1.0.1Update.7z to D:\DS Minecraft
Error occurs:
==> /etc/lsb-release <==
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"