Skip to content

Instantly share code, notes, and snippets.

View tijptjik's full-sized avatar

Mart van de Ven tijptjik

View GitHub Profile
@tijptjik
tijptjik / postcodecheck.py
Last active June 7, 2017 04:22
Check Post Codes with pandas
import pandas as pd
df = pd.DataFrame([4353,3242,46232], columns=['postcode'])
postcode_checker = lambda x: (str(x)[0] == '4') and (len(str(x)) == 4)
df.postcode.apply(postcode_checker)
@tijptjik
tijptjik / lesson01.mart.homework.ipynb
Created April 25, 2017 14:11
lesson01.homework.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tijptjik
tijptjik / 01 - format.md
Last active February 5, 2017 17:02
Chronoscopy

Chronoscopy

Welcome to the journey through the history of the future! We're reading and discussing "The Big Book of Science Fiction", an anthology of the greatest short stories in the genre. The stories are in chronological order, so we're stepping through a century's worth of developments in a genre that trades on fresh ideas! We'll discuss them in tri-weekly sessions and you're invited to add your voice. Ready to jack in, young deckrunner?

Format

  1. We're reading and discussing short stories from "The Big Book of Science Fiction"
  2. "The Big Book" is an anthology spanning 100 years and features 104 short stories.
@tijptjik
tijptjik / homework01.ipynb
Created January 16, 2017 14:08
Alex' Homework :) V final final :)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tijptjik
tijptjik / hkmag_scraper.py
Last active September 28, 2016 11:08
Collect the last 65 issues of HK Magazine
base_url = "http://download.hk-magazine.com/pdf/hkmagazine/HKMagazine_"
for n in range(1099,1165):
path = "{}{}.pdf".format(base_url,n)
!curl -o hkmagazine_{n}.pdf {path}
@tijptjik
tijptjik / wwc.ipynb
Last active September 2, 2016 06:55
Women in Movies @ Women Who Code
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tijptjik
tijptjik / Vagrantfile
Last active August 16, 2016 09:23
DataBox Vagrantfile - Fedora-based box for data science with Python
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
# The most common configuration options are documented and commented below.
# For a complete reference, please see the online documentation at
@tijptjik
tijptjik / lc.ipynb
Created May 5, 2016 08:24
lc.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

PLanets

1. Aboard the Alexandria

  • Min Street

2. Biomorph Resonator Tech

  • Top Floor, balcony, M. Building

3. Spice Mines of Kessel

  • Playground
This is my first homework assignment