custom skeleton JRL
A Pen by Jonathan R Lopez on CodePen.
custom skeleton JRL
A Pen by Jonathan R Lopez on CodePen.
| //creator Jonathan R. Lopez | |
| var write = function(inputString) { | |
| process.stdout.write(inputString); | |
| } | |
| var test = function() { | |
| return 'has test' | |
| } | |
| var checkingAlphabet = function(result) { | |
| //var checkResult = !result ? null : result; | |
| hasAlphabet = /^[a-z]$/i; |
| function processData(input) { | |
| //creator Jonathan R. Lopez | |
| var write = function(inputString) { | |
| process.stdout.write(inputString); | |
| } | |
| var test = function() { | |
| return 'has test' | |
| } | |
| var checkingAlphabet = function(result) { | |
| //var checkResult = !result ? null : result; |
| :set list | |
| :set listchars=tab:\|\<Space> |
| <!DOCTYPE html> | |
| <html lang="en" ng-app="myApp"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Angular Focus Event Directive</title> | |
| </head> | |
| <body> | |
| <div ng-controller="myController"> | |
| <h2>Focus Event Directive</h2> | |
| Input 1: <br> |
| var port = 8080, | |
| fs = require("fs"), | |
| http = require("http"), | |
| server = http.createServer() | |
| function forEachLine(chunks, callback) { | |
| var buffer = chunks.join("") | |
| buffer.substr(0, buffer.lastIndexOf("\n")).split("\n").forEach(callback) | |
| return buffer.substr(buffer.lastIndexOf("\n") + 1).split("\n") | |
| } |
| //appending elements in js.... | |
| function createElements(element, attr, inner) { | |
| //checkes whether the user has logged in an element | |
| if(typeof(element) === 'undefined') return false; | |
| //checks whether the user has logged in an inner link | |
| if(typeof(inner) === 'undefined') return inner = 'undefined'; | |
| //if ok the element is created | |
| var el = document.createElement(element); | |
| #!/usr/bin/env phantomjs | |
| //-------------------------------------------------------- | |
| var page = require('webpage').create(), | |
| system = require('system'), | |
| action = null, | |
| q = null; | |
| //-------------------------------------------------------- |
| /** | |
| * Module Dependencies | |
| */ | |
| var gulp = require('gulp'); | |
| var browserSync = require('browser-sync'); | |
| var reload = browserSync.reload; | |
| var nodemon = require('gulp-nodemon'); | |
| var g_sass = require('gulp-sass'); | |
| var pug = require('gulp-pug'); |
| var collections = db.getCollectionNames(); | |
| for(var i = 0; i< collections.length; i++){ | |
| print('Collection: ' + collections[i]); // print the name of each collection | |
| db.getCollection(collections[i]).find().forEach(printjson); //and then print the json of each of its elements | |
| } |