"font_face": "Ubuntu Mono", "font_options":
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 gliderlabs/alpine:3.4 | |
# ensure local python is preferred over distribution python | |
ENV PATH /usr/local/bin:$PATH | |
# http://bugs.python.org/issue19846 | |
# > At the moment, setting "LANG=C" on a Linux system *fundamentally breaks Python 3*, and that's not OK. | |
ENV LANG C.UTF-8 | |
# install ca-certificates so that HTTPS works consistently |
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
#!/usr/bin/env bash | |
JSON="$(youtube-dl -j $1)" | |
UPLOADER=$(echo "${JSON}" | jq -c -r '.uploader') | |
UPLOAD_DATE=$(echo "${JSON}" | jq -cr '.upload_date') | |
TITLE=$(echo "${JSON}" | jq -cr '.title') | |
EXTENSION=$(echo "${JSON}" | jq -cr '.ext') | |
UPLOAD_YEAR=${UPLOAD_DATE:0:4} | |
BASE_FOLDER="${UPLOADER}/${UPLOAD_YEAR}" | |
VIDEO_COUNT=$(ls -l "${BASE_FOLDER}" | wc -l) |
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
########## | |
# Win10 Initial Setup Script | |
# Author: Disassembler <disassembler@dasm.cz> | |
# Version: 1.7, 2016-08-15 | |
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/ | |
# THIS IS A PERSONALIZED VERSION | |
# This script leaves more MS defaults on, including MS security features. | |
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.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 | |
filename=$(basename $3) | |
cp $3 /tmp/$filename | |
/usr/local/bin/ksdiff --merge --wait --output $1 --base $2 -- /tmp/$filename $4 --snapshot | |
rc=$? | |
exit $rc |
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
MSI (s) (00:BC) [14:48:53:831]: Calling SRSetRestorePoint API. dwRestorePtType: 0, dwEventType: 102, llSequenceNumber: 0, szDescription: "Installed ActiveState ActivePython 2.7.2.5 (32-bit)". | |
MSI (s) (00:BC) [14:58:54:132]: The call to SRSetRestorePoint API failed. Returned status: -2130706175. GetLastError() returned: -2130706175 |
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
# Maintainer: Chase <sky[no_spam]<AT>[no_spam]skystrife<DOT>com> | |
arch=('i686' 'x86_64') | |
pkgname=aacgain-cvs | |
pkgver=20101003 | |
pkgrel=1 | |
conflicts=('aacgain') | |
provides=('aacgain') | |
makedepends=('cvs') | |
pkgdesc="Adjusts the volume of music files (mp4/m4a/QT/mp3) using ReplayGain |
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
--Battery Widget | |
batt = wibox.widget.textbox() | |
function get_batterystatus() | |
local filedescriptor = io.popen("/<location-to-script>/<whatever-you-called-it>.sh") | |
local value = filedescriptor:read() | |
filedescriptor:close() | |
return {value} | |
end | |
vicious.register(batt, get_batterystatus, '$1', 10) |
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
span_hi='<span color="#ff8700">' #colour for normal battery | |
span_lo='<span color="#aaaaaa">' #colour for normal battery | |
span_sep='<span color="#ff8700">' #colour for normal battery | |
span_warn='<span color="#ff0000">' | |
## Set battery message | |
batt=`cat /sys/devices/platform/smapi/BAT0/remaining_percent` | |
if (($batt <= 30)); | |
then battstate=$span_warn$batt'%% </span>'$span_lo`cat /sys/devices/platform/smapi/BAT0/state`'</span>' | |
else battstate=$span_hi$batt'%% </span>'$span_lo`cat /sys/devices/platform/smapi/BAT0/state`'</span>' |
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
var console = require('demo-console'); | |
var p1 = "((((()(()(((((((()))(((()((((()())(())()(((()((((((()((()(()(((()(()((())))()((()()())))))))))()((((((())((()))(((((()(((((((((()()))((()(())()((())((()(()))((()))()))()(((((()(((()()))()())((()((((())()())()((((())()(()(()(((()(())(()(())(((((((())()()(((())(()(()(()(())))(()((((())((()))(((()(()()(((((()()(()(((()(((((())()))()((()(()))()((()((((())((((())(()(((())()()(()()()()()(())((((())((())(()()))()((((())))((((()())()((((())((()())((())(())(((((()((((()(((()((((())(()(((()()))()))((((((()((())()())))(((()(()))(()()(()(((()(()))((()()()())((()()()(((())())()())())())((()))(()(()))(((((()(()(())((()(())(())()((((()())()))((((())(())((())())((((()(((())(())((()()((((()((((((()(())()()(()(()()((((()))(())()())()))(())))(())))())()()(())(()))()((()(()(())()()))(()())))))(()))(()()))(())(((((()(()(()()((())()())))))((())())((())(()(())((()))(())(((()((((((((()()()(()))()()(((()))()((()()(())(())())()(()(())))(((((()(())(())(()))))())()))(()))()(()(((((((()(( |
NewerOlder