Skip to content

Instantly share code, notes, and snippets.

Arnoud Vermeer funzoneq

Block or report user

Report or block funzoneq

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
View file.rb
require 'httparty'
def print_traffic_nl(road_name, road_type, total_length)
puts "nl_traffic_jam_kilometers{road_type=\"#{road_type}\",road_name=\"#{road_name}\"} #{total_length}"
response = HTTParty.get('')
response.parsed_response.each do |tra|
next if tra['type'] != 'jam'
funzoneq / fetch.rb
Created Jul 22, 2016
Fetch a domain name, parse the words and check domain names.
View fetch.rb
require 'optparse'
require 'httparty'
require 'pp'
options = { domain: nil }
optparse = do |opts|
opts.banner = "Usage: example.rb [options]"
opts.on("-dDOMAIN", "--domain=DOMAIN", "Domain to download") do |n|
funzoneq / nslookupapi.go
Created Jul 22, 2016
nslookup go api endpoint
View nslookupapi.go
package main
import (
funzoneq / simplehttp.service
Created May 25, 2016
A systemd file for a python SimpleHTTPServer
View simplehttp.service
Description=Job that runs the python SimpleHTTPServer daemon
ExecStart=/usr/bin/python -m SimpleHTTPServer 80 &
ExecStop=/bin/kill `/bin/ps aux | /bin/grep SimpleHTTPServer | /bin/grep -v grep | /usr/bin/awk '{ print $2 }'`
funzoneq /
Last active Mar 14, 2017
FreeBSD gmirror setup sata drives
gpart destroy -F ada0
gpart destroy -F ada1
gpart create -s gpt ada0
gpart create -s gpt ada1
gpart add -s 64k -t freebsd-boot -l boot0 ada0
gpart add -s 64k -t freebsd-boot -l boot1 ada1
gpart add -s 8G -t freebsd-swap -l swap0 ada0
View Update HP ILO3 and ILO4 via command line
#!/bin/bash -x
# ILO3 firmware:
# ILO4 firmware:
View chef weirdness
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
sh -v 12.4.1 2>&1
Stdout from the command:
Downloading Chef 12.4.1 for ubuntu...

Keybase proof

I hereby claim:

  • I am funzoneq on github.
  • I am funzoneq ( on keybase.
  • I have a public key whose fingerprint is DA42 7BE5 95B2 DD32 8A87 BE53 A23D A8E9 3DFA D029

To claim this, I am signing this object:

View gist:2a9ba74b2dd059817ee5
#!/usr/bin/env ruby
require 'httparty'
require 'pp'
class HiberniaCDN
include HTTParty
#debug_output $stderr
base_uri ''
funzoneq / ubuntu.ks
Last active Jul 22, 2019
Ubuntu kickstart file
View ubuntu.ks
#Generated by Kickstart Configurator
# Fetch content from here
url –url
#System language
lang en_US.UTF-8
#Language modules to install
You can’t perform that action at this time.