I hereby claim:
- I am hon95 on github.
- I am hon (https://keybase.io/hon) on keybase.
- I have a public key whose fingerprint is 7FE1 52A7 EF8D 5FF7 1E5E 1EF4 13ED B5CC 23D1 6C7A
To claim this, I am signing this object:
# Group configuration file for hChat. | |
# The ID needs to be the same as in your permission plugin. | |
# 'default' is the default group and is used if none of the others match. | |
default: | |
name: 'Default' | |
prefix: '' | |
suffix: '' | |
format: | |
name: '%p%N%s' | |
list: '%p%A%N%s' |
# Regular expressions for cleaning trashy Office HTML. Meant for lated extraction of content. | |
# Note: This only removes trash I encountered. | |
# Remove no-break spaces, spans, b, u, and a elements and o:p elements (whatever those are) | |
(?: )|(?:\xA0)|(?:</?span[^>]*>)|(?:</?[bua][^>]*>)|(?:</?o:p>) | |
# Remove attributes for html, head, div, p, table, tr and td elements | |
(?:(?<=<html)|(?<=<head)|(?<=<div)|(?<=<p)|(?<=<table)|(?<=<tr)|(?<=<td))[^>]*(?=>) | |
# Remove everything inside head |
I hereby claim:
To claim this, I am signing this object:
/* | |
Pinout: | |
Connect pin #1 of the expander to Analog 5 (i2c clock) | |
Connect pin #2 of the expander to Analog 4 (i2c data) | |
Connect pins #3, 4 and 5 of the expander to ground (address selection) | |
Connect pin #6 and 18 of the expander to 5V (power and reset disable) | |
Connect pin #9 of the expander to ground (common ground) | |
*/ | |
#include <Wire.h> |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDNqlSxfxo1eEbgskyiX4THQa2RaGXvejWhclGEP1P7JfbbYzQ3eldTcqZWVWJQtI19nrwgXXe9HcHulioKz812yDMIkGkb0g0DAkmKqv0la2DSV6vbWHAky9mImipcdjivPl6dJ/SJX10lUulGr6qlde50Johkxbhhn9Iiz4ZQO0hUJo6cxIkPVwdfhcI76yENSgv3ElVDG4n2tmZpYHxF70C6AI9WusH928Osyc4RNTv4NFYm7mHganrA17iHiUZB1cxtW/aMFhOcBkGKbTQ7NnrSnt/rHB+My3hxZ2NpRlN4Q7X3kAaDY+vl+sk97nfnedSoJPZvDfSAuzsI7FJw1Z9hX7XxPHY7p1bdXCbFhtg4OMlfTgdAqjZELOxgd4n/JAgt5Y9hL0G14Klk/ZD1DdZTPaYvpXOKWayWrvVBHaPWKrgxA3H92+oXgcpbJUBxr75rG1kzjZ77bOXOX4JO3kBThGpFiBP+QSvlEmjX5p8REqO/TPtcHblhihi+7UzoFSalIcxTU/x5z2bFmuc8IOQmky2ttlV54YwicJlJuN+m4v/J5BhhUlEHz1HoFIAztzCxg3Mi6hWVBtWM5xwWtAveenlawS8hO7vak9zTgfO5i8PK6OwI8K1H5aoel9/5B9kBUy4ACnkGFr7nyJ1DLR60w6mYsP5mj478hQ8VzQ== haavard.nordstrand@gmail.com |
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mQINBFpkP0QBEACljjL2RyBW5kkUcYgyl6PFQDU2z7uCaiMt7B/153Ex10QVYuWG | |
inNau2bwLFWfh8w3liZW97+schEEDNLuLAR/mor9BHPlhlfBXhen90ttLJNyH9qj | |
1/gH4bMQ+TJDdLErpeH9tHtn124iutqIP2gPYVZLS/5+iSTLJKAP4KI7McoC1uUX | |
3Ul17F/MgUoFfHrtv1cHPp1zlG7AfjeQVQCVjHA9pQ4nAb0GGkyId1gQbOTvpNUD | |
9nmYx3bm90UP1M8T+kEyc7BZuKSwkDS/CrKPryhIJRvIYMAbnvTvohTkPUTPwCAm | |
BvxrJaOy4ioKui6M/VqZy7q6zHrcB++yPCxC9ca9BkWYxZSFTPQjHJafJPItMAeU | |
STHtRgex6RuP45PpVx87n46ZGOgAuV9kU1MTfq235ZUbQgbKCHD17FR3ofIIuBlV | |
6E8DpQp7bpvp8iqnWIEGJesjf8rC6O2B2sjmTxc5QkVyafeC/AOZvk7kkp/fx8fu |
#!/bin/bash | |
echo Content-type: text/html | |
echo "" | |
## make POST and GET stings | |
## as bash variables available | |
if [ ! -z $CONTENT_LENGTH ] && [ "$CONTENT_LENGTH" -gt 0 ] && [ $CONTENT_TYPE != "multipart/form-data" ]; then | |
read -n $CONTENT_LENGTH POST_STRING <&0 | |
#eval echo "${POST_STRING//;}"|tr '&' ';' | |
fi | |
#eval echo "${QUERY_STRING//;}"|tr '&' ';' |
A list of useful commands for the ffmpeg command line tool.
Download FFmpeg: https://www.ffmpeg.org/download.html
Full documentation: https://www.ffmpeg.org/ffmpeg.html
#!/bin/bash | |
set -eu | |
INFLUX_USERNAME="admin" | |
INFLUX_PASSWORD="password123" | |
INFLUX_ORG="main-org" | |
INFLUX_BUCKET="main-bucket" | |
INFLUX_RETENTION="0" |
#!/usr/bin/expect -f | |
# Dependencies: expect cu | |
# Access to serial devices requires you to be in the dialout group. | |
# If you're not in tha groups, run "sudo chmod 666 /dev/ttyUSB*" first instead. | |
puts "Bootstrap script for TP-Link T2600G variants." | |
puts "" |