Meer informatie over het kunstproject van F. Starik is te vinden op de site van de Gemeente Amsterdam.
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
/** | |
* Comments on https://gist.github.com/danielgard/3ee8afe0fc2d6905f7ec82331930ec8f | |
* | |
* 1. Arrow functions do not have their own this or arguments object. | |
* 2. Curly brackets are not needed when there is only a `return` statement | |
* | |
* const doubleNumbers = () => { this.arguments.map(a => a * 2) } | |
* | |
* 3. A closing `)` bracket is missing | |
* 4. A newline character is missing at the end of the file |
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
#!/bin/bash | |
for file in $(git diff --cached --name-only | grep -E '\.ts$') | |
do | |
git show ":$file" | tslint "$file" | |
if [ $? -ne 0 ]; then | |
exit 1 | |
fi | |
done |
I hereby claim:
- I am tzengerink on github.
- I am tzengerink (https://keybase.io/tzengerink) on keybase.
- I have a public key whose fingerprint is 6287 D070 5F27 944D 62E3 B3F6 D459 51B1 3602 B995
To claim this, I am signing this object:
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 python | |
# -*- coding: utf-8 -*- | |
''' | |
STATICBUILDER | |
============= | |
Build static websites using Jinja2 templates and YAML data descriptions. | |
The default directory structure that is needed to build a static site looks | |
like follows: |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Light Tunnel</title> | |
</head> | |
<body> | |
<script type="text/javascript" src="http://d3js.org/d3.v3.min.js"></script> | |
<script type="text/javascript" src="light-tunnel.js"></script> | |
</body> |
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 python | |
''' | |
REORGANIZE | |
---------- | |
When your directory looks something like this: | |
/path/to/dir/photo-1.jpg | |
/path/to/dir/photo-2.JPG | |
/path/to/dir/video-1.mp4 |
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, request | |
app = Flask(__name__) | |
@app.route('/') | |
def ip(): | |
return request.environ['REMOTE_ADDR'] + '\n' | |
if __name__ == '__main__': | |
app.run() |
NewerOlder