Achieved with WINE. None of the online tutorials were sufficient so I created this.
I've played the following Windows-only games with zero performance issues.
- Fallout 3 GOTY Edition
- S.T.A.L.K.E.R.: Call of Pripyat
//http://chrisbroadfoot.id.au/2008/08/06/groovy-threads/ | |
//http://docs.groovy-lang.org/latest/html/gapi/groovy/transform/Synchronized.html | |
//https://github.com/jenkinsci/jenkins-scripts/blob/master/scriptler/findOfflineSlaves.groovy | |
import java.util.concurrent.locks.ReentrantLock | |
ReentrantLock.metaClass.withLock = { | |
lock() | |
try { | |
it() |
--- FALLOUT.INI.default 2012-11-13 21:03:31.824656147 +0100 | |
+++ FALLOUT.INI 2012-11-29 16:20:30.548148502 +0100 | |
@@ -75,8 +75,8 @@ | |
bRunVTuneTest=0 | |
STestFile1= | |
bActivateAllQuestScripts=0 | |
-bUseThreadedBlood=0 | |
-bUseThreadedMorpher=0 | |
+bUseThreadedBlood=1 | |
+bUseThreadedMorpher=1 |
#common document extensions (case insensitive) | |
**.[pP][dD][fF] | |
**.[dD][oO][cC] | |
**.[dD][oO][tT] | |
**.[dD][oO][cC][xX] | |
**.[dD][oO][cC][mM] | |
**.[dD][oO][tT][xX] | |
**.[dD][oO][tT][mM] | |
**.[dD][oO][cC][bB] | |
**.[pP][pP][tT][xX] |
I hereby claim:
To claim this, I am signing this object:
apply plugin: 'groovy' | |
ext { groovyVersion = "1.8.9" } | |
println "Using Groovy ${project.groovyVersion}" | |
buildscript { | |
repositories { mavenCentral() } | |
dependencies { | |
//classpath "org.codehaus.groovy:groovy-all:${groovyVersion}" | |
} |
#!/bin/bash | |
# based on http://offbytwo.com/2008/05/09/show-ip-address-of-vm-as-console-pre-login-message.html | |
# based on https://gist.github.com/rm/3780228 | |
# A better IP address method https://www.linuxquestions.org/questions/blog/sag47-492023/using-a-script-to-get-your-ip-address-35251/ | |
# need to be root to write out these files | |
if [ "$(id -u)" != "0" ]; then | |
echo "Need to run as root. Maybe use sudo..." | |
exit | |
fi |
#!/bin/sh | |
# based on http://offbytwo.com/2008/05/09/show-ip-address-of-vm-as-console-pre-login-message.html | |
# need to be root to write out these files | |
if [ `id -u` != 0 ]; then | |
echo "Need to run as root. Maybe use sudo..." | |
exit | |
fi | |
GET_IP_ADDRESS='/usr/local/bin/get-ip-address' |
/* | |
* Sam Gleske | |
* Inches to feet | |
*/ | |
#include <iostream> | |
using namespace std; | |
//global constants | |
float const INCHES_IN_FOOT = 12; |
/* | |
* Sam Gleske | |
* Value vs Reference | |
*/ | |
#include <iostream> | |
using namespace std; | |
int main(void) | |
{ |