Skip to content

Instantly share code, notes, and snippets.

View gist:3f257badca7cfc2f7a940b0b8b56c8ec
=======================
SNES
=======================
7th Saga, The (USA)
ActRaiser (USA)
Aladdin (USA)
Alien 3 (USA)
Arkanoid - Doh it Again (USA)
Axelay (USA)
@davidrenne
davidrenne / gist:c903998b98b7920d529f9c9f169e2f3b
Created May 24, 2022
Calculate moment-timezone GMT time regardless of users local timezone offset.
View gist:c903998b98b7920d529f9c9f169e2f3b
import moment from 'moment-timezone';
moment().tz("America/Detroit", true).utcOffset(0, false).format();
@davidrenne
davidrenne / gist:638d10102fc75ac62334dc85301be836
Created Jan 18, 2019
ALT + ` (Switch between same application windows)
View gist:638d10102fc75ac62334dc85301be836
!`:: ; Next window
WinGetClass, ActiveClass, A
WinGet, WinClassCount, Count, ahk_class %ActiveClass%
IF WinClassCount = 1
Return
Else
WinGet, List, List, % "ahk_class " ActiveClass
Loop, % List
{
index := List - A_Index + 1
@davidrenne
davidrenne / gist:af714f8b683a478931edfd8381adb598
Created Dec 21, 2018
Paste into console to scroll forever and be able to stop it later. Perfect for screen scraping and just printing a pdf of most sites who forever load.
View gist:af714f8b683a478931edfd8381adb598
var scrollInt = 0;
function ScrollForever() {
scrollInt = window.setInterval(function() {window.scrollTo(0,document.body.scrollHeight);}, 1000);
}
function StopScrolling() {
window.clearInterval(scrollInt);
}
ScrollForever();
@davidrenne
davidrenne / gist:28e123e27417f3326aee18363f69bc77
Created Jun 6, 2018
This is an example abstraction for TextField MUI slowness to convert your onChange callers to set parent state onBlur instead and keep state local to render the individual textbox component
View gist:28e123e27417f3326aee18363f69bc77
import MUIField from 'material-ui/TextField';
import React, {Component} from 'react';
class TextField extends Component {
constructor(props, context) {
super(props, context);
this.state = {
value: props.value || props.defaultValue
@davidrenne
davidrenne / gist:8a090f68d62192e2aed8a57a6da38130
Created Jan 7, 2018
All memorycrawler.com stories exported
View gist:8a090f68d62192e2aed8a57a6da38130
This file has been truncated, but you can view the full file.
Memorycrawler.com User Bjorn_Freeh Memories
=========================MEMORY INFO=====================================
|Memory Name:Answering Interview:Batman for TV, 1966<br/><br/>Do you remember when Batman (Adam West) and Robin (Burt Ward) climbed the charts in prime-time TV?
|
|Place:Marysville, Michigan
|
@davidrenne
davidrenne / gist:b5fe3cd6ba5ecb05f3fe5f78ed43ae82
Created Jan 7, 2018
Description of memorycrawler podcast
View gist:b5fe3cd6ba5ecb05f3fe5f78ed43ae82
MemoryCrawler.com Podcast Episode 1: Our First Podcast!
Alan Jackson song was removed so we dont have any copyright issues (Search for a song called www.memory). TheMemoryCrawler is nervous about first podcast and tries to give a site overview. Calling grandpataylor (memory about catching fish). Shithouse memory from grandpataylor. Facebook integration with memorycrawler. Toe Jam and Earl relation to memorycrawler rankings. Post a memory of being a home wrecker. Calling brother dan10878 (sorry about the low audio). Beth Stalker plug. All you need is a little TCF bank! Susan loves my pathetic things I have done. Bank nightmares/learning experiences. Release of the wii. Name that videogame tune.
MemoryCrawler.com Podcast Episode 2: Thanksgiving Special
Memorycrawler Thanksgiving special. Interview with Aunt Becca. Knock down of her Ex-Husband and popping babies out. Baby stories of when Becca was born. Dan, Dave and Noel talk about Pickled Pigs Feet. Uncle Kirt talks about Marthon experience. Barb Taylor tal
View gist:229b92c83fd2b6427725d6fc492306a2
if [[ "$1" == "y" ]]; then
echo -n "Enter github.com username>";
read username;
echo "$username"
fi;
View gocore_install
set -e
appName=$1
username=$2
pushGithub=$3
rm -rf $appName/
camelUpper="${appName^}"
mkdir -p $appName/build$camelUpper
mkdir -p $appName/modelBuild$camelUpper
cd $appName/
IN=$(pwd)
View gist:9a70981cd852ab135bfab8b1c55a24a0
Ebay 96 case 1: 1990s/2000s Rock/Metal Collection
The Mars Volta\De-Loused in the Comatorium
Cave In\Jupiter
Jimmy Eat World\Bleed American
Spawn\The Album
Nirvana\Nevermind
Stone Temple Pilots\Shangri La Dee Da
Queens of the stone age\Songs for the Deaf