Managing your home's dot files as git repo an approach well documented by @durdn.
git init --bare $HOME/.cfg
alias cfg='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
cfg config --local status.showUntrackedFiles no
echo ".cfg" >> .gitignore
Managing your home's dot files as git repo an approach well documented by @durdn.
git init --bare $HOME/.cfg
alias cfg='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
cfg config --local status.showUntrackedFiles no
echo ".cfg" >> .gitignore
| import SwiftUI | |
| import PlaygroundSupport | |
| struct Screen: View { | |
| var body: some View { | |
| ScrollView { | |
| VStack { | |
| Text("5:45").font(.system(size: 64, weight: .thin)) | |
| Text("Monday, May 11").font(.system(size: 24)) | |
| }.padding(.vertical, 32) |
(draft; work in progress)
See also:
A script (that needs some work) that documents for me how to setup and launch an autossh session to a cloud server. Not really useful for others.
If you want to setup your own server though the steps are: Create the remote cloud server autossh account (Only need to do this once)
useradd -m -s /bin/false autossh
mkdir ~autossh/.ssh && chmod 700 ~autossh/.ssh
touch ~autossh/.ssh/authorized_keys && chmod 600 ~autossh/.ssh/authorized_keys
chown -R autossh.autossh ~autossh/.ssh
A bash script for managing ssh-agent that I use for Ubuntu and OSX.
Started as a variation from this classic on Stack Overflow How to check if ssh-agent is already running and then adapted it to align with behaivor I want.
This version does the following:
A curated list of AWS resources to prepare for the AWS Certifications
A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.
| #!/usr/bin/env python | |
| # | |
| # Very basic example of using Python and IMAP to iterate over emails in a | |
| # gmail folder/label. This code is released into the public domain. | |
| # | |
| # RKI July 2013 | |
| # http://www.voidynullness.net/blog/2013/07/25/gmail-email-with-python-via-imap/ | |
| # | |
| import sys | |
| import imaplib |