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
import argparse | |
import requests | |
import time | |
import json | |
def main(): | |
""" | |
Entry point of the application | |
:return: void |
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
#!/bin/bash | |
# Instructions to run | |
# create-reminder "Say thanks to Luis for this wonderful IFTTT recipe!" | |
# Instructions to configure | |
# Save this file as /usr/local/bin/create-reminder | |
# Run chmod +x /usr/local/bin/create-reminder | |
# Change the following lines | |
event_name="create_reminder" |
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
#!/bin/bash | |
# echo export ANDROID_SDK=/Users/luis/Library/android-sdk-macosx >> ~/.zshconfig | |
# sudo echo /Users/luis/Library/android-sdk-macosx/tools >> /etc/paths | |
# sudo echo /Users/luis/Library/android-sdk-macosx/platform-tools >> /etc/paths | |
# ~/Library/Application Support/Titanium | |
# ~/Documents/Appcelerator_Studio_Workspace | |
echo "Installing python dependencies" | |
sudo easy_install pycrypto pyopenssl pyyaml Pygments markdown |
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
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
https://iirs.googlecode.com/svn-history/r10/trunk/utiles/sinonimos.csv |
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
Links with more information: | |
http://docs.appcelerator.com/platform/latest/#!/guide/Alloy_XML_Markup-section-35621528_AlloyXMLMarkup-CollectionElement | |
http://docs.appcelerator.com/platform/latest/#!/guide/Alloy_Data_Binding |
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
#!/bin/bash | |
docker images -q --filter "dangling=true" | xargs docker rmi |
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
'use strict'; | |
var assert = require("assert"); | |
var should = require("should"); | |
var include = require("include"); | |
var bootstrap = include("test/bootstrap.test"); | |
var Factory = require("sails-factory").load(); | |
var Chance = require("chance"); |
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 sinon = require('sinon'), | |
wolfpack = require('wolfpack'); | |
// Mock EmailSender | |
global.EmailSender { | |
sendEmailToUser: sinon.stub() | |
}; | |
// Instantiate you model | |
global.User = wolfpack('path_to_models/User'); |
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
#!/bin/bash | |
############################################################################ | |
# Note: Special network 192.162.50.3 to use Cisco Anyconnect Split tunnel. | |
# | |
# On OX X host you need to add a line (and file) /etc/exports: | |
# /Users -mapall=[youruser]:[yourgroup] [boot2dockerip] | |
# See: https://quip.com/EDYLAAfuup5M (no login needed) | |
# See also: https://github.com/boot2docker/boot2docker/issues/587#issuecomment-66935011 | |
# See also: http://support.apple.com/en-us/HT202243 |
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 | |
/** | |
* Class HTML_To_Markdown | |
* | |
* A helper class to convert HTML to Markdown. | |
* | |
* @version 2.1.1 | |
* @author Nick Cernis <[email protected]> | |
* @link https://github.com/nickcernis/html2markdown/ Latest version on GitHub. | |
* @link http://twitter.com/nickcernis Nick on twitter. |
NewerOlder