Skip to content

Instantly share code, notes, and snippets.

image:
name: hashicorp/terraform:0.12.8
entrypoint:
- '/usr/bin/env'
- 'PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
before_script:
## Run ssh-agent (inside the build environment)
- eval $(ssh-agent -s)
- echo "$SSH_PRIVATE_KEY" | ssh-add -

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@pascalwhoop
pascalwhoop / custom_style_youtube_distract_free.css
Created January 21, 2019 15:02
A quick gist that removes all the noise from youtube
.ytd-browse{
display: none;
}
.ytd-watch-next-secondary-results-renderer{
display:none;
}
.ytd-comments{
display:none;
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
su
cd /mnt
mkdir nvme extssd
mount /dev/nvme0n1p2 nvme
mount /dev/sda2 extssd
rsync --delete -avhPHAX extssd nvme
# rsync parameters explained
# -a = archive, same as -rlptgoD
# -v = verbose
# -h = human readable numbers
@pascalwhoop
pascalwhoop / smart_playlist_mpd.sh
Created June 20, 2018 11:36
Small snippet that is useful for generating smart playlists based on time added to library. I usually listen to newly added music more regularly and this is a nice help
#!/bin/bash
cd ~/Music/
find ./ -type f -mtime -31 | sed 's/\.\///g' > ~/.config/mpd/playlists/New_Last_Month.m3u
find ./ -type f -mtime -7 | sed 's/\.\///g' > ~/.config/mpd/playlists/New_Last_Week.m3u
find ./ -type f -mtime -365 | sed 's/\.\///g' > ~/.config/mpd/playlists/New_Last_Year.m3u