Skip to content

Instantly share code, notes, and snippets.

View accraze's full-sized avatar
👽

A. Craze accraze

👽
  • Zone 8b
View GitHub Profile
@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
@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.
@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...

@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

@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
@hjertnes
hjertnes / doom.txt
Created April 6, 2018 08:28
Doom Emacs Cheatsheet
SPC
SPC: find file
, switch buffer
. browse files
: MX
; EX
< switch buffer
` eval
u universal arg
x pop up scratch
@NicolasBizzozzero
NicolasBizzozzero / comprehensive_header.py
Last active March 19, 2025 15:03
Python template of a comprehensive header, with shebang, docstring, GPLv3 license and all metadata.
#!/usr/bin/env python
""" Short description of this Python module.
Longer description of this module.
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 (at your option) any later
version.
@norswap
norswap / README.md
Created February 10, 2017 15:08
Installing SWI-Prolog

macOS / OS X

Install homebrew then run brew install swi-prolog. You can now run the Prolog shell from the command line with swipl.

Important: do not install from the official website, you will get crashes.

Windows

@naotokui
naotokui / audio_lstm_keras.ipynb
Last active July 15, 2025 08:25
Audio generation with LSTM in keras
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@bpierre
bpierre / README.md
Last active February 15, 2024 18:40
Switch To Vim For Good

Switch To Vim For Good

NOTE: This guide has moved to https://github.com/bpierre/switch-to-vim-for-good

This guide is coming from an email I used to send to newcomers to Vim. It is not intended to be a complete guide, it is about how I switched myself.

My decision to switch to Vim has been made a long time ago. Coming from TextMate 1, I wanted to learn an editor that is Open Source (so I don’t lose my time learning a tool that can be killed), cross platform (so I can use it everywhere), and powerful enough (so I won’t regret TextMate). For these reasons, Vim has always been the editor I wanted to learn, but it took me several years before I did it in a way that works for me. I tried to switch progressively, using the Janus Vim distribution for a few months, then got back to using TextMate 2 for a time, waiting for the next attempt… here is what finally worked for me.

Original gist with comments: https://gist.github.com/bpierre/0a0025d348b6001394e0