Skip to content

Instantly share code, notes, and snippets.

import os
import getpass
def make_executable(path):
mode = os.stat(path).st_mode
mode |= (mode & 0o444) >> 2
os.chmod(path, mode)
entry = []
try:
with open('/home/{0}/.ssh/config'.format(getpass.getuser())) as f:
### Keybase proof
I hereby claim:
* I am chriskvik on github.
* I am chriskvik (https://keybase.io/chriskvik) on keybase.
* I have a public key whose fingerprint is 1E88 20B6 E279 B97A 5961 D1E0 AC77 98AE 897E B873
To claim this, I am signing this object:
#include <avr/io.h>
int main(void)
{
// Set Port B pins as all outputs
DDRB = 0xff;
// Set all Port B pins as HIGH
PORTB = 0xff;