steps to reproduce:
curl 'http://thequeue.org/cr?id=https%3A%2F%2Faaronsw.jottit.com%2Fhowtoget&title=Aaron%20Swartz:%20howtoget' > how-to-get.html
html2text.py how-to-get.html > how-to-get.md
gist < how-to-get.md| package main | |
| import ( | |
| "net/http" | |
| "io/ioutil" | |
| "time" | |
| "log" | |
| "os" | |
| ) |
| # randomator plugin for Pidgin / libpurple | |
| # @author starenka moc.liamg@0aknerats (backwards) 2008 | |
| use Purple; | |
| %PLUGIN_INFO = ( | |
| perl_api_version => 2, | |
| name => "randomator", | |
| version => "0.1", | |
| summary => "Sets a random message on pidgin start.", |
| -- Adapted from these sources: | |
| -- http://peterdowns.com/posts/open-iterm-finder-service.html | |
| -- https://gist.github.com/cowboy/905546 | |
| -- | |
| -- Modified to work with files as well, cd-ing to their container folder | |
| -- | |
| -- FINAL VERSION | |
| -- Save as "Application" from Automator and Drag&Drop to finder (see peterdowns post) | |
| -- |
I hereby claim:
To claim this, I am signing this object:
| #!/usr/bin/env bash | |
| # global parameters | |
| g_tmp_folder="ncdc_tmp"; | |
| g_output_folder="ncdc_data"; | |
| g_remote_host="ftp3.ncdc.noaa.gov"; | |
| g_remote_path="pub/data/noaa"; | |
| # Install tmux on Centos release 6.5 | |
| # install deps | |
| yum install gcc kernel-devel make ncurses-devel | |
| # DOWNLOAD SOURCES FOR LIBEVENT AND MAKE AND INSTALL | |
| curl -OL https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.tar.gz | |
| tar -xvzf libevent-2.0.21-stable.tar.gz | |
| cd libevent-2.0.21-stable | |
| ./configure --prefix=/usr/local |
| #!/bin/sh | |
| # | |
| # open owntracks recorder. | |
| # | |
| # Requirements (OSX): | |
| # 1) install recorder (brew tap owntracks/recorder && brew install recorder) | |
| # 2) vi /usr/local/etc/ot-recorder.sh and add mqtt host/login/pass/... | |
| # 3) chmod +x this_script.command | |
| # |
| #!/usr/bin/env ruby | |
| # <bitbar.title>Battery Apple Bluetooth keyboard</bitbar.title> | |
| # <bitbar.version>1.0</bitbar.version> | |
| # <bitbar.author>Alexandre Espinosa Menor</bitbar.author> | |
| # <bitbar.author.github>alexandregz</bitbar.author.github> | |
| # <bitbar.desc>Show vagrant images running, from vagrant global-status command</bitbar.desc> | |
| # | |
| # command from https://github.com/matryer/bitbar-plugins/issues/84 by @keithamus | |
| # |
| #!/usr/bin/env perl | |
| # <bitbar.title>Battery Apple Bluetooth keyboard</bitbar.title> | |
| # <bitbar.version>1.0</bitbar.version> | |
| # <bitbar.author>Alexandre Espinosa Menor</bitbar.author> | |
| # <bitbar.author.github>alexandregz</bitbar.author.github> | |
| # <bitbar.desc>Show vagrant images running, from vagrant global-status command</bitbar.desc> | |
| # | |
| # command from https://github.com/matryer/bitbar-plugins/issues/84 by @keithamus | |
| # |