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 / Starship Config
Created April 5, 2023 03:46
starship.toml
format = """
$username\
$hostname\
$localip\
$shlvl\
$directory\
$git_branch\
$git_commit\
$git_state\
$git_metrics\
@tijptjik
tijptjik / openpgp.md
Created December 4, 2022 20:38
keyoxide proof

openpgp4fpr:AA8B918BA88B24E8CC66C8B07FB8216A56B728F4

### Keybase proof
I hereby claim:
* I am tijptjik on github.
* I am tijptjik (https://keybase.io/tijptjik) on keybase.
* I have a public key ASBTGLpSzxDk68Ox9RBjfao8TOP3lXpvoDuA4W2k4xEZ_Ao
To claim this, I am signing this object:
@tijptjik
tijptjik / chronoscopy.exhalation.md
Last active July 5, 2019 20:06
Chronoscopy reads Exhalation

In a collection of nine stunningly original, provocative, and poignant stories, Ted Chiang tackles some of humanity’s oldest questions and introduces several new quandaries for us Chronoscopians to discuss.

Getting the book

Private message Mart for details, or directly purchase the book from the following retailers:

@tijptjik
tijptjik / gotdp.md
Last active July 16, 2017 16:15
Game of Throne Death Pool

Game of Thrones Death Pool

OBJECTIVE

Pick a death list with all the characters you believe will die in season 7.

RULES

  • You SCORE points by having characters who DIE in season 7 on your list.
  • You LOSE points by having characters who SURVIVE season 7 on your list.
@tijptjik
tijptjik / flatten.ipynb
Created June 11, 2017 20:33
Flatten DF
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tijptjik
tijptjik / checkgender.py
Last active June 7, 2017 04:27
checkgender.py
import pandas as pd
df = pd.DataFrame(['M','F','U','different',2023], columns=['gender'])
df[df.gender.isin(['M','F','U']) == False]
@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.