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
| scraper = require 'scraper' | |
| fs = require 'fs' | |
| ######################################################## | |
| ## Hate typing console.log | |
| log = (msg) -> console.log(msg) | |
| #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ |
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
| NOV-29-2012 | |
| Ran into a puzzling issue with AngularJS and Taffy | |
| I have two code examples: | |
| WORKING: | |
| http://plnkr.co/edit/fAgtyq?p=preview | |
| BROKEN |
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 express = require('express'), | |
| http = require('http'), | |
| https = require('https'), | |
| fs = require('fs'); | |
| var app = express(); | |
| // Configuration | |
| // |
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 ng-app="plunker" xmlns:ng="http://angularjs.org" > | |
| <head> | |
| <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.4/angular.js"></script> | |
| <script src="http://angular-ui.github.com/bootstrap/ui-bootstrap-tpls-0.1.0-SNAPSHOT.js"></script> | |
| <script src="example.js"></script> | |
| <link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css" rel="stylesheet"> | |
| </head> | |
| <body> |
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 ng-app="plunker" xmlns:ng="http://angularjs.org" > | |
| <head> | |
| <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.4/angular.js"></script> | |
| <script src="http://angular-ui.github.com/bootstrap/ui-bootstrap-tpls-0.1.0-SNAPSHOT.js"></script> | |
| <script src="example.js"></script> | |
| <link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css" rel="stylesheet"> | |
| <!--[if lte IE 8]> |
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 ng-app="plunker" xmlns:ng="http://angularjs.org" > | |
| <head> | |
| <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.4/angular.js"></script> | |
| <script src="http://angular-ui.github.com/bootstrap/ui-bootstrap-tpls-0.1.0-SNAPSHOT.js"></script> | |
| <script src="example.js"></script> | |
| <link href="//netdna.bootstrapcdn.com/twitter-bootstrap/2.2.2/css/bootstrap-combined.min.css" rel="stylesheet"> | |
| <!--[if lte IE 8]> |
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
| // credit: http://snipplr.com/view.php?codeview&id=56433 | |
| // | |
| var xmlhttp = new XMLHttpRequest(); | |
| xmlhttp.open("GET",'favicon.ico',false); | |
| xmlhttp.overrideMimeType('text/plain; charset=x-user-defined'); | |
| xmlhttp.send(); | |
| var data = ''; | |
| for ( var i = 0; i < xmlhttp.responseText.length; i++ ) data += String.fromCharCode( ( xmlhttp.responseText[ i ].charCodeAt(0) & 0xff ) ); | |
| // Convert raw data to base64 | |
| data = btoa( data ); |
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
| chai = require 'chai' | |
| chai.should() | |
| PouchDB = require 'pouchdb' | |
| describe "myPouch", -> | |
| db = null |
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
| /* | |
| Success when trying to combine css with scss | |
| gulp-if did not work for me. | |
| */ | |
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
| node --version | |
| v4.1.0 | |
| npm cache clean | |
| npm install | |
| npm ls | |
| [email protected] /Users/frankg/dev/code/test/eval-activator/deitch-activator | |
| ├── [email protected] |
OlderNewer