Skip to content

Instantly share code, notes, and snippets.

View mwek's full-sized avatar

Maciek Weksej mwek

View GitHub Profile
@mwek
mwek / greenhouse.py
Last active March 15, 2018 15:03
Greenhouse "Past interviews" view to CSV
#!/usr/bin/env python
# Usage:
# 1. Go to https://app.greenhouse.io/interviews?type=past and copy the source code.
# 2. Run "pbpaste | ./greenhouse.py"
# 3. Analyze the CSV in the program of your choice.
from bs4 import BeautifulSoup
from itertools import chain
import csv
@mwek
mwek / user.js
Last active November 20, 2017 09:31
Google Calendar Guests Can Modify Event By Default (port to TamperMonkey)
// ==UserScript==
// @name Google Calendar Guests Can Modify Event By Default
// @namespace http://tampermonkey.net/
// @version 0.4
// @updateURL https://gist.githubusercontent.com/mwek/9962f97f3bde157fd5dbd2b5dd0ec3ca/raw/user.js
// @description Enables 'Guests can modify event' setting for google calendar by default, when creating a new event.
// @author Robin Drexler
// @match https://calendar.google.com/*
// @match https://www.google.com/calendar/*
// @grant none
@mwek
mwek / yapf-diff.py
Created March 9, 2017 09:10
A modification of clang-format-diff.py that works with YAPF & Python3
#!/usr/bin/env python
#
#===- clang-format-diff.py - ClangFormat Diff Reformatter ----*- python -*--===#
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
#===------------------------------------------------------------------------===#