This file contains hidden or 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
Som tidligere informatikkstudent, nå ansatt i en bedrift i Oslo-området, drar jeg kjennskap på en del av det du sier om kulturelle forskjeller mellom Dragvoll og andre campus. Helt fra tiden da jeg begynte på NTNU i 2007 fikk jeg tredd nedover hodet at man skulle tenke på studenter fra Dragvoll som rivaler. Allikevel kan jeg ikke si at jeg kjenner meg igjen i det hatet du beskriver, eller hva kulturen på Gløshaugen bidrar til. | |
Linjeforeningen Online er ung. Ikke bare sett i forhold til mastodontene på Gløshaugen, som i disse dager holder på å runde 100 år, men også fordi så å si alt falt i grus i løpet av dotkombobla og man startet på bar bakke, nesten uten studenter på studiet. 2002, da Informatikk flyttet fra den Allmennvitenskapelige Høgskolen's lokalt på Lage til NTNU Gløshaugen, besto hele linjeforeningen Online av en håndfull studenter som organiserte så å si alt alene. Gå tilbake til ca 1995, så var alt igjen startet på nytt fordi vi manglet interesse og kontinuitet. Etter det jeg erfarer sliter mange |
This file contains hidden or 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
CREATE FUNCTION [dbo].[udfTrim] | |
( | |
@StringToClean as varchar(8000) | |
) | |
RETURNS varchar(8000) | |
AS | |
BEGIN | |
--Replace all non printing whitespace characers with Characer 32 whitespace | |
--NULL |
This file contains hidden or 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
[alias] | |
# Shorthand aliases | |
cp = cherry-pick | |
st = status -s | |
cl = clone | |
ci = commit | |
co = checkout | |
br = branch | |
diff = diff --word-diff | |
dc = diff --cached |
This file contains hidden or 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
#!/bin/bash | |
# | |
# Written by Håvard Slettvold | |
PROJECT_ROOT="/srv/www/onlineweb4" | |
ENV="$PROJECT_ROOT/env" | |
GIT="$PROJECT_ROOT/onlineweb4" | |
NUM_SHOW=10 | |
# Move to git checkout repo |
This file contains hidden or 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
(function () { | |
function c() { | |
var e = document.createElement("link"); | |
e.setAttribute("type", "text/css"); | |
e.setAttribute("rel", "stylesheet"); | |
e.setAttribute("href", f); | |
e.setAttribute("class", l); | |
document.body.appendChild(e) | |
} | |
function h() { |
This file contains hidden or 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 sys import stdin | |
import re | |
import operator | |
tracks = [] | |
track = [] | |
already_on_map = [] | |
recorded_players = [] | |
timepattern = re.compile("^[^<]+<time> \[([\w\d]+) \(([^)]+)\)\] (\d+:\d+\.\d+)") |
This file contains hidden or 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
//#include <Esplora.h> | |
// Kontrollvariabler | |
int counter = 0; | |
boolean firstNoise = false; | |
boolean hasPause = false; | |
int iterationsSinceSound = 0; | |
// Mikrofon | |
int maxVal = 0; |
This file contains hidden or 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 com.sun.jna.Native; | |
import com.sun.jna.Pointer; | |
import com.sun.jna.ptr.IntByReference; | |
import com.sun.jna.win32.StdCallLibrary; | |
/** | |
* This class handles output for the ConsoleUI. | |
* Special handling for this is needed as UTF-8 output in Windows is unreliable | |
* due to a broken unicode page. | |
* |
This file contains hidden or 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
# -*- coding:UTF-8 -*- | |
####################################################### | |
# # | |
# This program creates chrismas trees. The initial # | |
# purpose of it was to have a template to make pixel # | |
# art trees for the windows of the office at NTNU. # | |
# # | |
# Author: Håvard Slettvold aka. melwil # | |
# # | |
# Dependencies: PyPNG # |
This file contains hidden or 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
public class TestBASE64 { | |
public static void main(String[]a) { | |
String regex = "^([A-Za-z0-9+/]{4})*([A-Za-z0-9+/]{4}|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{2}==)$"; | |
String[] test = { | |
"TWFu", | |
"TWFuIGlzIGRpc3Rpbmd1aXNoZWQsIG5vdCBvbmx5IGJ5IGhpcyByZWFzb24sIGJ1dCBieSB0aGlzIHNpbmd1bGFyIHBhc3Npb24gZnJvbSBvdGhlciBhbmltYWxzLCB3aGljaCBpcyBhIGx1c3Qgb2YgdGhlIG1pbmQsIHRoYXQgYnkgYSBwZXJzZXZlcmFuY2Ugb2YgZGVsaWdodCBpbiB0aGUgY29udGludWVkIGFuZCBpbmRlZmF0aWdhYmxlIGdlbmVyYXRpb24gb2Yga25vd2xlZGdlLCBleGNlZWRzIHRoZSBzaG9ydCB2ZWhlbWVuY2Ugb2YgYW55IGNhcm5hbCBwbGVhc3VyZS4=", | |
"YW55IGNhcm5hbCBwbGVhc3VyZS4=", | |
"YW55IGNhcm5hbCBwbGVhc3VyZQ==", | |
"YW55IGNhcm5hbCBwbGVhc3Vy", |
NewerOlder