Skip to content

Instantly share code, notes, and snippets.

@DanBradbury
DanBradbury / usage.md
Last active Feb 19, 2020
Ripping character data from ultimateframedata.com
View usage.md

Works on character links like this one..https://ultimateframedata.com/wario.php

  1. open console w/ F12 and paste the code above in
  2. final string is a CSV which you can import and use
  3. celebrate automation 🎉

Pasting this for my own future usage / refinement for pulling the entire cast out.. good starting point and looking at the source should get you any details that are presented and have the copy/paste protection on the website

@DanBradbury
DanBradbury / notes.md
Created Dec 19, 2019
Counter-Pick Wednesdays Episode 4
View notes.md

Counter-Pick Wednesdays Episode 4 (12/18)

Game vs VersedAce (Palu/Lucina)

Felt like I was in both games because of good reads / just solid neutral but when we got down to last stock / kill situation I changed my playstyle and allowed him to comeback (recognized I was about to take a game off of him G1 and then proceeded to flub and remove my hands from the controller on his bair flash)

  • fighting his Palu like I did gave me some confidence and ideas in the MU. I didnt go into the fight thinking I had no chance. I knew I had to be solid and felt like I was for 90% of the game

Game vs Aka

Won G1 in a comeback fashion (lost an early stock when he had ~40%) and brought it back for a nice win. After the game he thought about switching to Fox which would have been a big mistake on his part (easiest spacie to fight for DH). G2 I was down to 1 stock to his 3 and decided to just download for the rest of the game since there was no chance.. I brought it back to 1 stock a piece and got him to 50+ before ten

View ld43_post_mortem.md

Ludum Dare 43 Post Mortem

I'll do my best to keep all my disappointment out of this post but I am obviously a little upset that after X hours of work I didn't have a game to deliver. I think there are tons of things to take away from the entire experience even though technical tooling issues became too much.

What Ended Everything

I don't think it's fair to blame all the problems on a single extension but I will say that it was not smart on my part to try and use something I had never used (full cycle; dev -> deliverable .exe / HTML package).. I'm usually not the one to buy into the marketing hype but I was sold on the idea of having my draw functions be reloaded when I saved an object without having to recompile (was a huge save) without truly thinking about the potential consequences 3 days into the competition...

Not testing the tool (GMLive) adequately before jumping into a competition was a mistake.. should have / could have used a day before the Jam to create a small project that I had tested the

@DanBradbury
DanBradbury / download_and_unzip.py
Last active Nov 16, 2018
Automate Bundle Download
View download_and_unzip.py
import urllib, zipfile, os
from tqdm import tqdm
links = [
]
for link_location in tqdm(links):
urllib.urlretrieve(link_location, "temp.zip")
zip = zipfile.ZipFile("temp.zip")
View upload_func.py
import yaml,os, json
ENV_PREFIX = 'cc-api-service-beta-'
with open('serverless.yml') as f:
data = yaml.safe_load(f)
#print data['provider']['environment']
env_vars = {}
#env_string = "--environment Variables={first=1"
for env_var in data['provider']['environment'].keys():
View amtrakconnect.html
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Metas tag -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<title>AmtrakConnect - Welcome</title>
<link rel="stylesheet" type="text/css" href="css/siimple.css">
<link href="css/styles.css" rel="stylesheet" type="text/css">
View gist:517b3a0cee244d17e11fcf73af966572
http://imgur.com/a/DGraO
http://imgur.com/a/mQGSz
http://imgur.com/a/SvszQ
http://imgur.com/a/zD7KT
http://imgur.com/a/6Vz5I
http://forums.unfiction.com/forums/viewtopic.php?t=40750
View googleFetch.rb
#!/usr/bin/env ruby
require 'uri'
require 'net/https'
require 'nokogiri'
if ARGV.size != 1
puts "Usage: ruby googleFetch.rb SEARCH_VALUE"
exit
end
search_value = ARGV[0]