Skip to content

Instantly share code, notes, and snippets.

Zephyr spinweb-dev

Block or report user

Report or block spinweb-dev

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View express-grunt
var express = require('express'),
http = require('http'),
app = express(),
server = http.createServer(app)
app.use(express.static(__dirname + '/build'));
app.get('/', function(req, res) {
res.send({});
});
View background.js
if ('undefined' !== typeof chrome && 'undefined' !== typeof chrome.app.runtime) {
chrome.app.runtime.onLaunched.addListener(function() {
chrome.app.window.create('index.html', {
bounds: {
width: 800,
height: 600,
left: 100,
top: 100
},
//minWidth: 800,
View index.html
<!DOCTYPE html>
<html ng-app="hypro-chrome-app">
<head>
<title>Hypro</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!-- compiled CSS -->
<link rel="stylesheet" type="text/css" href="assets/vendor-0.0.1.css" />
<link rel="stylesheet" type="text/css" href="assets/app-0.0.1.css" />
<!-- compiled JavaScript -->
View gist:9263066
{
"manifest_version": 2,
"name": "App",
"version": "1",
"app": {
"background": {
"scripts": [ "background.js" ]
}
},
"permissions": [
View gist:8409197
<?php
class CustomCommerceTax {
$this->_aItems;
$this->_aShipping;
$this->_aCoupon;
public function __construct($aItems, $aShipping, $aCoupon) {
$this->_aItems = $aItems;
$this->_aShipping = $aShipping;
View gist:7921396
{
"name": "App",
"version": "0.0.1",
"devDependencies": {
"angular": "latest",
"angular-sanitize": "latest",
"angular-dragdrop": "https://github.com/codef0rmer/angular-dragdrop.git#master",
"angular-mocks": "latest",
"restangular": "latest",
"bootstrap": "latest",
View gist:6439537
error: Error running command apps deploy
error: Nodejitsu Error (500): Internal Server Error
error: npm exited with code 1
You can’t perform that action at this time.