Skip to content

Instantly share code, notes, and snippets.

View julie-is-late's full-sized avatar

Julie Shapiro julie-is-late

View GitHub Profile
Module #0
Name: module-device-restore
Argument:
Usage counter: n/a
Properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute state of devices"
module.version = "13.0"
Module #1
~ jshap@seme
> docker run --rm --gpus all -it nvidia/cuda:10.2-base
Unable to find image 'nvidia/cuda:10.2-base' locally
10.2-base: Pulling from nvidia/cuda
7ddbc47eeb70: Pull complete
c1bbdc448b72: Pull complete
8c3b70e39044: Pull complete
45d437916d57: Pull complete
d8f1569ddae6: Pull complete
902fc5ce8229: Pull complete
188K 9348.ogg
184K 9347.ogg
184K 9344.ogg
180K 9350.ogg
180K 9346.ogg
176K 9394.ogg
176K 9345.ogg
176K 9342.ogg
176K 127270.ogg
172K 9351.ogg
#!/usr/bin/env python
import csv
import os
import subprocess
import json
import time
import signal
import sys
diff --git a/PKGBUILD b/PKGBUILD
index 2d7bf49..4c4be15 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Jonathan Arnold <jarnold@buddydog.org>
pkgname=p4
-pkgver=2018.1.1660568
+pkgver=2018.2.1660568
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 390.42 (builduser@anthraxx) Thu Mar 15 01:55:17 CET 2018
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
@julie-is-late
julie-is-late / .tmux.conf
Last active March 22, 2021 18:30
current .tmux.conf, with glorious truecolor! 🌈
# jshap's tmux config
### keybindings
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# f!@# emacs
set-window-option -g xterm-keys on
@julie-is-late
julie-is-late / .vimrc
Last active February 15, 2019 16:28
24-bit color for vim inside tmux through wsl's ssh out to mintty 😄
" jshap's vimrc
" there are many like it, but this one is mine
" Load vim-plug
if !has('win32')
let autoload_dir=$HOME."/.vim/autoload"
else
let autoload_dir=$HOME."/vimfiles/autoload"
endif
@julie-is-late
julie-is-late / rsa_loading.go
Created February 21, 2017 23:37
How to load rsa keys in go
package config
import (
"crypto/rand"
"crypto/rsa"
"crypto/x509"
"encoding/pem"
"io/ioutil"
"github.com/CodeCollaborate/Server/utils"