I hereby claim:
- I am sjoerd-dijkstra on github.
- I am sdijkstra (https://keybase.io/sdijkstra) on keybase.
- I have a public key ASApkgyR-0Pg6edOMeRgQ3JI2ccBL1fb1WvjEJ1DrAPaPwo
To claim this, I am signing this object:
{ | |
"name": "Nosana NFT Credit", | |
"symbol": "NOS-COIN", | |
"description": "Nosana NFT Credit for minting official Nosana NFTs", | |
"seller_fee_basis_points": 800, | |
"image": "https://nosana.io/img/NOS_logo.png", | |
"animation_url": "https://qw2aypdpczdfkn53wdblartsdydb5jkycvvnuivyyca7j5n4.arweave.net/hbQMPG8WRl-U3u7DCsEZyHgYepVgVat_oiuMCB9PW8M?ext=gif", | |
"external_url": "nft.nosana.io", | |
"edition": 1, | |
"attributes": [ |
function update | |
vim +PlugUpdate +PlugUpgrade +qall | |
fisher | |
fish_update_completions | |
switch (uname) | |
case Linux | |
sudo apt-get -y update # Fetches the list of available updates | |
sudo apt-get -y upgrade # Strictly upgrades the current packages | |
sudo apt-get -y dist-upgrade # Installs updates (new ones) case Darwin | |
sudo apt-get -y autoremove |
function export --description 'Set env variable. Alias for `set -gx` for bash compatibility.' | |
if not set -q argv[1] | |
set -x | |
return 0 | |
end | |
for arg in $argv | |
set -l v (string split -m 1 "=" -- $arg) | |
switch (count $v) | |
case 1 |
[Unit] | |
Description=NZBGet Daemon | |
After=network.target | |
[Service] | |
Type=forking | |
User=%i | |
ExecStart=/opt/nzbget/nzbget -c /opt/nzbget/nzbget.conf -D | |
ExecStop=/opt/nzbget/nzbget -Q | |
ExecReload=/opt/nzbget/nzbget -O |
import argparse | |
import gitlab | |
import os | |
import subprocess | |
import getpass | |
# parse args | |
parser = argparse.ArgumentParser(description='Gitlab Clone Tree 🌲') | |
parser.add_argument('-U', '--url', required=False, default='https://gitlab.com/', help='gitlab url') | |
parser.add_argument('-P', '--prefix', required=True, help='ssh gitlab prefix') |
#!/bin/bash | |
TARGET=/home/pi/websites | |
GIT_DIR=/home/pi/websites.git/ | |
BRANCH=master | |
while read oldrev newrev ref | |
do | |
# only checking out the master (or whatever branch you would like to deploy) | |
if [ "$ref" = "refs/heads/$BRANCH" ]; | |
then |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
logo="$(tput setaf 2) | |
.~~. .~~. | |
'. \ ' ' / .'$(tput setaf 1) | |
.~ .~~~..~. | |
: .~.'~'.~. : | |
~ ( ) ( ) ~ | |
( : '~'.~.'~' : ) | |
~ .~ ( ) ~. ~ |
#!/usr/bin/env bash | |
# ~/.macos — https://mths.be/macos | |
# Close any open System Preferences panes, to prevent them from overriding | |
# settings we’re about to change | |
osascript -e 'tell application "System Preferences" to quit' | |
# Ask for the administrator password upfront | |
sudo -v |