Opinionated stack for building large-scale, production grade applications
- View layer: Vue.js
- Intuitive, smooth learning curve
- Performant reactive system that is optimized by default
- Built-in animation/transition system
#!/bin/bash | |
PPP_TIMEOUT=15 | |
L2TPD_TIMEOUT=5 | |
L2TPD_CONTROL_FILE=/var/run/xl2tpd/l2tp-control | |
VPN_ACCOUNT=zjuvpn-a | |
function start_xl2tpd | |
{ | |
systemctl start xl2tpd |
// github.com/nu7hatch/gouuid | |
BenchmarkV4 1000000 1426 ns/op | |
BenchmarkV5 2000000 910 ns/op | |
// github.com/streadway/simpleuuid | |
BenchmarkV5 5000000 689 ns/op | |
// github.com/tux21b/gocql/tree/master/uuid | |
BenchmarkRandomUUID 1000000 1470 ns/op |
#!/bin/bash | |
PPP_TIMEOUT=30 | |
L2TPD_TIMEOUT=5 | |
L2TPD_CONTROL_FILE=/var/run/xl2tpd/l2tp-control | |
VPN_ACCOUNT=zjuvpn | |
function start_xl2tpd | |
{ | |
systemctl start xl2tpd |
var oHead = document.getElementsByTagName('HEAD').item(0); | |
var oScript= document.createElement("script"); | |
oScript.type = "text/javascript"; | |
oScript.src="https://code.jquery.com/jquery-2.1.4.min.js"; | |
oScript.onload = function() { | |
jQuery('input[value="5"], input[value="优秀"]').each(function() { | |
console.log(jQuery(this)); | |
jQuery(this).click(); | |
}); | |
$('#Button1').click(); |
#!/bin/bash | |
## List all manually installed packages on a debian/ubuntu system | |
## manually installed means: | |
## 1. not pre-installed with the system | |
## 2. not marked auto-installed by apt (not dependencies of other | |
## packages) | |
## Note: pre-installed packages that got updated still needs to be | |
## filtered out. |
{ | |
"frameworks": ["browserify", "mocha", "chai-sinon", "env"], | |
"files": [ | |
"components/angular/angular.js", | |
"components/angular-mocks/angular-mocks.js", | |
"node_modules/angular-ui-router/release/angular-ui-router.js", | |
"./components/firebase/firebase.js", | |
"./components/angularfire/angularfire.js", | |
"test/unit/**/*.js" | |
], |
/* | |
glog-example | |
------------ | |
background | |
--- | |
You probably want to read the source code comments at the top of the glog.go file in | |
the golang/glog repository on github.com. Located here: https://github.com/golang/glog/blob/master/glog.go | |
setup |
Opinionated stack for building large-scale, production grade applications
#!/bin/sh | |
# Author: Senorsen <[email protected]> | |
# Prerequisites: adb, fastboot, unzip | |
# Flash Nexus Device (especially approriate for unlocked & rooted devices), which cannot be upgraded with OTA | |
# First download nexus factory image from: | |
# https://developers.google.com/android/nexus/images | |
set -e | |
FILE="$1" |
#! /bin/bash | |
FULL_BUNDLING=0 | |
UPDATE=1 | |
REBUILD=1 | |
PREFIX=/zzz | |
# Move blacklisted files to a special folder | |
move_blacklisted() |