Drag Mayor Everywhere to your bookmarklet bar and enjoy
This file contains 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 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 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 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 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 _draw = function() { | |
var angle = 90, | |
total = 0, | |
start = 0, | |
stroke = Raphael.rgb(52,125,168), | |
process = function (j) { | |
if(j == voted){ | |
color = Raphael.rgb(235,194,0); | |
} else { | |
color = Raphael.rgb(200,200,200); |
##Question
curl -X POST -d @question.json -H "Content-Type:application/json" "http://wedgies-api-production.herokuapp.com/question"
{
This file contains 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 url = 'https://api.themoviedb.org/3/movie/'; | |
imdb_id = 'tt0102685'; | |
key = '?api_key=9a2c8fe3fd95dcd12c59204ad2899b9e'; | |
append = '&append_to_response=credits'; | |
$.ajax({ | |
type: 'GET', | |
url: url + imdb_id + key + append, | |
dataType: 'jsonp', | |
success: function(data) { |
Wedgies is a platform for real time polls across social channels. You can create a question on Wedgies.com and share it to Facebook or Twitter immediately. You can also use our widget to embed the question on your website or blog and gather responses while creating engagement. We have provided javascript, iframe and WordPress plugin solutions to help you get started.
<script src='https://www.wedgies.com/js/widgets.js'></script>