I hereby claim:
- I am jevy on github.
- I am jevy (https://keybase.io/jevy) on keybase.
- I have a public key ASCprErSzJvyfzqOzgkur8L5CfC4HSKqK3GE4Hpw8Bo14wo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
{ | |
description = "Home Manager configuration of Jevy"; | |
inputs = { | |
# Specify the source of Home Manager and Nixpkgs | |
home-manager.url = "github:nix-community/home-manager/release-21.11"; | |
nixpkgs.url = "github:nixos/nixpkgs/nixos-21.11"; | |
home-manager.inputs.nixpkgs.follows = "nixpkgs"; | |
duplicity_script.url = "/home/jevin/code/personal/duplicity_script"; | |
}; |
{ | |
description = "Duplicity Backup Script"; | |
outputs = { self, nixpkgs }: { | |
packages.x86_64-linux.backup_script = | |
let | |
pkgs = import nixpkgs { | |
system = "x86_64-linux"; |
with import <nixpkgs> {}; | |
let | |
duplicity_backupsh = fetchFromGitHub { | |
owner = "zertrin"; | |
repo = "duplicity-backup.sh"; | |
rev = "595aded06f96d91cbe44662712f6e5614ce89220"; | |
sha256 = "1xzmz7fcr3vjcxhbjla3kvc49g3xgbs065pjd167jfqvgxj51m7l"; | |
}; |
[nix-shell:~/code/personal/gnome-calendar-applet]$ poetry install | |
Installing dependencies from lock file | |
Package operations: 1 install, 0 updates, 0 removals | |
• Installing dbus-python (1.2.18): Failed | |
EnvCommandError | |
Command ['/home/jevin/.cache/pypoetry/virtualenvs/gnome-next-meeting-applet-AfKXBEeF-py3.9/bin/pip', 'install', '--no-deps', 'file:///home/jevin/.cache/pypoetry/artifacts/08/8e/4b/533a9277c305a960780320ddcac1c3ed323a213a78fcd0434298fabb72/dbus-python-1.2.18.tar.gz'] errored with the following return code 1, and output: |
14:31:18.139 [38;5;35mDEBUG[0m PushManager.initCrypt():70 - Encryption not enabled | |
14:31:18.144 [38;5;35mDEBUG[0m PushManager.init():41 - Getting user info... | |
14:31:18.701 [38;5;35mDEBUG[0m Is connected.websocketDidConnect():279 - PushManager | |
15:58:48.658 [38;5;178mWARNING[0m Is disconnected: Optional("The operation couldn’t be completed.websocketDidDisconnect():283 - PushManager | |
15:58:48.659 [38;5;38mINFO[0m PushManager.websocketDidDisconnect():286 - Reconnecting in 5 sec | |
15:58:53.703 [38;5;178mWARNING[0m PushManager.disconnect():52 - Trigged disconnect | |
15:58:53.936 [38;5;35mDEBUG[0m Is connected.websocketDidConnect():279 - PushManager | |
16:39:04.261 [38;5;178mWARNING[0m PushManager.disconnect():52 - Trigged disconnect | |
16:39:04.261 [38;5;178mWARNING[0m Is disconnected: nil.websocketDidDisconnect():283 - PushManager | |
16:39:04.262 [38;5;38mINFO[0m PushManager.websocketDidDisconnect():286 - Reconnecting in 5 sec |
# to run: docker-compose run | |
# | |
# Create a .evn file in the same folder as this file and change the variables. | |
# MOUNT_POINT=/tmp/ | |
# VPN_PROVIDER=changeme | |
# VPN_CONFIG=changeme | |
# VPN_USERNAME=changeme | |
# VPN_PASSWORD=changeme | |
# | |
# |
import argparse | |
import os | |
import hashlib | |
# Origin_dir_files = Build an MD5 hash of files with filenames in original dir (with subdirs) | |
# Destination_dir_files = Do the same for all in the destination dir | |
# Iterate over origin_dir_files to see each hash exists in Destination_dir_files. Print any that aren't | |
def get_all_filenames(root): |
# In Hazel select "run shell script". Shell is /bin/bash | |
/usr/local/bin/exiftool -d %Y-%m "-directory<AllDates" $1 |
{ | |
"order": | |
{ | |
"language_pref": "en", | |
"source_id":"iPhone v3.3", | |
"products_attributes": [ | |
{ | |
"type": "Postcard", | |
"message_text": "Check out this awesome picture!", | |
"image_external_id": "1111-1111-1111-1111", |