Skip to content

Instantly share code, notes, and snippets.

@dypsilon
dypsilon / frontendDevlopmentBookmarks.md
Last active Aug 15, 2022
A badass list of frontend development resources I collected over time.
View frontendDevlopmentBookmarks.md
@jimfdavies
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}
end
@amueller
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
stoermerjp / dronemapper_buildgdalmosaic.sh
Created Jul 12, 2012
DroneMapper.com: Basic Geo-referenced Mosaic Construction w/ GDAL (projection)
View dronemapper_buildgdalmosaic.sh
#!/bin/bash
###
### JP Stoermer
### DroneMapper.com
###
### Clean up
rm -rf ./*._tif
rm -rf ./mosaic.tif
@handyman5
handyman5 / add_to_cobbler.py
Created Mar 19, 2012
Use of the Cobbler API
View add_to_cobbler.py
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
try:
handle = cobbler_api.get_system_handle(a, token)
@diogojc
diogojc / cf.py
Created Dec 28, 2011
Regression based collaborative filtering
View cf.py
import numpy as np
from scipy.optimize import fmin_cg
def cost(p, Y, R, alpha):
"""
Calculates collaborative filtering cost function.
Arguments
@vanquishregret
vanquishregret / install_python.sh
Created Nov 17, 2011 — forked from jgumbley/install_python.sh
setup python 2.7.2 on CENTOS 5.* server
View install_python.sh
# wget -O install_python.sh https://gist.github.com/raw/777001/install_python.sh
# chmod +x install_python.sh
# ./install_python.sh
#!/bin/sh
echo "******************************************"
echo "Configure Centos box with a recent version"
echo "of Python. "
echo " - jgumbley 12/jan/11"
@jedi4ever
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
phillro / gist:1193227
Created Sep 4, 2011
Elasticsearch autocomplete example with cross origin resource sharing
View gist:1193227
<html>
<head>
<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>
</head>
<body>
@mbostock
mbostock / .block
Last active Aug 30, 2021
Hierarchical Edge Bundling
View .block
license: gpl-3.0
height: 960
border: no
redirect: https://observablehq.com/@d3/hierarchical-edge-bundling