Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096
from machine import Pin, PWM | |
import time | |
# Set up LED pins | |
seg1 = Pin(13, Pin.OUT) | |
seg2 = Pin(12, Pin.OUT) | |
seg3 = Pin(11, Pin.OUT) | |
seg4 = Pin(10, Pin.OUT) | |
seg5 = Pin(9, Pin.OUT) |
#!/bin/bash | |
set -euo pipefail | |
find ~/Pictures -type f -printf "%f\n" | sort | uniq > ~/picture-names | |
cd /media/sean/Backup/burlington.me.uk-takeout | |
number=02 |
<iframe src="https://docs.google.com/forms/d/e/{{ .Get "src" }}/viewform?embedded=true" width="{{ .Get "width" }}" height="{{ .Get "height" }}" frameborder="0" marginheight="0" marginwidth="0">{{ .Get "alt" }}</iframe> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> | |
<script src="moment.min.js"></script> | |
<script src="moment-timezone.js"></script> | |
<script> | |
$(document).ready(function(){ |
<?php | |
# http://www.practicalweb.co.uk/blog/2008/05/18/reading-a-unicode-excel-file-in-php/ | |
function fopen_utf8($filename){ | |
$encoding=''; | |
$handle = fopen($filename, 'r'); | |
$bom = fread($handle, 2); | |
// fclose($handle); | |
rewind($handle); |
#!/bin/bash | |
export username=skype.name | |
sqlite3 -column ~/.Skype/$username/main.db \ | |
"SELECT displayname, from_dispname, datetime(Messages.timestamp, 'unixepoch') as date, body_xml | |
FROM Messages, Conversations | |
WHERE Conversations.id=Messages.convo_id and body_xml like '%$searchterm%' | |
ORDER BY Messages.timestamp;" | |
export username=skype.name | |
export thedate=$(date +%Y-%m-%d) | |
sqlite3 ~/.Skype/${username}/main.db \ | |
"SELECT displayname, datetime(Messages.timestamp, 'unixepoch') as date, body_xml | |
FROM Messages, Conversations | |
WHERE Conversations.id=Messages.convo_id and date(Messages.timestamp, 'unixepoch') == '${thedate}' and author='${username}' | |
ORDER BY Messages.timestamp;" |
#!/bin/bash | |
FILES=`ls -Atc` | |
MAXLEN=0 | |
for f in $FILES; do | |
if [ ${#f} -gt $MAXLEN ]; then | |
MAXLEN=${#f} | |
fi | |
done | |
for f in $FILES; do |
#!/bin/bash | |
MUSER="$1" | |
MPASS="$2" | |
MDB="$3" | |
HOST=$4 | |
# Detect paths | |
MYSQL=$(which mysql) | |
AWK=$(which awk) | |
GREP=$(which grep) |