Skip to content

Instantly share code, notes, and snippets.

View ronlipke's full-sized avatar
🚀
ManagerOps

Ron Lipke ronlipke

🚀
ManagerOps
View GitHub Profile
> Merlin Mann's Custom Quix Commands
> TITLE: mann-quix-d.txt
> REMARKS: Hello, world. Under construction. Dilute! Dilute!
> GITHUB: http://gist.github.com/290059
> MORE: http://quixapp.com
> UPDATED: 2010-02-07_13-07-54
@Merlin Mann's Custom Quix Commands
@May organize these better once they all stabilize
bit javascript:var%20e=document.createElement('script');e.setAttribute('language','javascript');e.setAttribute('src','http://bit.ly/bookmarklet/load.js');document.body.appendChild(e);void(0); Make a bit.ly link
cal javascript:var%20s;if(window.getSelection){s=window.getSelection();}else{s=document.selection.createRange().text;}var%20t=prompt('Please%20enter%20a%20description%20for%20the%20event',s);if(t){void(window.open(encodeURI('http://www.google.com/calendar/event?ctext='+t+'&action=TEMPLATE&pprop=HowCreated%3AQUICKADD'),'gcal'));}else{void(s);} Add event to Google Calendar
> Ron Lipke's Custom Quix Commands
> TITLE: lipke-quix-1.txt
> REMARKS: First try with Quix
> MORE: http://quixapp.com
> UPDATED: 2010-03-13 21:36:58
@Ron Lipke's Custom Quix Commands
bit javascript:var%20e=document.createElement('script');e.setAttribute('language','javascript');e.setAttribute('src','http://bit.ly/bookmarklet/load.js');document.body.appendChild(e);void(0); Make a bit.ly link
down http://downforeveryoneorjustme.com/%d Is this site downforeveryoneorjustme?
eye javascript:void(window.open('http://tineye.com/search?pluginver=bookmark_1.0&url='%20+%20encodeURIComponent(document.URL))); TinyEye: Where's this image from?
tweet tweetie:%5B%t%5D%28%r%29 Send current page link to Tweetie
@ronlipke
ronlipke / psc.sh
Last active August 29, 2015 14:06
#!/usr/bin/env bash
CMD="ps axo pid,ppid,user,command"
PROCESS=$1
if [[ -z $PROCESS ]]; then
$CMD
else
$CMD | grep $PROCESS | grep -v "grep $PROCESS" | grep -v "bin/psc"
fi
@ronlipke
ronlipke / parse-tcpdump-udp-port-53.php
Created August 10, 2016 20:20 — forked from jtai/parse-tcpdump-udp-port-53.php
Quick and dirty script to parse output of /usr/sbin/tcpdump -vvv -s 0 -l port 53
<?php
// quick and dirty argument parsing
foreach ($argv as $arg) {
if ($arg == '-f') {
define('FOLLOW', true);
}
if ($arg == '-h') {
define('HISTOGRAM', true);
}
@ronlipke
ronlipke / .bash_profile
Created November 2, 2016 04:45 — forked from natelandau/.bash_profile
Mac OSX Bash Profile
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management

Keybase proof

I hereby claim:

  • I am ronlipke on github.
  • I am rlipke (https://keybase.io/rlipke) on keybase.
  • I have a public key whose fingerprint is 4C00 93C3 1562 8EEC 0ECD 66A6 3D4B 07AC 971B 5853

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am ronlipke on github.
  • I am rlipke (https://keybase.io/rlipke) on keybase.
  • I have a public key whose fingerprint is 62F8 C307 6349 60D5 D29D E297 63AC FA56 14B0 27D8

To claim this, I am signing this object:

#!/bin/bash
# Assumes you already have the dmg downloaded in ~/Downloads
case "$1" in
old)
echo "Installing 0.15.16-1"
CHEFDK_VERSION="0.15.16-1"
;;
new)
package main
import (
"crypto/tls"
"fmt"
"io/ioutil"
"net/http"
"net/url"
"strings"
)
#!/usr/local/bin/python2.7
import requests
import urllib3
# for bad/untrusted/self-signed certs (gross)
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
url = 'https://some.url.com'
basicAuth = ('USERNAME', 'PASSWORD')