I hereby claim:
- I am lindhe on github.
- I am lindhe (https://keybase.io/lindhe) on keybase.
- I have a public key whose fingerprint is 4EEE CFA0 147F 7121 5C72 CF2E 34C1 4B69 96D5 B89E
To claim this, I am signing this object:
var config = {}; | |
module.exports = config; | |
///////////////////// | |
// General config // | |
///////////////////// | |
// verbosity of console output | |
// possible options from most to least verbose: | |
// silly, debug, verbose, info, warn, error |
I hereby claim:
To claim this, I am signing this object:
echo "message" | mail -s "Subject line" email@example.com |
#!/bin/bash | |
domain='example.com' | |
list='list-name' | |
password='' | |
file='./members.txt' | |
echo "Logging in..." | |
curl -v -L -X POST -j -b non-existing -c './'$list'.cookie' --data 'adminpw='$password'&admlogin=Let me in...' 'http://lists.'$domain'/mailman/admin/'$list | |
echo "Logged in!" |
@namespace url(http://www.w3.org/1999/xhtml); | |
@-moz-document domain("www.fastmail.com") { | |
.v-Message-body--html { | |
border-color: transparent !important; | |
background-color: transparent !important; | |
} | |
.v-Message-body--html p { | |
color: #fff !important; | |
} |
function printWeek() { | |
var settings = SpreadsheetApp.getActive().getSheetByName('settings'); | |
var sheet = SpreadsheetApp.getActive().getSheetByName('test'); | |
const DATE = 0; | |
const WEEK = 1; | |
const START_ROW = 2; // First row of data to process | |
// Fetch settings: | |
var config = settings.getRange(2,1,10,2).getValues(); // change range dependign on need | |
var numRows = config[0][1]; // Number of rows to process | |
if (typeof(numRows) !== 'number') { |
find . -type f -print | perl -ne '/(.*IMG_(\d{4})(\d{2})(\d{2}).*)/ && print `mkdir -p $2/$2-$3/$2-$3-$4; mv $1 $2/$2-$3/$2-$3-$4`' |
#!/bin/bash | |
# Checks for authorized Wi-Fi SSID or connected Ethernet before performing | |
# backup. | |
RUN=false; | |
AUTHFILE=~/.config/authorized_netwoks.txt; | |
WIFI=$(iwgetid --raw); | |
ETH_IF=eth0; | |
ETH=$(ip link show $ETH_IF | perl -n -e'/state (\w+)/ && print $1'); |
Prototype version 10 | |
Found device 138a:0097 | |
This device is not supported, but lets try anyway | |
Index 1, size 12 | |
0000 66 30 64 66 38 63 65 64 35 34 32 36 | |
usb write: | |
0000 01 | |
usb read: | |
0000 00 00 f0 b0 5e 54 a4 00 00 00 06 07 01 30 00 01 |
Prototype version 7 | |
Found device 138a:0097 | |
This device is not supported, but lets try anyway | |
[C] | |
Index 1, size 12 | |
0000 66 30 64 66 38 63 65 64 35 34 32 36 | |
usb write: | |
0000 01 | |
usb read: | |
0000 00 00 f0 b0 5e 54 a4 00 00 00 06 07 01 30 00 01 |