Skip to content

Instantly share code, notes, and snippets.

View derblub's full-sized avatar
✌️
I might be interested in cooperation.

Daniel Kurdoghlian derblub

✌️
I might be interested in cooperation.
View GitHub Profile
@josephfinlayson
josephfinlayson / ofxconverter.ipynb
Created January 3, 2018 15:29
Convert N26 CSV to OFX
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tadly
tadly / rofi-emoji.sh
Last active April 17, 2025 17:41
Rofi emoji picker
#!/usr/bin/env bash
#
# Use rofi to pick emoji because that's what this
# century is about apparently...
#
# Requirements:
# rofi, xsel, xdotool, curl, xmllint
#
# Usage:
# 1. Download all emoji
@nimag42
nimag42 / rc.lua
Last active June 6, 2022 09:45
AwesomeWM binding to configure positions of Monitors
-- This snippet is a code I wrote to configure the position of monitors with AwesomeWM
-- Usage :
-- Press your Display button (or whatever you binded it to)
-- Popup will show the name of a connected monitor
-- Press an arrow key or Display button to set this monitor in this direction relatively to your main monitor, (display for same position)
-- It will continue until you have configured all connected monitors
-- the name of your main screen as shown in xrandr
main_screen = "eDP1"
@spuniun
spuniun / A_Facebook_Group_Notification_Script_for_Taultulli.md
Last active July 10, 2020 16:25
Tautulli notification script for Facebook Groups

Since GraphAPI was revoked, no apps are getting approved and posting via email was shutdown, I pulled together a Tautulli notification python script for Facebook Groups using HTTP POST.

@vegard
vegard / primes.py
Created September 21, 2018 07:51
Prime factorisation diagram
# -*- coding: utf-8 -*-
#
# Author: Vegard Nossum <[email protected]>
import math
import os
import sys
import cairo
@paulgregg
paulgregg / README.md
Last active April 22, 2025 03:02
Converting a gitlab export to simple git repo

Converting a gitlab export to simple git repo

Gitlab exports a tar.gz file which contains a file called project.bundle. We can convert this file into a normal git repo using the following steps:

Extract the project.bundle file

$ tar xvfz GitLabExport.gz
@ncoder-1
ncoder-1 / gopro_hevc_to_dnxhd.sh
Last active January 10, 2023 22:21
Convert GoPro Hero7/Hero8 videos (mainly HEVC) to DNxHD and AAC to PCM which can be read with DaVinci Resolve 16 in Linux
#!/usr/bin/env bash
#
# Convert GoPro Hero7/Hero8 videos (mainly HEVC) to DNxHD and AAC to PCM which can be read with DaVinci Resolve 16 in Linux
# Also keeps GoPro's metadata
#
# Required dependency: ffmpeg 4.1
# To do: per-stream error handling, actually use datastream count and more efficient parsing of ffprobe
#
# Free for the taking.
#
#!/usr/bin/env bash
# WP-CLI Back up Script to Amazon S3
# Source: https://www.jonathan.vc
# Author: Jonathan Dingman
# Adapted from Mike at WP Bullet
#define local path for backups
BACKUPPATH=/tmp/backups
#path to WordPress installations