Skip to content

Instantly share code, notes, and snippets.

View accraze's full-sized avatar
👽

A. Craze accraze

👽
  • Zone 8b
View GitHub Profile
@tam17aki
tam17aki / watermark_spread_spectrum.py
Last active December 18, 2024 11:10
A python script to perform audio watermark embedding/detection on the basis of direct-sequence spread spectrum method.
#!/usr/bin/env python3
"""A python script to perform audio watermark embedding/detection
on the basis of direct-sequence spread spectrum method."""
# Copyright (C) 2020 by Akira TAMAMORI
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
@gerrywastaken
gerrywastaken / doom.org
Last active November 25, 2021 04:35 — forked from hjertnes/doom.txt
Doom Emacs Cheatsheet (org-mode file)

SPC

SPC: find file , switch buffer . browse files

MX

; EX < switch buffer ` eval u universal arg x pop up scratch

@lvaylet
lvaylet / 15_xmonad_xmobar.md
Last active January 26, 2024 06:59
Install XMonad and Xmobar on Ubuntu with Distrotube's config

15 - XMonad and Xmobar

From a fresh installation of Ubuntu 20.04 (ubuntu-20.04.2.0-desktop-amd64.iso), install the base XMonad package, extra libraries/modules from the community as well as xterm and dmenu with:

sudo apt install xmonad libghc-xmonad-contrib-dev xterm dmenu

Log out, click your user, select XMonad from the cog at the bottom right and type your password to log in using XMonad instead of the default window manager. The black screen you get is suckless to the extreme and completely expected :-) No wallpaper, no menu, no panel...

@jmatsushita
jmatsushita / README
Last active December 21, 2025 02:10
Setup nix, nix-darwin and home-manager from scratch on an M1 Macbook Pro
###
### [2023-06-19] UPDATE: Just tried to use my instructions again on a fresh install and it failed in a number of places.
###. Not sure if I'll update this gist (though I realise it seems to still have some traffic), but here's a list of
###. things to watch out for:
### - Check out the `nix-darwin` instructions, as they have changed.
### - There's a home manager gotcha https://github.com/nix-community/home-manager/issues/4026
###
# I found some good resources but they seem to do a bit too much (maybe from a time when there were more bugs).
# So here's a minimal Gist which worked for me as an install on a new M1 Pro.
@tonyallan
tonyallan / $README.md
Last active April 2, 2022 15:16
Python 3 update for Peter Norvig's Python Lisp
python3 lispytest.py
python3 lispy.py factorial.lsp

Source pages are:

  • https://norvig.com/lispy.html
  • https://norvig.com/lispy2.html