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
*************LEGEND**************** | |
* * | |
* {} => params * | |
* [] => optional * | |
* () => description * | |
* == => alternative way * | |
* *** => quick * | |
* * | |
*********************************** | |
create .gitignore file on root. |
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
#!/bin/bash | |
set -e | |
git clone git://github.com/jhs/build-couchdb.git | |
cd build-couchdb | |
git submodule init | |
git submodule update | |
echo '@setfilename autoconf.info' > dependencies/autoconf-2.69/doc/autoconf.texi | |
echo '@setfilename automake.info' > dependencies/automake-1.11.2/doc/automake.texi | |
( cd dependencies/autoconf-archive; ed cfg.mk <<< $'g/@diff/d\nw'; git commit -a -m 'fix build' ) | |
git commit -a -m 'fix build' |
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
{I have|I've} been {surfing|browsing} online more than {three|3|2|4} hours today, yet I never found any interesting | |
article like yours. {It's|It is} pretty worth enough | |
for me. {In my opinion|Personally|In my view}, if all {webmasters|site owners|website owners|web owners} and bloggers | |
made good content as you did, the {internet|net|web} will be {much more|a | |
lot more} useful than ever before.| | |
I {couldn't|could not} {resist|refrain from} commenting. | |
{Very well|Perfectly|Well|Exceptionally well} written!| | |
{I will|I'll} {right away|immediately} {take hold of|grab|clutch|grasp|seize|snatch} your {rss|rss feed} as I {can not|can't} {in finding|find|to find} | |
your {email|e-mail} subscription {link|hyperlink} or {newsletter|e-newsletter} service. |
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
// mindbody.js | |
// Replace source_name, password and site_id values in `var params` | |
var soap = require('soap'); | |
module.exports = { | |
getClasses: function (req, res) { | |
var url = "https://api.mindbodyonline.com/0_5/ClassService.asmx?wsdl"; | |
soap.createClient(url, function (err, client) { | |
if (err) { |
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 (d, f, a) { | |
// Your settings here | |
var o = { | |
maxLinks: 4, | |
searchElements: ['div', 'h'], | |
linkClass: 'link-to-mdn', | |
extraLinks: { | |
'keywordx': 'http://example.com' | |
} | |
}; |
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
return /^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f |
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
var jsondata = { | |
'name': { | |
'fname': 'Jack', | |
'lname': [ | |
{'familyName': 'Sparrow'}, | |
{'surname': 'Captain'}, | |
{'tags':[ | |
{'test': 'mocha'}, | |
'program', | |
{'level': 'five',} |
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
var jsondata = { | |
'name': { | |
'fname': 'Jack', | |
'lname': [ | |
{'familyName': 'Sparrow'}, | |
{'surname': 'Captain'}, | |
{'tags':[ | |
{'test': 'mocha'}, | |
'program', | |
{'level': 'five',} |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"/> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> | |
<title>{Title} - Mozilla India</title> | |
<!-- Base theme "Clarus" by Benjamin Nathan <[email protected]> --> | |