Skip to content

Instantly share code, notes, and snippets.

Searching for the Unicorn

Lukas Schmierer lschmierer

Searching for the Unicorn
View GitHub Profile
/usr/bin/ruby -e "$(curl -fsSL"
# install fish shell
brew install fish
cat /etc/shells|grep /usr/local/bin/fish || sudo sh -c 'echo "/usr/local/bin/fish" >> /etc/shells'
chsh -s /usr/local/bin/fish
# install Google Chrome
brew cask install google-chrome
lschmierer /
Created Jun 7, 2017
Facebook Event Attendant scraper
#!/usr/bin/env python
import sys
import json
import requests
# Usage
# ./ event_id access_token | tr "}" "\n" | grep "Name to Search"
# access_token:
def main():
event_id = sys.argv[1]
lschmierer /
Last active Aug 29, 2015
Veiled RefCell in Rust
use std::rc::Rc;
use std::cell::RefCell;
struct Wrapper {
data_cell: RefCell<Data>,
struct Data {
num: u8,
lschmierer /
Last active Jun 28, 2020 — forked from QuantumCD/Qt 5 Dark Fusion Palette
Qt5 Dark Fusion Palette for Python
dark_palette = QPalette()
dark_palette.setColor(QPalette.Window, QColor(53, 53, 53))
dark_palette.setColor(QPalette.WindowText, Qt.white)
dark_palette.setColor(QPalette.Base, QColor(25, 25, 25))
dark_palette.setColor(QPalette.AlternateBase, QColor(53, 53, 53))
dark_palette.setColor(QPalette.ToolTipBase, Qt.white)
dark_palette.setColor(QPalette.ToolTipText, Qt.white)
You can’t perform that action at this time.