Skip to content

Instantly share code, notes, and snippets.

dypsilon /
Last active Aug 15, 2022
A badass list of frontend development resources I collected over time.
jimfdavies / test-vsphere.rb
Last active Sep 28, 2018
Quick example for Fog VSphere provider. Lists VMs in a given folder in a given DC.
View test-vsphere.rb
#!/usr/bin/env ruby
require 'rubygems'
require 'pp'
require 'fog'
require 'highline/import'
def get_password(prompt="Enter password:")
ask(prompt) {|q| q.echo = false}
amueller / ml_with_sklearn_notebook.ipynb
Created Oct 29, 2012
Teaser on machine learning with scikit-learn
View ml_with_sklearn_notebook.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
stoermerjp /
Created Jul 12, 2012 Basic Geo-referenced Mosaic Construction w/ GDAL (projection)
### JP Stoermer
### Clean up
rm -rf ./*._tif
rm -rf ./mosaic.tif
handyman5 /
Created Mar 19, 2012
Use of the Cobbler API
cobbler_api = ServerProxy("http://cobbler/cobbler_api")
token = cobbler_api.login("USERNAME", "PASSWORD")
asset_list = ["server01", "server02"]
for system in asset_list:
print "Managing system %s" % system
print "System name is %s" % a
handle = cobbler_api.get_system_handle(a, token)
diogojc /
Created Dec 28, 2011
Regression based collaborative filtering
import numpy as np
from scipy.optimize import fmin_cg
def cost(p, Y, R, alpha):
Calculates collaborative filtering cost function.
vanquishregret /
Created Nov 17, 2011 — forked from jgumbley/
setup python 2.7.2 on CENTOS 5.* server
# wget -O
# chmod +x
# ./
echo "******************************************"
echo "Configure Centos box with a recent version"
echo "of Python. "
echo " - jgumbley 12/jan/11"
jedi4ever / gist:1216529
Created Sep 14, 2011
Quick gist on getting vsphere and vcenter and fog/vsphere going
View gist:1216529
Quick gist on getting vsphere and vcenter and fog/vsphere going
# Things to download
- Download free evaluation version of window 2008
- Download free evaluation of esxi v5
- Download free evaluation of esxi vsphere (control center) iso
# Install esxi in vmware fusion
1)Install esxi in vmware (select vmware/esx as host)
create a user root/pipopopo
phillro / gist:1193227
Created Sep 4, 2011
Elasticsearch autocomplete example with cross origin resource sharing
View gist:1193227
<link rel="stylesheet" href="/examples/stylesheets/ui-lightness/jquery-ui-1.8.16.custom.css" type="css">
<script type="text/javascript" src="/examples/javascripts/jquery.min.js"></script>
<script type="text/javascript" src="/examples/javascripts/jquery.base64.min.js"></script>
<script type="text/javascript" src="/examples/javascripts/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript" src="/examples/javascripts/jquery.tmpl.min.js"></script>
mbostock / .block
Last active Aug 30, 2021
Hierarchical Edge Bundling
View .block
license: gpl-3.0
height: 960
border: no