Skip to content

Instantly share code, notes, and snippets.

@williamd1k0
williamd1k0 / demo_markdown.md
Last active February 23, 2021 14:32
Ren'Py - Demo Script Example

Ren'Py language using the pre/code in Markdown

Using pre/code:


```renpy
# Ren'Py statements
```
@Falconerd
Falconerd / gulpfile.js
Last active April 10, 2019 17:16
Gulp + Watchify + Babelify + BrowserSync
/**
* This gulpfile will copy static libraries and a index.html file as well as
* merge, babelify and uglify the rest of the javascript project.
*
* TODO:
* - Separate media, libs and src with different watchers.
* - Media and libs should only be copied to dist if they are different sizes.
*
* The expected project is to be laid out as such:
*
@simshanith
simshanith / subl-build.js
Last active August 29, 2015 14:06
Runs list of sublime build variants from command line.
#!/usr/bin/env node
var fs = require('fs');
var path = require('path');
var util = require('util');
var buildOrder = [
'Locator Models',
'WCM Services',
'MCCOM Services',
@simshanith
simshanith / svn-update.js
Last active August 29, 2015 14:06
mc-repo-updater
#!/usr/bin/env node
var path = require('path');
var repos = [
'MasterCard_MCCOM',
'MasterCard_MCCOMServices',
"MasterCard_WCM",
"MasterCard_WCMServices",
'aem',
@jtangelder
jtangelder / PreventGhostClick.js
Last active January 17, 2024 21:55
PreventGhostClick
/**
* Prevent click events after a touchend.
*
* Inspired/copy-paste from this article of Google by Ryan Fioravanti
* https://developers.google.com/mobile/articles/fast_buttons#ghost
*
* USAGE:
* Prevent the click event for an certain element
* ````
* PreventGhostClick(myElement);