Setting up Passport.js (REST API w/token auth) Example
- app.js
var express = require('express'),
app = express(),
port = process.env.PORT || 3000,
mongoose = require('mongoose'),| cat rss.rss | grep -o 'url="[^"]*' | grep -o '^[^?]*' | grep -o 'https[^"]*' | xargs wget -c |
| // Reference: http://lea.verou.me/2011/10/easily-keep-gh-pages-in-sync-with-master/ | |
| $ git add . | |
| $ git status // to see what changes are going to be commited | |
| $ git commit -m 'Some descriptive commit message' | |
| $ git push origin master | |
| $ git checkout gh-pages // go to the gh-pages branch | |
| $ git rebase master // bring gh-pages up to date with master | |
| $ git push origin gh-pages // commit the changes |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
|---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
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)
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> | |
| <title>Bootstrap 101 Template</title> | |
| <!-- Bootstrap --> |
| #!/bin/bash | |
| # | |
| # Usage: | |
| # cake-logs -s "GET" -e [prd|stg] | |
| ENVIRONMENT="prd" | |
| while [[ $# > 1 ]]; do | |
| PARAM="$1" | |
| shift |
| #!/bin/bash | |
| # | |
| # Usage: | |
| # search-crons -s "similar" -e [prd|stg] | |
| ENVIRONMENT="prd" | |
| while [[ $# > 1 ]]; do | |
| PARAM="$1" | |
| shift |
| #!/bin/bash | |
| # | |
| # Usage: | |
| # error-logs -s "GET" -e [prd|stg] | |
| ENVIRONMENT="prd" | |
| while [[ $# > 1 ]]; do | |
| PARAM="$1" | |
| shift |