Skip to content

Instantly share code, notes, and snippets.

Avatar
🐧
Programming

Sebastian Karlsson sebbekarlsson

🐧
Programming
View GitHub Profile
@antonagestam
antonagestam / demo.html
Last active Feb 19, 2019
Wrapper around NodeList to easily implement a jQuery-like API in a minimal way
View demo.html
<script type="module">
import $ from './dollar.js';
$('a').on('click', (e) => {
e.preventDefault();
console.log(e.currentTarget);
alert('ello');
});
</script>
@lolzballs
lolzballs / HelloWorld.java
Created Mar 22, 2015
Hello World Enterprise Edition
View HelloWorld.java
import java.io.FileDescriptor;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.OutputStream;
import java.io.PrintStream;
public class HelloWorld{
private static HelloWorld instance;
public static void main(String[] args){
instantiateHelloWorldMainClassAndRun();
@DazWorrall
DazWorrall / Output
Created Feb 9, 2012
Testing file upload handling in Flask
View Output
in upload handler
in file close
..
----------------------------------------------------------------------
Ran 2 tests in 0.021s
OK