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
/* | |
* Grunt Task File | |
* --------------- | |
* | |
* Task: coffee | |
* Description: Compile coffee files to js | |
* Dependencies: coffee-script | |
* | |
*/ |
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
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2275387/hack.sh | sh | |
# |
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
#!/usr/bin/env ruby | |
require 'mechanize' | |
require 'open-uri' | |
require 'pathname' | |
require 'fileutils' | |
require 'pp' | |
### BEGIN CUSTOMIZATION | |
# set this to where you would like the reports to be stored |
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
#!perl | |
use common::sense; | |
use HTTP::Request::Common; | |
use LWP::UserAgent; | |
use URI; | |
use Compress::Zlib; | |
use Perl6::Say; | |
my $uri = URI->new("https://reportingitc.apple.com/autoingestion.tft"); |
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
<?php | |
function podlove_camelcase_to_snakecase( $string ) { | |
return preg_replace( '/([a-z])([A-Z])/', '$1_$2', $string ); | |
} | |
function podlove_camelsnakecase_to_camelcase( $string ) { | |
return str_replace( '_', '', $string ); | |
} |
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
@marycheh | |
@cmmichaelabrown | |
@jimgrahamward1 | |
@jackevansward2 | |
@murielbowser | |
@kenyanmcduffie | |
@tommywells | |
@cmyma | |
@marionbarryjr | |
@cataniapress |
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
subject: DC COUNCIL VOTES ON THE UBER AMENDMENT | |
Dear [Mr/Mrs X], | |
I would like to ask you to strike down the MINIMUM FARE language from the Uber Amendment. The minimum fare is an attack on start-ups and hinders innovation. Please tell me what your position in this matter is. The question is: Are you in favor of innovators or incumbents? | |
Your name and response will be published in a blog of a 1,000,000 + readers. | |
If you’ll ignore this email, your name will be published as the | |
DC Council-member who chose to ignore my email. | |
Thank you for your fastest reply. |
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
(function(doc) { | |
var addEvent = 'addEventListener', | |
type = 'gesturestart', | |
qsa = 'querySelectorAll', | |
scales = [1, 1], | |
meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : [], | |
fix = function() { | |
meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1]; | |
doc.removeEventListener(type, fix, true); | |
}; |
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
define ["chaplin", "underscore"], (Chaplin, _) -> | |
mediator = Chaplin.mediator | |
class Renderer | |
constructor: -> | |
@initialize arguments... | |
# list of screens currently in DOM | |
screens: [] |
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
coffee: | |
modules: | |
files: | |
src: ["src/**/*.coffee"] | |
dest: '.' | |
expand: true | |
rename: (destBase, destPath) -> destBase + destPath.replace(/\.coffee$/, '.js') |
OlderNewer