Skip to content

Instantly share code, notes, and snippets.

View robotsandcake's full-sized avatar
💭
Groovy

Stuart robotsandcake

💭
Groovy
View GitHub Profile
@robotsandcake
robotsandcake / admin-interface.txt
Created September 18, 2016 11:03
This is what I see when I visit http://192.168.0.55/admin after upgrading to the newest version, then after a fresh install as well.
<?php
require "header.php";
?>
<!-- Small boxes (Stat box) -->
<div class="row">
<div class="col-lg-3 col-xs-6">
<!-- small box -->
<div class="small-box bg-aqua">
<div class="inner">
<h3 class="statistic" id="ads_blocked_today">---</h3>
@robotsandcake
robotsandcake / com.dragon.restart.plist
Created September 4, 2016 20:02
This code will keep a copy of DragonDictate running should it quit unexpectedly, loaded with: launchctl load /Users/jarvis/Library/LaunchAgents/com.dragon.restart.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
<key>Label</key>
<string>Dragon.restart</string>

Developer Cheat Sheets

This are my cheat sheets that I have compiled over the years. Tired of searching Google for the same things, I started adding the information here. As time went on, this list has grown. I use this almost everyday and this Gist is the first bookmark on my list for quick and easy access.

I recommend that you compile your own list of cheat sheets as typing out the commands has been super helpful in allowing me to retain the information longer.

Keybase proof

I hereby claim:

  • I am escapologybb on github.
  • I am robotsandcake (https://keybase.io/robotsandcake) on keybase.
  • I have a public key whose fingerprint is 0E95 03E3 5E2A 5BB4 AE38 539E 84D8 BBBF 1401 5343

To claim this, I am signing this object:

@robotsandcake
robotsandcake / README.md
Last active June 19, 2018 19:30 — forked from mtigas/README.md

[mike.tig.as][mta] server configuration

This gist contains the nginx and tor configurations for the [mike.tig.as][mta] servers, mainly to show:

  • Use of the chris-lea/nginx-devel PPA to allow use of SPDY.
  • ssl_ciphers selection to mitigate BEAST attack, enable [perfect forward secrecy][pfs] if possible and select the strongest possible ciphers within those bounds. (Exception is made for several ciphers at the end of list, for compatibility reasons.)
#!/bin/bash
# Start/stop an EC2 instance for use as an ssh tunnel
# requires the aws package locally -- sudo apt-get install awscli
#
# usage: ./tunnel.sh start (spin up EC2 and create the tunnel)
# ./tunnel.sh stop (terminate the EC2 instance to save money)
# ./tunnel.sh resume (in case your tunnel is interrupted but the EC2 instance is still running)
# CHANGE THE PARAMETERS BELOW
#!/bin/bash
# Start/stop an EC2 instance for use as an ssh tunnel
# requires the aws package locally -- sudo apt-get install awscli
#
# usage: ./tunnel.sh start (spin up EC2 and create the tunnel)
# ./tunnel.sh stop (terminate the EC2 instance to save money)
# ./tunnel.sh resume (in case your tunnel is interrupted but the EC2 instance is still running)
# CHANGE THE PARAMETERS BELOW
@robotsandcake
robotsandcake / snippet.txt
Created July 10, 2014 15:47
testing new test feature
hopefully testing a new gist feature
=begin
Plugin: Twitter Logger
Version: 3.0
Description: Logs updates and favorites for specified Twitter users
Author: [Brett Terpstra](http://brettterpstra.com)
Configuration:
twitter_users: [ "handle1" , "handle2", ... ]
save_images: true
droplr_domain: d.pr
twitter_tags: "#social #blogging"
@robotsandcake
robotsandcake / keybase.md
Created July 8, 2014 11:43
My Keybase.io Proof

Keybase proof

I hereby claim:

  • I am escapologybb on github.
  • I am escapologybb (https://keybase.io/escapologybb) on keybase.
  • I have a public key whose fingerprint is 0E1B 42C5 2E68 2CC4 9D70 D494 AE1D CB03 6B7D E2FD

To claim this, I am signing this object: