Skip to content

Instantly share code, notes, and snippets.

View Jegp's full-sized avatar

Jens Egholm Pedersen Jegp

View GitHub Profile
@Jegp
Jegp / Question.md
Last active April 4, 2019 06:57 — forked from NikolajX4000/Question.md
Prepared question for assignment 8
@Jegp
Jegp / requirements.txt
Created February 15, 2019 08:48
Requirements file for pip running MyBinder Python projects
backcall==0.1.0
bleach==3.0.2
cycler==0.10.0
decorator==4.3.0
defusedxml==0.5.0
entrypoints==0.2.3
et-xmlfile==1.0.1
ipykernel==5.1.0
ipython==7.2.0
ipython-genutils==0.2.0
@Jegp
Jegp / keybase.md
Created October 19, 2017 21:47
keybase.md

Keybase proof

I hereby claim:

  • I am jegp on github.
  • I am jegp (https://keybase.io/jegp) on keybase.
  • I have a public key ASAhereJ1Mh17oSaRov877vBoR_2K679VFKKr5GSlo9WIQo

To claim this, I am signing this object:

@Jegp
Jegp / Phonemes CMU
Last active February 20, 2017 13:57
pau ay ae m y ao r f aa dh er pau
pau-ay ice
ay-ae miamil
ae-m -
m-y -
y-ao yoghurt
ao-r sorry
r-f barfat
f-aa -
@Jegp
Jegp / presentation.html
Created November 10, 2016 17:21
Single page .html template for reveal.js presentations
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.3.0/css/reveal.min.css" type="text/css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/reveal.js/3.3.0/css/theme/white.min.css" type="text/css"/>
</head>
<body>
<div class="reveal">
@Jegp
Jegp / jenkins_install.sh
Created September 11, 2016 19:41
A jenkins installation script
#!/bin/bash
##
## This script installs jenkins on debian based machines
## Author: Jegp <jensegholm@protonmail.com>
##
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
fi
@Jegp
Jegp / keybase.md
Created October 3, 2014 12:26
keybase.md

Keybase proof

I hereby claim:

  • I am jegp on github.
  • I am jegp (https://keybase.io/jegp) on keybase.
  • I have a public key whose fingerprint is 1707 E5E0 F008 2BDB FA7B 48C3 2052 14E9 7B71 9962

To claim this, I am signing this object:

@Jegp
Jegp / BambooTest.java
Created August 21, 2014 08:48
IMBA CERN test
public class BambooTest {
private boolean bambooNeedsSomeTestsResultsToMarkThisProjectGREEN = true;
@Test
public void test1() {
Assert.assertTrue(bambooNeedsSomeTestsResultsToMarkThisProjectGREEN);
}
}
@Jegp
Jegp / dmesg
Last active August 29, 2015 13:57
[ 0.000000] Linux version 3.3.8 (blogic@Debian-60-squeeze-64-minimal) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Sat Mar 23 16:49:30 UTC 2013
[ 0.000000] MyLoader: sysp=444ba8b5, boardp=5fbcaeef, parts=ebc66edc
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR9330 rev 1
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone PFN ranges:
@Jegp
Jegp / Main.cpp
Last active August 29, 2015 13:56
Simple emscripten test
#include <stdio.h>
#include <stdlib.h>
#include <SDL/SDL.h>
#include <SDL/SDL_ttf.h>
#include <emscripten.h>
int x = 0;
int y = 0;
SDL_Surface *screen;