The only cross-platform browser that fits in a Gist!
One line install. Works on Linux, MacOSX and Windows.
$> npm install http://gist.github.com/morganrallen/f07f59802884bcdcad4a/download
{ | |
"cmd": ["nw", "${project_path:${folder}}"], | |
"working_dir": "${project_path:${folder}}", | |
"path": "<pathToNodeWebkit>" | |
} |
#Input Script template | |
def inputScript(): | |
A = [] | |
strng = input() | |
#trims whitespace | |
trimmed = strng.replace(" ", "") | |
ind = list(map(int, trimmed)) | |
print(ind) |
ActionScript: source.actionscript.2 | |
AppleScript: source.applescript | |
ASP: source.asp | |
Batch FIle: source.dosbatch | |
C#: source.cs | |
C++: source.c++ | |
Clojure: source.clojure | |
CoffeeScript: source.coffee | |
CSS: source.css | |
D: source.d |
document.onclick = function (e) { | |
e = e || window.event; | |
var element = e.target || e.srcElement; | |
if (element.tagName == 'A') { | |
window.open(element.href, "_blank", "location=yes"); | |
return false; | |
} | |
} |
var gulp = require('gulp'); | |
var uglify = require('gulp-uglify'); | |
var imagemin = require('gulp-imagemin'); | |
var rename = require('gulp-rename'); | |
var cssmin = require('gulp-cssmin'); | |
/* | |
*Command: gulp uglify | |
* Minifies or "uglifies" JavaScript files for faster load time. | |
*/ |
var gulp = require('gulp'), | |
sass = require('gulp-sass'), | |
browserify = require('gulp-browserify'), | |
concat = require('gulp-concat'), | |
embedlr = require('gulp-embedlr'), | |
refresh = require('gulp-livereload'), | |
lrserver = require('tiny-lr')(), | |
express = require('express'), | |
livereload = require('connect-livereload') | |
livereloadport = 35729, |
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
<html> | |
<meta charset="utf-8"> | |
<style> | |
/* CSS goes here. */ | |
line { | |
stroke: #999; | |
stroke-width: .5px; | |
} |