Skip to content

Instantly share code, notes, and snippets.

View mawalu's full-sized avatar
🌚

Martin Wagner mawalu

🌚
View GitHub Profile
@mawalu
mawalu / browser.js
Created January 3, 2018 16:10
Download Humble Bundle books / videos
// Enter into your console while on the download page
// idea from: https://gist.github.com/graymouser/a33fbb75f94f08af7e36
let b = []
$('a').each(function(i){
if ($.trim($(this).text()) == 'PDF') { // change to MOBI, Download, EPUB depending on the button text
b.push(this.href)
}
});
@mawalu
mawalu / create_index.json
Last active July 12, 2016 13:26
Elasticsearch ngram problem
{
"settings" : {
"analysis" : {
"filter" : {
"ngram" : {
"min_gram" : 2,
"max_gram" : 20,
"token_chars" : [
"letter",
"digit",
@mawalu
mawalu / CAT.md
Last active August 29, 2015 14:12
CAT.md

cjdns admin tool

Features

Api wrapper

Simple http api instead of rpc interface.

Persistance

Keybase proof

I hereby claim:

  • I am mawalu on github.
  • I am mawalu (https://keybase.io/mawalu) on keybase.
  • I have a public key whose fingerprint is D80C 12AD 6BDD 5D87 AEFF 8821 47E8 B493 D319 1E89

To claim this, I am signing this object: