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
WHITE="\[\033[00m\]" | |
BLACK="\[\033[01;30m\]" | |
RED="\[\033[0;31m\]" | |
LIGHT_RED="\[\033[1;31m\]" | |
GREEN="\[\033[0;32m\]" | |
LIGHT_GREEN="\[\033[1;32m\]" | |
YELLOW="\[\033[0;33m\]" | |
BLUE="\[\033[0;34m\]" | |
PURPLE="\[\033[0;35m\]" | |
CYAN="\[\033[0;36m\]" |
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
function DatastoreQueuePlugin(config) { | |
// console.log(config, Y.DataSource.Local.transactions); | |
this._ds = config.host; | |
console.log(this._ds, this._ds._queue); | |
this.transactions = []; | |
this._ds.on('request', this.add, this); | |
this._ds.on('response', function(e) { |
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
<?xml version="1.0" encoding="utf-8"?> | |
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" | |
xmlns:dcterms="http://purl.org/dc/terms/" | |
xmlns:fh="http://purl.org/syndication/history/1.0" | |
xmlns:ooyala="http://www.ooyala.com/mrss/"> | |
<channel> | |
<item> | |
<media:content url="http://media.sheknows.com/videos/mommalogues-hd/[ML]_Most_Beautiful_Age_Cindy_720.mp4" /> | |
<media:title>At what age or stage in your life did you feel the most beautiful and why? - Cindy</media:title> | |
<media:thumbnail url="http://media.sheknows.com/videos/mommalogues-hd/ml__most_beautiful_cindy_thumb.jpg" /> |
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
cp = require 'child_process' | |
options = [ | |
'-e', '''"ls | |
cd dir | |
ls | |
bye"''' | |
'-u', 'username,password', | |
'hostname' | |
] |
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 just the stylesheet from semantic.gs, with the body style removed |
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
#thing1 { | |
display: inherit; | |
background-color: #f00; | |
} | |
@media (max-width: 767px) { | |
#thing1 { | |
display: none !important; | |
} | |
} | |
#thing2 { |
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
// load the page layout | |
extends layout | |
block styles | |
!= css("index") | |
block content | |
header This is a responsive page | |
section.activities |
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
Show hidden characters
{ | |
"folders": | |
[ | |
{ | |
"path": "~/Dropbox/Leanpub", | |
"folder_exclude_patterns": ["epub_images", "convert_html", "preview", "published"], | |
"file_exclude_patterns": [".gitignore", "*.sublime*", "*Icon*", ".dropbox"] | |
} | |
], | |
"settings": |
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
{ | |
// Plugin settings | |
// The path to the php executable. | |
// Needed for windows, or anyone who doesn't/can't make phars | |
// executable. Avoid setting this if at all possible | |
"php_cs_fixer_executable_path": "/usr/local/bin/php-cs-fixer", | |
// Execute the sniffer on file save | |
"phpcs_execute_on_save": true, |
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
{ | |
// Plugin settings | |
// PHP-CS-Fixer settings | |
// Path to where you have the php-cs-fixer installed | |
"php_cs_fixer_executable_path": "/usr/local/bin/php-cs-fixer", | |
// Fix the issues on save | |
"php_cs_fixer_on_save": true, | |
// Show the quick panel | |
"php_cs_fixer_show_quick_panel": false, |
OlderNewer