It reads your torrents. Spit out magnet URIs.
$ ./magneto.rb magneto.rb.torrent
Results in:
<?php | |
// Define the 'class' class | |
$class = Obj() | |
->fn('new', function ($class) { | |
$newClass = Obj($class->methods) | |
->fn('new', function($class) { | |
$obj = Obj($class->imethods); | |
$args = func_get_args(); | |
array_shift($args); |
source 'https://rubygems.org' | |
gem 'dnssd' | |
gem 'double-bag-ftps' | |
gem 'ftpd' |
require 'rubygems' | |
require 'bundler/setup' | |
require 'pg' | |
require 'sequel' | |
require 'ledger_gen' | |
require 'google_drive' | |
SPREADSHEET_ID = 'your-google-sheet-id' | |
DATABASE_URL = 'postgres://username:password@host/database' |
1 - Create a *private* GitHub/Bitbucket or similar git repo. Here I assume the repo is: | |
https://github.com/calkan/bash_history.git | |
2 - Create .history directory and initialize it for the repo: | |
mkdir $HOME/.history | |
cd $HOME/.history | |
git init | |
touch README.md |
/** | |
A markov-chain based glyph generator. Given sequences of points as a corpus, this will create a markov chain based on those points. | |
Then, by sampling the chain, we can generate entirely new glyphs that weren't in our original dataset. | |
Press "r" to generate a new frame. Press "s" to save the frame to a file (with a random UUID as its name). | |
Requires the PostFx library: https://github.com/cansik/processing-postfx/ | |
*/ | |
import java.util.*; |
It reads your torrents. Spit out magnet URIs.
$ ./magneto.rb magneto.rb.torrent
Results in:
Hi David, | |
I came across your profile online and wanted to reach out about Development | |
Opportunities here at Groupon. The company is growing, and we're always | |
looking for folks with solid skills that can make positive contribution to | |
our continued success. Any chance you'd be open to a quick conversation | |
about opportunities, or for any possible networking potential? If so, let me | |
know when you're free and we can set up a time to chat. Also, if you are | |
interested, it would be great if you could forward a current resume over | |
that I can take a look at. I look forward to hearing back from you! Please | |
let me know if you have any questions. |
#UseHook | |
!VKC0SC029::Return ; grave -> the grave ` accent gave some probs, used the virtualkey + scancode instead | |
!e::Return ; acute | |
!i::Return ; circumflex | |
!t::Return ; tilde | |
!u::Return ; umlaut | |
; 1 2 3 4 5 6 7 8 9 1 | |
; 0 | |
; r g G a A c C t T u U |
<?php | |
// Define the 'class' class | |
$class = Obj() | |
->fn('new', function ($class) { | |
$newClass = Obj($class->methods) | |
->fn('new', function($class) { | |
$obj = Obj($class->imethods); | |
$args = func_get_args(); | |
array_shift($args); |