Skip to content

Instantly share code, notes, and snippets.

View lc-guy's full-sized avatar
🐧
never forget grape-kun

lc-guy

🐧
never forget grape-kun
View GitHub Profile
@lc-guy
lc-guy / event-pokemon-json-generator.rb
Created September 5, 2014 20:31
Dumping event pokémon data to json
require 'open-uri'
require 'json'
require 'execjs'
jsobject = open("https://raw.githubusercontent.com/Zarel/Pokemon-Showdown/master/data/formats-data.js").read.sub("exports.BattleFormatsData = ", "")[0..-3]
puts "Opened raw events file."
eventpokehash = JSON.parse(ExecJS.eval("JSON.stringify(#{jsobject})"))
puts "Parsed the file as JSON."
@lc-guy
lc-guy / uguush
Last active August 29, 2015 14:23
Uguush - Adapted for JVC
#!/usr/bin/env bash
#
# uguush - upload to various file hosts
#
# forked from https://github.com/jschx/uguush
## CONFIGURATION
# pogo id - insert yours here
pogoid=""