- Make sure you have yo installed:
npm install -g yo
- Run:
yo webapp
- Install grunt-contrib-jade:
npm install grunt-contrib-jade --save-dev
This file contains 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
```python | |
import threading | |
import boto3 | |
import flask | |
local = threading.local() | |
This file contains 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
import timeit | |
def test(setup, build, serialize, deserialize, number, entries, name): | |
print('Testing {}: '.format(name)) | |
build = build.format(n=entries) | |
build_times = timeit.repeat(repeat=1, number=number, stmt=build, setup=setup) | |
print('{:<20} {:>6} ms'.format('build datastructure:', int(min(build_times) * 1000))) | |
setup = setup + build | |
serialize_times = timeit.repeat(repeat=1, number=number, stmt=serialize, setup=setup) | |
print('{:<20} {:>6} ms'.format('serialize:', int(min(serialize_times) * 1000))) |
This file contains 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
import timeit | |
def test(setup, build, serialize, deserialize, number, entries, name): | |
build = build.format(n=entries) | |
build_times = timeit.repeat(repeat=1, number=number, stmt=build, setup=setup) | |
print('{:<20} {:>5} ms'.format('build datastructure:', int(min(build_times) * 1000))) | |
setup = setup + build | |
serialize_times = timeit.repeat(repeat=1, number=number, stmt=serialize, setup=setup) | |
print('{:<20} {:>5} ms'.format('serialize:', int(min(serialize_times) * 1000))) | |
setup = setup + serialize |
This file contains 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
Static analysis is the process of automatically analysing the behavior of a | |
computer program based on the source code of the program. The main goals of | |
static analysis is to improve correctness and efficiency of the program. Static | |
analysis is part of every modern compiler today and the techniques in static | |
analysis continues to expand and improve. | |
In this project we aim to improve the static analysis performed by the L0 | |
compiler and thereby improving correctness and efficiency of programs written | |
in L0. |
This file contains 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
from flask import Flask | |
app = Flask(__name__) | |
print("I am running before first req") | |
@app.route("/") | |
def hello(): | |
return "Hello World!" | |
if __name__ == "__main__": |
This file contains 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
#!/usr/bin/env php | |
<?php | |
require_once 'intro.php'; | |
$x = new GSB_Updater($storage, $network, $logger); | |
// get new chunks | |
$x->downloadData($gsblists, FALSE); |
This file contains 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
piblic |
This file contains 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
Process-5 downloaded http://surftown.dk/node/255/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/node/ |
This file contains 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
<?php | |
require_once 'abstract.php'; | |
class Mage_Shell_Clerk extends Mage_Shell_Abstract { | |
public function run() { | |
set_time_limit(0); | |
$clerk_feed = Mage::getModel('clerk/feed'); | |
$clerk_feed->buildFeeds(); |