I hereby claim:
- I am pingiun on github.
- I am pingiun (https://keybase.io/pingiun) on keybase.
- I have a public key whose fingerprint is A3A3 65AE 16ED A7A0 C29C 88F1 9712 452E 8BE3 372E
To claim this, I am signing this object:
#!/usr/bin/env python | |
# geturls.py by Jelle Besseling | |
# This file is licenced under the MIT Licence (MIT) | |
# The MIT License (MIT) | |
# Copyright (c) 2014 Jelle Besseling | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal |
Promise = require('bluebird') | |
Promise.longStackTraces(); | |
fs = require('fs') | |
Promise.promisifyAll(fs); | |
youtube = require('./youtube') | |
ffmpeg = require('fluent-ffmpeg') | |
ffmetadata = require('ffmetadata') | |
Promise.promisifyAll(ffmetadata) | |
mb = require('musicbrainz') | |
Promise.promisifyAll(mb) |
//! Problem 1 of the Euler project | |
fn main() { | |
println!("{}", (1..1000).filter(|x| (x % 3 == 0 || x % 5 == 0)).fold(0, |a,b| a+b)); | |
} |
struct Fibonacci { | |
cur: i32, | |
prev: i32, | |
} | |
//! Problem 2 of the Euler project | |
impl Iterator for Fibonacci { | |
type Item = i32; | |
#!/usr/bin/env python3 | |
# MIT License | |
# | |
# Copyright (c) 2016 Jelle Besseling | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
#!/bin/env python | |
from __future__ import print_function | |
import argparse | |
import sys | |
try: | |
import BaseHTTPServer |
#!/usr/bin/env python | |
import os | |
import markdown2 | |
with open('head.html') as f: | |
head = f.read() | |
with open('foot.html') as f: | |
foot = f.read() |
I hereby claim:
To claim this, I am signing this object:
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:a3a365ae16eda7a0c29c88f19712452e8be3372e] |
FROM python:3 | |
MAINTAINER Jelle Besseling <[email protected]> | |
COPY . /app | |
WORKDIR /app | |
RUN pip install uwsgi && pip install -r requirements.txt |