Actual dos games that could at least theoretically be recompiled with the right dos tools, and then played in dosbox or on real hardware.
Doom doesn't count because the dos source is not available.
| alias vig='vi $HOME/scripts/bash/.git_aliases' | |
| # GIT aliases | |
| alias st='git status --short' | |
| alias rb='git rebase -p' | |
| alias rbi='git rebase -p --interactive' | |
| alias rbm='git rebase -p master' | |
| alias gcp='git cherry-pick' | |
| alias stash='git stash' | |
| alias pop='git stash pop' |
| #!/usr/bin/env bash | |
| # castanet.sh: Script to connect a chromecast to a WiFi network. | |
| # | |
| # Allows you to put your Chromecast on WiFi and do Chromecast initial setup | |
| # without using the Google Home app at all, just using a normal Linux computer. | |
| # | |
| # You do need your Chromecast to be on Ethernet, or (untested) to join its setup WiFi | |
| # network with your PC, and you also need to find out its IP yourself with e.g. | |
| # Wireshark. |
| //C++ copy files | |
| #include <fstream> | |
| std::ifstream src("from.ogv", std::ios::binary); | |
| std::ofstream dst("to.ogv", std::ios::binary | std::ios::trunc); | |
| dst << src.rdbuf(); | |
| /* | |
| the one-liner: | |
| std::ofstream(dest) << std::ifstream(src).rdbuf(); |
| Misc MACs: | |
| Num MAC Vendor | |
| --- --- ------ | |
| 0000 - 00:00:00 - XEROX CORPORATION | |
| 0001 - 00:00:01 - XEROX CORPORATION | |
| 0002 - 00:00:02 - XEROX CORPORATION | |
| 0003 - 00:00:03 - XEROX CORPORATION | |
| 0004 - 00:00:04 - XEROX CORPORATION | |
| 0005 - 00:00:05 - XEROX CORPORATION | |
| 0006 - 00:00:06 - XEROX CORPORATION |
| part | |
| id = "89s52"; | |
| desc = "AT89S52"; | |
| stk500_devcode = 0xE1; | |
| signature = 0x1e 0x52 0x06; | |
| chip_erase_delay = 500000; | |
| reset = dedicated; | |
| pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1", | |
| "x x x x x x x x x x x x x x x x"; |
| #__git_sequencer_status is a function | |
| function __git_sequencer_status () | |
| { | |
| local todo; | |
| if test -f "$g/CHERRY_PICK_HEAD"; then | |
| r="|CHERRY-PICKING"; | |
| return 0; | |
| else | |
| if test -f "$g/REVERT_HEAD"; then | |
| r="|REVERTING"; |
| # Zenburn color theme for the color GNU ls utility. | |
| # Term Section | |
| TERM Eterm | |
| TERM ansi | |
| TERM color-xterm | |
| TERM con132x25 | |
| TERM con132x30 | |
| TERM con132x43 | |
| TERM con132x60 |
| #=== [bash aliases] === | |
| alias ++='pushd' | |
| alias -- -='popd' | |
| alias ??='dirs -v' | |
| alias ]='xdg-open ' | |
| alias ackl='ack --pager='\''less -ar '\'' --ignore-file=match:/[Cc]hange[Ll]og\.?/ --ignore-file=match:/\.po/ ' | |
| alias alert='notify-send --urgency=low -i "$([ $? = 0 ] && echo terminal || echo error)" "$(history|tail -n1|sed -e '\''s/^\s*[0-9]\+\s*//;s/[;&|]\s*alert$//'\'')"' | |
| alias bman='man --html=x-www-browser ' | |
| alias cdiff='git diff --no-index ' | |
| alias cdt='cd ~/tmp ' |
| package main | |
| import ( | |
| "fmt" | |
| "os" | |
| "os/exec" | |
| "syscall" | |
| ) | |
| func main() { |
Actual dos games that could at least theoretically be recompiled with the right dos tools, and then played in dosbox or on real hardware.
Doom doesn't count because the dos source is not available.