Skip to content

Instantly share code, notes, and snippets.

Jelly Robot jellyjellyrobot

Block or report user

Report or block jellyjellyrobot

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jellyjellyrobot /
Created Feb 28, 2018 — forked from paalfe/
Cisco IOU License Generator. Originally found at, I have done a few changes to it. Make the file executable with " chmod +x " and execute it " ./ ".
#! /usr/bin/python
print "\n*********************************************************************"
print "Cisco IOU License Generator - Kal 2011, python port of 2006 C version"
import os
import socket
import hashlib
import struct
# get the host id and host name to calculate the hostkey
hostname = socket.gethostname()
jellyjellyrobot / _lxc
Created Jan 5, 2018 — forked from sabottenda/_lxc
lxc zsh completion
View _lxc
#compdef lxc-start lxc-stop lxc-console lxc-restart lxc-create lxc-destroy lxc-monitor lxc-cgroup lxc-checkpoint lxc-execute lxc-freeze lxc-unfreeze lxc-info lxc-netstat lxc-ps lxc-wait
# original source is here:
_lxc_containers() {
local -a containers
containers=( $(/bin/ls /var/lib/lxc) )
compadd "$@" -a containers
jellyjellyrobot / gist:cd58487fd186f81f75b90eeedc618def
Last active Mar 4, 2017
GNS3 console configuration for OSX, Iterm2v3, and a shell that does not quit terminal negotiating
View gist:cd58487fd186f81f75b90eeedc618def
-e 'tell application "iTerm"'
-e 'activate'
-e 'if (count of windows) = 0 then'
-e ' set t to (create window with profile "cisco")'
-e 'else'
-e ' set t to current window'
-e 'end if'
-e 'tell t'
-e ' set newTab to (create tab with profile "cisco" command "sh")'
jellyjellyrobot / ._
Last active Feb 25, 2018
Me being a lazy guy
View ._
# Change Mirrors
# sed --in-place 's/' /etc/apt/sources.list
# sed --in-place 's/\/mirror/' /etc/apt/sources.list
echo "Getting $FILE"
jellyjellyrobot /
Last active Feb 12, 2018
libnfc + mfoc for fun, maybe profit?
# Prereq
brew tap jlhonora/lsusb
brew install autoconf doxygen automake libtool libusb libusb-compat --universal wget pkgconfig lsusb
# Libnfc
git clone
cd libnfc
autoreconf -vis
./configure --enable-doc --with-drivers=all --sysconfdir=/etc --prefix=/usr
jellyjellyrobot /
Last active Aug 22, 2016
Keybase Auth - jellyjellyrobot

Keybase proof

I hereby claim:

  • I am jellyjellyrobot on github.
  • I am jellyjellyrobot ( on keybase.
  • I have a public key whose fingerprint is CB25 3D12 B5AF F863 50DD 74CF 4D00 1E92 3F1D 6029

To claim this, I am signing this object:

jellyjellyrobot / open_in_term.scpt
Last active Feb 26, 2016
new iterm has different api. updated the code to reflect that
View open_in_term.scpt
-- Adapted from canuckistani/openItermHere.scpt
-- <- new api
-- cd to the current finder window folder in iTerm. Or drag a folder onto this script to cd to that folder in iTerm.
-- found this script in the comments of this article:
-- Instructions for use:
-- paste this script into Script Editor and save as an application to ~/Library/Scripts/Applications/Finder/cd to in iTerm
-- run via the AppleScript Menu item (
-- Or better yet, Control-click and drag it to the top of a finder window so it appears in every finder window.
View gist:20da96aec8d2e3a60225
## For those times when you're too lazy to reboot and your Mac DNS client screws up.
sudo discoveryutil mdnsflushcache
sudo discoveryutil udnsflushcaches
sudo launchctl unload -w /System/Library/LaunchDaemons/
sudo launchctl load -w /System/Library/LaunchDaemons/
jellyjellyrobot / CanonLide20Mac
Created Mar 5, 2015
Using Canon Lide 20 on Mac
View CanonLide20Mac
#Download and run Relevant files from
#TWAIN SANE Interface
#SANE Preference Pane
#SANE backends
# Scan images using command line
#scanimage --mode Gray --depth 16 --resolution 300 -x 215 -y 297 --format=tiff > blah.tiff
You can’t perform that action at this time.