Skip to content

Instantly share code, notes, and snippets.

View fhinson's full-sized avatar

Francis Hinson fhinson

View GitHub Profile
Sabar
- Openings
- Optimizations
Custom Caching
Runtime Improvements
Getting Rid of Votes
- SEO
metamagic
dynamic_sitemaps
- Tags
@fhinson
fhinson / ChesscademyHackathon1
Last active August 29, 2015 13:56
Chesscademy Hackathon #1
Rules
The focus of this hackathon is tactics.
This is a 24-hour hackathon.
You must build in stealth mode.
You may not collaborate with others (unless you have a technical question).
Each hack will be judged by the other two co-founders.
Hacks with overlapping feature sets will be compared by code-quality.
The Hack
@fhinson
fhinson / gist:9658590
Created March 20, 2014 06:54
Chesscademy Tactic Assignment Algorithm
Chesscademy Tactic Assignment Algorithm
Rating period = size of current streak (see streak algorithm)
Assume typical player has rating deviation of 50
determine uncertainty of player's skill through data analysis
keep the volatility constant at 0.06
for user:
RD = sqrt((50^2) + user_streak.length*(uncertainty^2))
@fhinson
fhinson / sweet-alert.js
Last active August 29, 2015 14:07
sweet-alert.js
// SweetAlert
// 2014 (c) - Tristan Edwards
// github.com/t4t5/sweetalert
function initSweet() {
var modalClass = '.sweet-alert',
overlayClass = '.sweet-overlay',
alertTypes = ['error', 'warning', 'info', 'success'];
@fhinson
fhinson / iologo.svg
Last active January 30, 2021 07:42
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@fhinson
fhinson / test.json
Created July 18, 2018 19:05
Typeform Logic Jump Example
{
"title": "Logic Testing Survey",
"hidden": [
"survey_id"
],
"settings": {
"language": "en",
"is_public": true,
"show_typeform_branding": false,
"meta": {
@fhinson
fhinson / data.json
Created August 12, 2021 23:03
JFK -> LHR
This file has been truncated, but you can view the full file.
{
"PricedItineraries": [
{
"AirItinerary": {
"OriginDestinationOptions": {
"OriginDestinationOption": [
{
"FlightSegment": [
{
"DepartureAirport": {