UPDATE a fork of this gist has been used as a starting point for a community-maintained "awesome" list: machine-learning-with-ruby Please look here for the most up-to-date info!
- liblinear-ruby: Ruby interface to LIBLINEAR using SWIG
| #! /usr/bin/env ruby | |
| status = DATA.flock(File::LOCK_EX | File::LOCK_NB) | |
| if status == 0 | |
| puts "we have the lock..." | |
| sleep | |
| else |
| #! /usr/bin/env ruby | |
| # NAME | |
| # markup | |
| # | |
| # DESCRIPTION | |
| # filter files through the awesomeness of github markup | |
| # see https://github.com/github/markup | |
| # | |
| # USAGE |
| #!/bin/sh | |
| ## | |
| # This is a script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # Run in interactive mode with: | |
| # $ sh -c "$(curl -sL https://raw.github.com/gist/2108403/hack.sh)" | |
| # | |
| # or run it without prompt questions: |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
| // Create index with mapping | |
| curl -XPUT http://192.168.0.10:9200/geotest/ -d '{ | |
| "settings" : { | |
| "number_of_shards" : 1 | |
| }, | |
| "mappings" : { | |
| "places" : { | |
| "properties" : { | |
| "name" : { "type" : "string" }, | |
| "location" : { "type" : "geo_point", "lat_lon": true } |
| class people::jfryman { | |
| # Applications | |
| include chrome::stable | |
| include onepassword | |
| include dropbox | |
| include alfred | |
| include macvim | |
| include zsh | |
| include homebrew | |
| include fitbit |