Skip to content

Instantly share code, notes, and snippets.

View brunsgaard's full-sized avatar

Jonas Brunsgaard brunsgaard

View GitHub Profile
Less than 80 chars
___________
< text here >
-----------
two lines
________________________________
/ text goes here text goes here \
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/
#!/usr/bin/env php
<?php
require_once 'intro.php';
$x = new GSB_Updater($storage, $network, $logger);
// get new chunks
$x->downloadData($gsblists, FALSE);
from flask import Flask
app = Flask(__name__)
print("I am running before first req")
@app.route("/")
def hello():
return "Hello World!"
if __name__ == "__main__":

Using Yeoman and Jade

Getting started

  • Make sure you have yo installed: npm install -g yo
  • Run: yo webapp
  • Install grunt-contrib-jade: npm install grunt-contrib-jade --save-dev

Customization

Excecise 2.1 - Translate C to MIPS.

a: f = g - h
b: f = g - (h - 5)

Excecise 2.1.1

For the C like code above, what is the MIPS assembly code?

#a

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.
{"gold watch",
"dog",
"cutlery",
"necklace",
"vintage Nike Sneakers",
"bottle of wine anno 1889",
"smoking gun",
"toxido",
"wig",
"stuffed baby seal",
@brunsgaard
brunsgaard / testmirrors.sh
Last active August 29, 2015 14:00
datanet test debian mirrors
#!/bin/bash
hosts=(
ftp.dk.debian.org
ftp.cn.debian.org
)
for host in ${hosts[@]}; do
IP=`nslookup $host | sed 's/Address: //' | tail -n 2 | head -n 1`
echo ==== TESTING $IP \($host\) ====
echo Ping: `ping -c 64 $IP | grep rtt`