I hereby claim:
- I am deadbok on github.
- I am deadbok (https://keybase.io/deadbok) on keybase.
- I have a public key whose fingerprint is 900B 8B4A D311 11F6 F464 FD8A 4D8A BF24 E9FC 5F97
To claim this, I am signing this object:
#!/bin/sh | |
#Check periodicly if my YouSee supplied Netgear CG3000 router has had another nervous breakdown | |
#using this script and cron. | |
#Copyright 2014-2015 Martin Bo Kristensen Grønholdt | |
# | |
#Licensed under the Apache License, Version 2.0 (the "License"); | |
#you may not use this file except in compliance with the License. | |
#You may obtain a copy of the License at | |
# |
import urllib.request | |
import time | |
#URL used for test download | |
URL = ('http://ftp.gnu.org/gnu/binutils/binutils-2.24.tar.gz') | |
#Times to download the file | |
NUMBER_OF_DL = 1 | |
#File to save the staticts to | |
STATS_FILENAME = 'stats.csv' | |
#!/bin/bash | |
#Based on: https://wiki.archlinux.org/index.php/Convert_Flac_to_Mp3#Without_FFmpeg | |
for a in *.flac; do | |
# give output correct extension | |
OUTF="${a[@]/%flac/mp3}" | |
# get the tags | |
ARTIST=$(metaflac "$a" --show-tag=ARTIST | sed s/.*=//g) |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# addbom.sh | |
FILE=$1 | |
check() | |
{ | |
if (( e = "$1" )); then | |
echo "ERROR: $ACTION failed!!" | |
exit $e |
# begin build properties | |
# autogenerated by buildinfo.sh | |
ro.build.id=JOP40D | |
ro.build.display.id=WonderMedia-MID-_130904.1546 | |
ro.build.version.incremental=_130904.1546 | |
ro.build.version.sdk=17 | |
ro.build.version.codename=REL | |
ro.build.version.release=4.2.1 | |
ro.build.date=Wed Sep 4 15:47:36 HKT 2013 |
''' | |
Created on 06/06/2016 | |
:copyright: (c) 2016 by Martin Grønholdt. | |
:license: GPLv3, see LICENSE for more details. | |
''' | |
import shlex | |
import locale | |
from subprocess import Popen, PIPE | |
import argparse |
#!/bin/sh | |
# | |
# Try to dertermine if a site is driven by WordPress | |
# | |
# 2016 by Martin Bo Kristensen Grønholdt | |
echo -n "" > $2 | |
while read url | |
do | |
curl -s ${url} > index.tmp |
# BEGIN WordPress | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.php$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteRule . /index.php [L] | |
</IfModule> | |
# END WordPress |
,*.php *.bak .htaccess | |
wp-admin,*.php | |
wp-admin/css,*.css | |
wp-admin/css/colors,*.css *.scss | |
wp-admin/css/colors/blue,*.css *.scss | |
wp-admin/css/colors/coffee,*.css *.scss | |
wp-admin/css/colors/ectoplasm,*.css *.scss | |
wp-admin/css/colors/light,*.css *.scss | |
wp-admin/css/colors/midnight,*.css *.scss | |
wp-admin/css/colors/ocean,*.css *.scss |