Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
// backbone collections lack a search functionality. This adds it to all collections. | |
// fuse.js is the library that powers the fuzzy search and requires being downloaded and included into your app | |
// http://kiro.me/projects/fuse.html | |
_.extend(Backbone.Collection.prototype, { | |
searchableFields: null, | |
buildSearchIndex: function(options) { | |
options = (typeof options !== 'undefined') ? options : {}; |
#!/bin/bash | |
# mov2giv in out width | |
# mov2gif video_file_in.mov gif_file_out.gif 300 | |
tmp_dir=/tmp/frames_$(date +%s) | |
mkdir $tmp_dir | |
if [ -z "$3" ] | |
then | |
size=600 |
'Label[platform=android]': { | |
color: '#000' // all platforms except Android default to black | |
} | |
'Window': { | |
backgroundColor: '#fff' // white background instead of default transparent | |
} | |
'Window[platform=android]': { | |
modal: false // make android windows all heavyweight |
Simple wrapper around JSON global that adds graceful error handling via try/catch. 😋
module.exports = (function(){
var parse = JSON.parse;
return {
stringify: JSON.stringify,
'use strict'; | |
const Queue = require( 'firebase-queue' ); | |
function EventsCollector ( app_name, firebase, keen_client ) { | |
this.app_name = app_name; | |
this.firebase = firebase; | |
this.keen_client = keen_client; | |
} |
<div id="iPhoneBro" class="iPhone gen"> | |
<div class="title"> | |
<input type="submit" class="back button" value="Messages"> | |
<span class="contact_name button">(614) MEME-BRO</span> | |
<input type="submit" class="edit button" value="Edit"> | |
</div> | |
<div id="conversation" class="conversation "> | |
<div class="time"><div class="time"><p>Aug 9, 2012 3:43 AM</p></div></div><div class="text sent" id="query"><div class="reflect"></div><p>Check Out <a href-"http://www.memebro.com/?r=codepen">memebro.com</a></p></div> | |
<div class="text receive"><div class="reflect"></div><p>Try "+popular", "+trending", or "+new" for meme lists</p></div> | |
<div class="text sent" id="query"><div class="reflect"></div><p>+popular</p></div> |
this.ycQuestions = [ | |
"So what are you working on?", | |
"Have you raised funding?", | |
"What makes new users try you?", | |
"What competition do you fear most?", | |
"What’s the worst thing that has happened?", | |
"Will you reincorporate as a US company?", | |
"What’s an impressive thing you have done?", | |
"Where is the rocket science here?", | |
"Why did you pick this idea to work on?", |
~/.appcelerator/install/For CLI Version/package/node_modules/
delete the folder alloy
package.json
filechange the alloy version from ~1.8.0
to 1.9.0
p { | |
font-size:18px; | |
line-height:24px; | |
text-align: justify; | |
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAbCAYAAAC5rTVJAAAA3ElEQVQY0wXBwU3CABQA0Oe3IVgarFpDwYNH41GvLuMYzuQ4boBKiqGBptbCoQHf8+b19C4/vb44RWElmTdWEyJXaUuqMZFaO1zykxCJ2nDBJoghoxnjeCv6lHqEYSaaKdsc+4WoMz5nN/QLsZ7wcXjkrxSrCdvjE10hqjG+zmlz8ZOgSehTsQkcS7pEON6yD4VBGGa0Y6Ve2C/YPptrhH7h+vvgTi38lR7USmuhK9zrZZZCm7uy1VkKfSrVoRa6xJmdQisKA1qjlCj1Er/SjJhrDCrNlLhTK+3UGf/2IVZs3eANJQAAAABJRU5ErkJggg==); | |
background-size:100% 72px; | |
-webkit-background-clip:text; | |
-webkit-text-fill-color:transparent | |
} |