Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am paradox460 on github.
  • I am paradox460 (https://keybase.io/paradox460) on keybase.
  • I have a public key ASC1LvPdUFMMZMcpYaWq62VQHz9ZA709CmFjKaa-HQNtJAo

To claim this, I am signing this object:

#! /usr/bin/env sh
for i in $(seq 1 25); do
open -n -a "/Applications/Safari.app" "http://noice.lol"
done
@paradox460
paradox460 / linkify.js
Last active March 26, 2021 12:52
Linkify PivotalTracker links on github
// ==UserScript==
// @name Linkify Pivotal Tracker links on Github
// @namespace http://paradox.io/linkify-pivotal-links
// @version 0.1
// @description Converts pivotal tracker story links (#123456789) to actual links
// @author Jeff Sandberg
// @match *://github.com/*
// @grant none
// @downloadURL https://gist.githubusercontent.com/paradox460/fa76ecacdbb47d8fa9100fbf9305a97e/raw
// @require https://cdn.jsdelivr.net/gh/padolsey/findAndReplaceDOMText@0.4.5/src/findAndReplaceDOMText.min.js
# encoding: utf-8
Encoding.default_external = Encoding::UTF_8
Encoding.default_internal = Encoding::UTF_8
sound_transforms = {
/fuck/i => ('fu' + 'g' * rand(1..5)),
/epic/i => 'ebin',
/C(?=(?i:[AOULR]))|K/ => 'G',
/C(?=(?i:[EIY]))|(?<=\b)S/ => 'Z',
/c(?=(?i:[aoulr]))|k/ => 'g',
/c(?=(?i:[eiy]))|(?<=\b)s/ => 'z',

Keybase proof

I hereby claim:

  • I am paradox460 on github.
  • I am paradox460 (https://keybase.io/paradox460) on keybase.
  • I have a public key ASAPp2BV5EUZr_oPMy3GPp7wsrKon6_C_zJ7-0Om2Fxh_Ao

To claim this, I am signing this object:

#! /usr/bin/env ruby
require 'logger'
require 'shellwords'
files = Dir.glob('*.srt') - ARGV
logger = Logger.new(STDOUT)
def shell_quote(string)
return '' if string.nil?
string = string.to_s if string.respond_to? :to_s
require 'http'
require 'json'
require 'slack-ruby-client'
Slack.configure do |config|
config.token = ''
end
@market = 'https://offthegrid.com/otg-api/passthrough/markets/%d.json/'
UN_PLAZA = (@market % 5).freeze
@paradox460
paradox460 / bookformat.rb
Created August 27, 2016 23:00
Little script for formatting Google Takeout JSON book lists into Goodreads compatible CSVs
#! /usr/bin/env ruby
require 'json'
require 'csv'
files = Dir.glob('**/*.json')
CSV.open('googleplay.csv', 'wb') do |csv|
csv << ['ISBN', 'Date Read', 'Bookshelves']
files.each do |f|
begin
x = JSON.load(IO.read(f).gsub(/\[\]\z/,''), :quirks_mode => true)
@paradox460
paradox460 / drink.md
Created September 6, 2015 03:55
Autumn Leaves drink

Autumn Leaves

Ingredients

  • 1 shot clear rum
  • 1 shot simple syrup
  • 1 dash Angostura bitters
  • 2 sage leaves
  • Ground pepper
  • 1 lemon
effective.
Power
لُلُصّبُلُلصّبُررً ॣ ॣh ॣ ॣ