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
[Trigger] | |
Operation = Remove | |
Type = Package | |
Target = * | |
[Action] | |
Description = Clearing cache... | |
When = PostTransaction | |
Exec = /home/<user>/.local/bin/tools/removehook |
#! /usr/bin/env ruby | |
# NOTE: Requires Ruby 2.1 or greater. | |
# This script can be used to parse and dump the information from | |
# the 'html/contact_info.htm' file in a Facebook user data ZIP download. | |
# | |
# It prints all cell phone call + SMS message + MMS records, plus a summary of each. | |
# | |
# It also dumps all of the records into CSV files inside a 'CSV' folder, that is created |
--============================================================================== | |
-- conky_orange.lua | |
-- | |
-- author : SLK | |
-- version : v2011062101 | |
-- license : Distributed under the terms of GNU GPL version 2 or later | |
-- | |
-- modified: me | |
-- version : v20171027 | |
-- notes : works on 4k screen. uses conky conf newer >v1.1 |
## Generate a markdown table of permuted peer assignments | |
## Designed for putting into output into GitHub Wiki | |
## Permutation code | |
source("https://gist.github.com/maptracker/f0ec01bed4d1c1583bf6/raw/a9cbd9983703a293584e826d903f21a8556e41a3/StudentPeerReview.R") | |
makeMarkdownTable <- function | |
(file, peers = 2, out = paste(c(file,"md"), collapse = '.'), | |
subtitle = NULL, |
//based on http://stackoverflow.com/questions/9210542/node-js-require-cache-possible-to-invalidate | |
function clearRequireCache() { | |
Object.keys(require.cache).forEach(function(key) { | |
delete require.cache[key]; | |
}); | |
} | |
var myModule1 = require('./my-module'); | |
console.log(myModule1.counter); // 0 |
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
=head1 NAME | |
This scripts converts a psl file into a bed file written by Dave Tang. | |
=head1 SYNOPSIS |
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
As configured in my dotfiles.
start new:
tmux
start new with session name: