Skip to content

Instantly share code, notes, and snippets.

View timkeller's full-sized avatar

Tim Keller timkeller

View GitHub Profile
<html>
<head>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/build/pure-min.css" integrity="sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous">
<style>
html { background-color: rgba(0,0,0,0.9); margin:1em; color:white }
a { color:white; text-decoration: none; }
a:hover { text-decoration: underline; }
ul { color: white; }
li { color: white; }
b { color: white; }
@timkeller
timkeller / 52-week-photo.csv
Last active January 1, 2017 15:29
52 Week Photo Challenge (CSV)
We can make this file beautiful and searchable if this error is corrected: Unclosed quoted field in line 9.
"Week","Title","Description", "Deadline"
"1","Portrait: Self Portrait","Start things off right with a selfie! Explore the self timer setting on your camera.","07-Jan-17"
"2","Landscape: Traditional Landscape","Shoot a beautiful landscape and share it with the world. Find a nice foreground and don't forget the sky.","14-Jan-17"
"3","Artistic: Red","Shoot whatever inspires you. Red should be the focus of the image. Don't be afraid to be creative.","21-Jan-17"
"4","Portrait: Headshot","You shot a selfie, now shoot a selfie of someone else!","28-Jan-17"
"5","Landscape: Black and White","Look for a scene with great contrast that will make a great black and white.","04-Feb-17"
"6","Artistic: Candy","Your artistic interpretation this week should be inspired by something sweet. A great chance to play with macro photography.","11-Feb-17"
"7","Portrait: Faceless","Tell someone's story without showing their face.","18-Feb-17"
"8","Landscape: Wide Angle/Panorama","This is a great opportunity to explore panorama stitching
@timkeller
timkeller / 52-week-photo.taskpaper
Last active January 1, 2017 15:01
52 Week Photo Challenge (Dogwood Year 1) for Omnifocus
52 Photos:
- W1 Portrait: Self Portrait @due(7 Jan)
Start things off right with a "selfie"! Explore the self timer setting on your camera.\
- W2 Landscape: Traditional Landscape @due(7 Jan + 1w)
Shoot a beautiful landscape and share it with the world. Find a nice foreground and don't forget the sky.
- W3 Artistic: Red @due(7 Jan + 2w)
Shoot whatever inspires you. Red should be the focus of the image. Don't be afraid to be creative.
- W4 Portrait: Headshot @due(7 Jan + 3w)
You shot a selfie, now shoot a "selfie" of someone else!
- W5 Landscape: Black and White @due(7 Jan + 4w)
@timkeller
timkeller / gist:559d8289929cb22ff043
Created May 13, 2015 21:31
Mikrotik Progressive Brute Force Blocking
add chain=input protocol=tcp dst-port=22 src-address-list=ssh_blacklist action=drop comment="drop ssh brute forcers" disabled=no
add chain=input protocol=tcp dst-port=22 connection-state=new src-address-list=ssh_stage3 action=add-src-to-address-list address-list=ssh_blacklist address-list-timeout=10d comment="" disabled=no
add chain=input protocol=tcp dst-port=22 connection-state=new src-address-list=ssh_stage2 action=add-src-to-address-list address-list=ssh_stage3 address-list-timeout=1m comment="" disabled=no
add chain=input protocol=tcp dst-port=22 connection-state=new src-address-list=ssh_stage1 action=add-src-to-address-list address-list=ssh_stage2 address-list-timeout=1m comment="" disabled=no
add chain=input protocol=tcp dst-port=22 connection-state=new action=add-src-to-address-list address-list=ssh_stage1 address-list-timeout=1m comment="" disabled=no
@timkeller
timkeller / exifout.py
Last active August 29, 2015 14:03
Export EXIF data as a simple string
# EXIF Exporter
# ==============
# Exports EXIF data in a nice string format. For example:
# "Canon EOS 650D, EF-S18-55mm f/3.5-5.6 IS II, 1/200, f/9, ISO 100"
#
# It will also copy it to your clipboard
#
# Make sure you have PIL or Pillow installed
# This probably means you'll need to run:
# pip install Pillow
# PhpMyAdmin
location /phpmyadmin {
root /usr/share/;
index index.php index.html index.htm;
location ~ ^/phpmyadmin/(. \.php)$ {
try_files $uri =404;
root /usr/share/;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;