This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/.config/systemd/user/redshift.service | |
[Unit] | |
Description=Redshift display colour temperature adjustment | |
Documentation=http://jonls.dk/redshift/ | |
After=display-manager.service | |
[Service] | |
ExecStart=/usr/bin/redshift -v -c /home/kfiresmith/.redshift.conf | |
Restart=always |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/.redshift.conf | |
[redshift] | |
temp-day=5500 | |
temp-night=4000 | |
brightness-day=0.8 | |
brightness-night=0.7 | |
gamma-day=0.7 | |
gamma-night=0.6 | |
transition=0 | |
adjustment-method=randr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def my_dns(lookup_string): | |
my_record = urllib.request.urlopen(lookup_string) | |
data = my_record.read() | |
encoding = my_record.info().get_content_charset('utf-8') | |
dns = json.loads(data.decode(encoding)) | |
return(dns[0]["value"]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Use Python SDK from StellarCN to quickly generate deterministic wallets/keypairs | |
from stellar_base.utils import StellarMnemonic | |
from stellar_base.keypair import Keypair | |
sm = StellarMnemonic() | |
m = sm.generate() | |
print('\n' "Secret word list for deterministic seed:") | |
print(" " + m) | |
kp = Keypair.deterministic(m, lang='english') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
yum -y install rpm-build bison perl-ExtUtils-Embed flex ncurses-devel pam-devel krb5-devel kernel-devel gcc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python | |
# Prompt user for a password string, then create a salted SHA512 hash | |
import crypt | |
import getpass | |
import sys | |
sys.dont_write_bytecode = True | |
userinput = getpass.getpass(prompt='Enter a password string to hash in SHA-512: ') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" tabstop: Width of tab character | |
" softtabstop: Fine tunes the amount of white space to be added | |
" shiftwidth Determines the amount of whitespace to add in normal mode | |
" expandtab: When on uses space instead of tabs | |
set tabstop =2 | |
set softtabstop =2 | |
set shiftwidth =2 | |
set expandtab | |
set autoindent | |
set smartindent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = Kodiak Firesmith | |
email = firesmith@protonmail.com | |
username = kfiresmith | |
[core] | |
editor = vim | |
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
pager = delta | |
[web] | |
browser = firefox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" tabstop: Width of tab character | |
" softtabstop: Fine tunes the amount of white space to be added | |
" shiftwidth Determines the amount of whitespace to add in normal mode | |
" expandtab: When on uses space instead of tabs | |
set tabstop =2 | |
set softtabstop =2 | |
set shiftwidth =2 | |
set expandtab | |
set autoindent | |
set smartindent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
svm | capacity-tb | available-tb | category | |
---|---|---|---|---|
cifs-share | 54 | 28 | Fileshare | |
foo-cifs | 19 | 4 | Project Data | |
VM02 | 109 | 49 | Virtual Machine Storage | |
nfs01 | 40 | 22 | Project Data | |
VM-02 | 65 | 31 | Virtual Machine Storage | |
VM-01 | 65 | 44 | Virtual Machine Storage | |
nfs-foo-01 | 43 | 29 | Project Data | |
cifs-project-01 | 20 | 1 | Project Data | |
nfs-foo-01_dest_0 | 21 | 3 | Replication & Disaster Recovery |
OlderNewer