Skip to content

Instantly share code, notes, and snippets.

View alyssacohen's full-sized avatar

Alyssa C. alyssacohen

  • Italy
View GitHub Profile
alyssacohen / xdfix.css
Last active March 2, 2021 08:51
Correzione del tema purplexion su
/* ==UserStyle==
@name XDress forum
@version 1.0.0
@description xdress forum purplexion fix
@author Alyssa C.
==/UserStyle== */
@import url('');
@-moz-document url-prefix("")
alyssacohen /
Created April 28, 2020 00:59
Script to toggle "disable touchpad when typing" under GNOME
#!/usr/bin/env bash
# Micro script to toggle "disable touchpad when typing" under GNOME
# (to use with some games like 0 A.D.)
# by Alyssa Cohen
DISABLE_TOUCHPAD=$(gsettings get org.gnome.desktop.peripherals.touchpad disable-while-typing)
echo "Touchpad remain enabled while typing..."
alyssacohen / spacemacs-keybindings
Created April 8, 2020 22:15 — forked from adham90/spacemacs-keybindings
spacemacs keybindings that i need to learn
SPC s c remove highlight
**** Files manipulations key bindings
Files manipulation commands (start with ~f~):
| Key Binding | Description |
| ~SPC f c~ | copy current file to a different location |
| ~SPC f C d~ | convert file from unix to dos encoding |
| ~SPC f C u~ | convert file from dos to unix encoding |
alyssacohen /
Last active April 5, 2020 23:39
Keybase proof

Keybase proof

I hereby claim:

  • I am alyssacohen on github.
  • I am alyssathegurl ( on keybase.
  • I have a public key ASBdGt1tj-SdxwF1HgylhmChN8OvlbT4AvfVftzIPKaqnAo

To claim this, I am signing this object:

alyssacohen /
Last active October 2, 2022 02:35
My laptop backup with restic

My Laptop Backup with restic

Some notes about setting up automatic backup on IBM Cloud Object Storage.

Inspired by an article about making free backups to the cloud and this one about automating the process with systemd, I decided to set up automatic backup over the internet of my mule laptop "lapdog". It's an Arch Linux powered machine I mostly use to kill time, so it's not a big deal if for some reason I screw things up. Something went wrong when I followed that guide, so I decided to retrace all the steps following restic and aws documentation instead of those articles. And here is my version of the guide (hope it helps someone) IBM COS basically let you create an Amazon S3 bucket with up to 25GB of cloud space to upload your backups for free! 😁 Too small for a full system backup, but enough fo