This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# AI | |
- http://gamedevelopment.tutsplus.com/series/understanding-steering-behaviors--gamedev-12732 | |
- http://notmagi.me/behavior-trees-number-1/ | |
- http://notmagi.me/behavior-trees-number-2/ | |
# Camera | |
- http://nova-fusion.com/2011/04/19/cameras-in-love2d-part-1-the-basics/ | |
# Lua | |
- http://nova-fusion.com/categories/tutorials/ |
I hereby claim:
- I am toxinu on github.
- I am toxinu_ (https://keybase.io/toxinu_) on keybase.
- I have a public key ASCpcN-ge4k4OKcd8XYrvIrr748qbYFkvrabUHgavVQrOAo
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat /var/lib/flatpak/exports/share/applications/org.signal.Signal.desktop | |
[Desktop Entry] | |
Name=Signal | |
Comment=Private messaging from your desktop | |
Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=signal --file-forwarding org.signal.Signal @@u %U @@ --use-tray-icon --start-in-tray | |
Terminal=false | |
Type=Application | |
Icon=org.signal.Signal | |
StartupWMClass=Signal | |
Categories=Network; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
BRANCH_1=$1 | |
BRANCH_2=$2 | |
# Can be "both", "merged", "not-merged" | |
SHOW=${SHOW:-'both'} | |
if [ -z ${BRANCH_1} ] || [ -z ${BRANCH_2} ]; then | |
printf "Usage: ./drifted-commits.sh <ORIGIN_BRANCH> <TARGET_BRANCH>\n" | |
exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
[...] | |
Exec=env WAYLAND_DISPLAY= alacritty -e tmux | |
[...] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ tree . | |
. | |
├── my_package | |
│ ├── __about__.py | |
│ └── __init__.py | |
└── setup.py | |
1 directory, 3 files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__all__ = [ | |
"__title__", "__summary__", "__uri__", "__version__", "__author__", | |
"__email__", "__license__", "__copyright__", | |
] | |
__title__ = "my-package" | |
__summary__ = "My package is something." | |
__uri__ = "https://example.com" | |
__version__ = "0.1.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cat my_package/__init__.py | |
from .__about__ import ( | |
__author__, __copyright__, __email__, __license__, __summary__, __title__, | |
__uri__, __version__ | |
) | |
__all__ = [ | |
"__title__", "__summary__", "__uri__", "__version__", "__author__", | |
"__email__", "__license__", "__copyright__", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from setuptools import setup | |
base_dir = os.path.dirname(__file__) | |
about = {} | |
with open(os.path.join(base_dir, "my_package", "__about__.py")) as f: | |
exec(f.read(), about) |
OlderNewer