Skip to content

Instantly share code, notes, and snippets.

{
"$schema": "https://raw.githubusercontent.com/jsonresume/resume-schema/v1.0.0/schema.json",
"basics": {
"name": "Dafne Kiyui",
"label": "professional doer of technology thingies™",
"image": "https://www.gravatar.com/avatar/9745db1aa088a2cef8c9dfd6b5b6bf5d?s=512",
"email": "didyouknowthat@dafne.rocks",
"url": "https://dontreinventbicycle.com/",
"summary": "Pronouns: she/they; I'm Dafne, and there's no better way to describe me than as a huge tech nerd. I started scripting before I was able to even properly read, and have been using Linux for over half my life. I try to keep life quirky, and am always busy tinkering. Ask me about my latest project.",
"location": {
@kiyui
kiyui / theme.css
Created April 2, 2020 17:28
Protonmail Theme
@charset "UTF-8"; /*!
* Custom Theme for ProtonMail v3.16.21
* http://amdelamar.com/pm-theme/
* SPDX-License-Identifier: MIT
*/
:root {
--theme1: #4a154b;
--theme2: #896184;
--theme3: #ffeeed;
@kiyui
kiyui / PKGBUILD
Created October 22, 2019 03:17
lbry-app-bin rolling release PKGBUILD example
pkgname=lbry-app-bin-rolling
pkgver=...
pkgrel=1
pkgdesc='The LBRY app built using electron'
arch=('x86_64')
url='https://lbry.io/'
license=('MIT')
depends=('nodejs' 'npm' 'gnome-keyring' 'gconf')
source=('https://lbry.com/get/lbry.deb')
sha256sums=('SKIP')
@kiyui
kiyui / fizzbuzz.re
Created February 21, 2018 14:30
Fizz Buzz
/**
* Was watching this video by Tom Scott;-
* https://www.youtube.com/watch?v=QPZ0pIK_wsc
* And decided to try out the problem in ReasonML
*/
for (i in 1 to 100) {
let i = float(i);
let output = switch (mod_float(i, 3.0), mod_float(i, 5.0)) {
| (0.0, 0.0) => "FizzBuzz"
| (0.0, _) => "Fizz"
@kiyui
kiyui / spotify.desktop
Created November 26, 2017 14:27
HiDPI context menu example
[Desktop Entry]
Name=Spotify
GenericName=Music Player
Comment=Spotify streaming music client
Icon=com.spotify.Client
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=spotify --file-forwarding com.spotify.Client --force-device-scale-factor=2 @@u %U @@
Terminal=false
Type=Application
Categories=Audio;Music;Player;AudioVideo;
MimeType=x-scheme-handler/spotify;
@kiyui
kiyui / translate.sh
Created May 21, 2017 16:45
PHP Translator
#!/bin/sh
# Simple shell script example to show how to translate
# PHP files from Chinese to English based on a simple
# REGEX match.
# Requires: https://github.com/soimort/translate-shel://github.com/soimort/translate-shell
alias match_han="grep -oP \"((?!')[\p{Han}\d]+(?:(?!').)*)\""
@kiyui
kiyui / docker-compose.yml
Created March 20, 2017 05:46
Gitlab & Gitlab CI Docker Compose
version: "2"
services:
gitlab:
image: gitlab/gitlab-ce
network_mode: "bridge"
restart: always
volumes:
- './gitlab/config:/etc/gitlab'
- './gitlab/logs:/var/log/gitlab'
- './gitlab/data:/var/opt/gitlab'
@kiyui
kiyui / crack-keepass.sh
Created March 19, 2017 01:23
Brute force a Keepass database file with a dictionary attack
#!/bin/sh
# Usage: ./crack-keepass.sh passwords.kdbx dict.txt
#
# The dictionary file can be generated with:
# https://github.com/TimurKiyivinski/permutatify
while read i
do
echo "Using password: \"$i\""
@kiyui
kiyui / SSH Config
Last active June 13, 2017 13:03
SSH configuration file: ~/.ssh/config
Host $HOST
IdentitiesOnly yes
Hostname $IP
IdentityFile ~/.ssh/$private_key
User $username
Host aur.archlinux.org
IdentityFile ~/.ssh/aur
User aur
@kiyui
kiyui / init.vim
Last active April 17, 2019 14:20
neovim configuration
" File: `~/.config/nvim/init.vim`
filetype off
" Required for Python on MacOS
"
" brew install python
" brew install python3
" pip2 install neovim --upgrade
" pip3 install neovim --upgrade
"