Drag Mayor Everywhere to your bookmarklet bar and enjoy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <a href="javascript:(function(){if(window.myBookmarklet!==undefined){myBookmarklet();}else{document.body.appendChild(document.createElement('div')).setAttribute('id','netcomBox');document.body.appendChild(document.createElement('script')).src='https://gist.github.com/jimmyjacobson/5021937/raw/67d61f1345b5ffe22469103064e091c2b71439a3/cityofhenderson.js?';}})();">Mayor Everywhere</a> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var UFO = { | |
| req: ["movie", "width", "height", "majorversion", "build"], | |
| opt: ["play", "loop", "menu", "quality", "scale", "salign", "wmode", "bgcolor", "base", "flashvars", "devicefont", "allowscriptaccess", "seamlesstabbing", "allowfullscreen", "allownetworking"], | |
| optAtt: ["id", "name", "align"], | |
| optExc: ["swliveconnect"], | |
| //ximovie: "http://netcominteractive.com/player/swf/ufo.swf", | |
| ximovie: "http://cityofhenderson.com/netcom/swf/ufo.swf", | |
| xiwidth: "215", | |
| xiheight: "138", | |
| ua: navigator.userAgent.toLowerCase(), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This is a comment. | |
| /* | |
| This is a multiline comment | |
| */ | |
| // ---------------------------------- // | |
| // Variables // | |
| // ---------------------------------- // | |
| // -- Numbers: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var mode = process.env.NODE_ENV ? process.env.NODE_ENV : 'development'; | |
| var config = { | |
| development: { | |
| redis: { | |
| host: 'localhost', | |
| port: 6379, | |
| auth: null | |
| }, | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (false); { | |
| console.log('WHY AM I SEEING THIS!?!?!?!'); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Prefix | |
| var prefix = exports.prefix = 'cinchtool'; | |
| //link Keys | |
| exports.link = 'link'; | |
| exports.links = 'links'; | |
| exports.linksId = prefix + ':ids:link'; | |
| exports.linkKey = function(id) { | |
| return prefix + ':link:' + id; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var http = require('http'); | |
| var redis = require("redis") | |
| , db = redis.createClient(); | |
| function main(callback) { | |
| var options = { | |
| host: "search.twitter.com", | |
| port: 80, | |
| path: "/search.json?q=momolv" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl -d "startDate=1234" "http://localhost:3000/event" | |
| { | |
| "type": "ValidationError", | |
| "msg": "Event creation failed", | |
| "errors": [ | |
| { | |
| "msg": "missing parameter", | |
| "parameter": "endDate" | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Let's start with some people | |
| vegastech:people:person:raycmorgan { | |
| name: Ray Morgan | |
| } | |
| vegastech:people:person:jimmyjacobson { | |
| name: Jimmy | |
| } |