Skip to content

Instantly share code, notes, and snippets.

View fin-ger's full-sized avatar
🦀
rustacean rafting

Fin Christensen fin-ger

🦀
rustacean rafting
View GitHub Profile
@fin-ger
fin-ger / README.md
Last active July 8, 2017 16:30
Pandoc Github Theme

To use this theme run

$ pandoc --self-contained --css pandoc-github.css --highlight-style kate my-file.md > my-file.html

You can use any highlight style but I like kate the best.

@fin-ger
fin-ger / readme.md
Last active September 16, 2017 19:25
ltb self-service-password Material Design (for v0.8)

I used this image as the style/ltb-logo.png. It is licensed under CC0 Public Domain.

@fin-ger
fin-ger / firehol.conf
Created January 10, 2018 14:11
Minikube firehol rules
interface virbr0 docker-machines
client all accept
server all accept
router docker-machines2internet inface virbr0 outface eth0
masquerade
route all accept
iptables -t nat -N DOCKER_MACHINES
@fin-ger
fin-ger / README.md
Last active May 30, 2019 11:56
Display TODOs, FIXMEs, and NOTEs from your projects source code

Display work in your project

This is a small bash script that searches in the current directory for TODO, FIXME, and NOTE in your source code and displays your matched code with syntax highlighting.

Dependencies

  • bash
  • sed
  • ncurses
@fin-ger
fin-ger / Cargo.toml
Created April 4, 2020 08:00
Short example on how to access the github API in rust. Usage: `cargo run <GITHUB_TOKEN>`
[package]
name = "github-api-example"
version = "0.1.0"
authors = ["Fin Christensen <christensen.fin@gmail.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
async-std = { version = "1.5.0", features = ["attributes"] }