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
You need to do this: | |
1 - Download SteamCMD for Windows: | |
http://media.steampowered.com/installer/steamcmd.zip | |
2 - Extract it. | |
Now in directory with SteamCMD save script.cmd | |
3 - Now run it from console this way: | |
steamcmd +runscript script.cmd | |
More details about SteamCMD available here: |
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
For this comment on reddit: | |
http://www.reddit.com/r/linux_gaming/comments/2xd0sr/eli5_why_is_the_performance_of_open_source_video/ | |
Intel OTC Mesa: | |
http://cgit.freedesktop.org/mesa/mesa/log/?qt=grep&q=intel.com | |
abdiel.janulgue@linux.intel.com | |
benjamin.widawsky@intel.com | |
chad.versace@intel.com | |
connor.abbott@intel.com | |
damien.lespiau@intel.com |
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/sh | |
modprobe vfio-pci | |
service lightdm stop | |
echo "1002 6719" > /sys/bus/pci/drivers/vfio-pci/new_id | |
echo "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind | |
echo "0000:01:00.0" > /sys/bus/pci/drivers/vfio-pci/bind | |
echo "1002 6719" > /sys/bus/pci/drivers/vfio-pci/remove_id | |
echo "1002 aa80" > /sys/bus/pci/drivers/vfio-pci/new_id |
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
!This program cannot be run in DOS mode. | |
VMRich | |
.text | |
`.rdata | |
@.data | |
.tls | |
.rsrc | |
@.reloc | |
h bE | |
h0bE |
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
# Based off snippet: | |
# http://unix.stackexchange.com/questions/195910/start-a-single-color-full-screen-from-the-terminal | |
import gtk | |
import sys | |
from itertools import cycle | |
def color(widget, event): | |
colors = ['#FFFFFF', '#000000', '#FF0000', '#0000FF', '#008000', '#FFFF00'] | |
color.idx = (color.idx + 1) % len(colors) | |
w.modify_bg(gtk.STATE_NORMAL, gtk.gdk.color_parse(colors[color.idx])) |
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
#!/usr/bin/env python | |
# https://gist.github.com/ArseniyShestakov/969f27d4a2437fe60cd1 | |
import os, sys, gtk, argparse | |
from os import path | |
from itertools import cycle | |
# Check command line options | |
parser = argparse.ArgumentParser(description='Simple fullscreen image view') | |
parser.add_argument('imagedir', nargs='?', default=path.join(os.getcwd(), "img"), help="directory with background images") | |
parser.add_argument('-a', '--noauto', action="store_false", help="disable auto rotation") |
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
# Lazy TCP port forwarding on localhost | |
autossh -M 0 -f -N -R 34567:192.168.1.150:34567 localhost | |
## Proper port forwarding from server to internal subnet | |
# Allow forwarding on external interface (eth0) | |
iptables -A FORWARD --in-interface eth0 -j ACCEPT | |
# Add masquerade for internal OpenVPN interface (tun0) | |
iptables -t nat -A POSTROUTING --out-interface tun0 -j MASQUERADE | |
# Forward from public ip port 8080 to internal port 80 | |
iptables -t nat -A PREROUTING -p tcp -i eth0 -m tcp --dport 8080 -j DNAT --to-destination 192.168.1.150:80 |
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
package main | |
import ( | |
"path" | |
"path/filepath" | |
"os" | |
"time" | |
"strconv" | |
"math/rand" | |
) |
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
diff -rupN linux-3.15.old/Documentation/kernel-parameters.txt linux-3.15/Documentation/kernel-parameters.txt | |
--- linux-3.15.old/Documentation/kernel-parameters.txt 2014-06-08 15:19:54.000000000 -0300 | |
+++ linux-3.15/Documentation/kernel-parameters.txt 2014-06-09 18:05:31.744055580 -0300 | |
@@ -2554,6 +2554,16 @@ bytes respectively. Such letter suffixes | |
nomsi Do not use MSI for native PCIe PME signaling (this makes | |
all PCIe root ports use INTx for all services). | |
+ pcie_acs_override = | |
+ [PCIE] Override missing PCIe ACS support for: | |
+ downstream |
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
diff --git a/audio/paaudio.c b/audio/paaudio.c | |
index fea6071..5a8a4b9 100644 | |
--- a/audio/paaudio.c | |
+++ b/audio/paaudio.c | |
@@ -1,6 +1,7 @@ | |
/* public domain */ | |
#include "qemu-common.h" | |
#include "audio.h" | |
+#include "sysemu/sysemu.h" | |
OlderNewer