Skip to content

Instantly share code, notes, and snippets.

require 'net/netconf/jnpr'
require 'junos-ez/stdlib'
require 'junos-ez/srx'
login = { :target => 'vsrx', :username => 'jeremy', :password => 'jeremy1', }
### open a NETCONF session to the SRX device
ndev = Netconf::SSH.new( login )
@demonbane
demonbane / makeapp.sh
Created July 5, 2011 20:05
Create a Fluid-style app launcher for single-window Chrome instances on OSX
#!/bin/sh
echo "What should the Application be called (no spaces allowed e.g. GCal)?"
read inputline
name="$inputline"
echo "What is the url (e.g. https://www.google.com/calendar/render)?"
read inputline
url="$inputline"