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.
#= essential ubuntu/mint installations | |
sudo apt-get install -y autoconf build-essential g++ git vim ack-grep at tree htop tmux xclip x11-xkb-utils openjdk-8-jre openjdk-8-jdk-headless jq python3-pip libsource-highlight-common source-highlight | |
sudo apt-get install -y datamash network-manager neofetch openssh-server cmake subversion feh sxiv | |
sudo apt-get install meld sublime-text gimp blender inkscape | |
sudo apt-get install mpv audacious audacity | |
#= git setup | |
$ git config --global user.email "you@example.com" | |
$ git config --global user.name "Your Name" |
#__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.
Credit to Johan Petersson 2005-08-14, original was located at https://www.trilithium.com/johan/2005/08/linux-gate/ but is now defunct (and broken in Wayback Machine).
When you use the ldd
utility on a reasonably recent Linux system you'll frequently see a reference to an ethereal entity known as linux-gate.so.1:
ldd /bin/sh
if [ -f ~/.bash_colors ]; then | |
. ~/.bash_colors | |
fi | |
PROMPT_COMMAND='RET=$?;' | |
function _returnLambda { | |
if [[ $RET = 0 ]]; then echo -e "${BGreen}"; else echo -e "${BRed}"; fi; | |
} |
# Returns (svn:<revision>:<branch|tag>[*]) if applicable | |
svn_prompt() { | |
if [ -d ".svn" ]; then | |
local branch dirty rev info=$(svn info 2>/dev/null) | |
branch=$(svn_parse_branch "$info") | |
# Uncomment if you want to display the current revision. | |
#rev=$(echo "$info" | awk '/^Revision: [0-9]+/{print $2}') | |