python3 lispytest.py
python3 lispy.py factorial.lsp
Source pages are:
https://norvig.com/lispy.htmlhttps://norvig.com/lispy2.html
python3 lispytest.py
python3 lispy.py factorial.lsp
Source pages are:
https://norvig.com/lispy.htmlhttps://norvig.com/lispy2.html| ### | |
| ### [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. |
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 dmenuLog 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...
| #!/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 |
| SPC | |
| SPC: find file | |
| , switch buffer | |
| . browse files | |
| : MX | |
| ; EX | |
| < switch buffer | |
| ` eval | |
| u universal arg | |
| x pop up scratch |
| #!/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. |
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.
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