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.
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
Make sure there is at least one file in it (even just the README.md)
ssh-keygen -t rsa -C "[email protected]"
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}') | |
Note these instructions are all based on the mightyOhm articles. This is a little bit different because I wanted to get alsa sound working (instead of dsp) so that I could overlay effects | |
and background sound simultaneously. | |
What to do | |
========== | |
install mightyohm trx by blind flashing | |
setup network and wireless and dhcp | |
setup the banner for fun | |
Blind flashing |
/******************************************************************************* | |
* Copyright (c) 2015 Song Yang @ ittraining | |
* | |
* All rights reserved. | |
* This program is free to use, but the ban on selling behavior. | |
* Modify the program must keep all the original text description. | |
* | |
* 保留所有權利。 | |
* 本程式可任意使用,但是禁止販售行為。 | |
* 修改程式時必須保留所有原有文字說明。 |
import subprocess | |
get_line_by_line_texlive_dependencies = subprocess.run( | |
[ | |
"apt-cache", | |
"depends", | |
"texlive-full" | |
], | |
universal_newlines=True, | |
stdout=subprocess.PIPE |
# set the Windows Update service to "disabled" | |
sc.exe config wuauserv start=disabled | |
# display the status of the service | |
sc.exe query wuauserv | |
# stop the service, in case it is running | |
sc.exe stop wuauserv | |
# display the status again, because we're paranoid |