This is the reference point. All the other options are based off this.
|-- app
| |-- controllers
| | |-- admin
//index.js | |
var express = require('express'), | |
app = module.exports = express.createServer(), | |
mongoose = require('mongoose'); | |
mongoose.connect('mongodb://localhost/nodeAuth'); | |
//configure app | |
app.configure(function() { | |
app.set('views', __dirname + '/views'); |
/** | |
* Module dependencies | |
*/ | |
var express = require('express'); | |
var fs = require('fs'); | |
var mongoose = require('mongoose'); | |
var Schema = mongoose.Schema; | |
// img path |
### Instructions source http://tumblr.intranation.com/post/766290743/using-dropbox-git-repository #### | |
-- make empty repo on dropbox: | |
cd ~/Dropbox/RipeApps/Git | |
mkdir -p newname.git | |
cd !$ | |
git --bare init | |
-- push your junk into it | |
cd ~/Projects/myrepo |
{ | |
"name": "SyncExtension", | |
"version": "0.1", | |
"manifest_version": 2, | |
"description": "Storage Sync Extension", | |
"permissions": [ "storage" ], | |
"browser_action": { |
<?php | |
/** | |
* Enqueue scripts and styles | |
*/ | |
function your_theme_enqueue_scripts() { | |
// all styles | |
wp_enqueue_style( 'bootstrap', get_stylesheet_directory_uri() . '/css/bootstrap.css', array(), 20141119 ); | |
wp_enqueue_style( 'theme-style', get_stylesheet_directory_uri() . '/css/style.css', array(), 20141119 ); | |
// all scripts | |
wp_enqueue_script( 'bootstrap', get_template_directory_uri() . '/js/bootstrap.min.js', array('jquery'), '20120206', true ); |
Learn how you can create your own Twitter bot using Node.js and the new Twitter API. The bot will auto retweet in response to tweets with some particular hashtags. (https://goo.gl/4whEIt)
Here are the tools we’ll be using to create the bot —
// You must have node and npm downloaded on your computer | |
// Download bitcoinjs library | |
npm install bitcoinjs-lib | |
// Require bitcoinjs-lib | |
var bitcoin = require("bitcoinjs-lib"); | |
// Make variable for keyPair | |
var keyPair = bitcoin.ECPair.makeRandom(); |
--- !https://twitter.com/PoliceNG/status/1204006677990821888?s=19 | |
states: | |
- state : abia | |
phones: | |
- '0803541540' | |
- '08079210003' | |
- '08079210004' | |
- '08079210005' | |
- state : adamawa | |
phones: |