Skip to content

Instantly share code, notes, and snippets.

# set this to your Torchlight directory
TORCHLIGHTDIR=${1:-$HOME/games/Torchlight}
hg clone http://hg.libsdl.org/SDL
cd SDL
# check out the revision before the one that introduces the bug as advised here: http://forums.runicgames.com/viewtopic.php?f=24&t=33360&start=60#p474739
hg up 4de584a3a027 --clean
# Fix X11 compilation issues with another changeset
This file has been truncated, but you can view the full file.
├── a1.ww.np.dl.playstation.net
│   └── eula
│   └── np
│   └── NPWR00432_00
│   └── index.xml
├── api.crackle.com
│   └── Service.svc
│   └── geo
│   └── country
├── apollo.dl.playstation.net
@Corben78
Corben78 / videbcontrol.sh
Last active September 19, 2015 23:44 — forked from chetan/videbcontrol.sh
bash script for modifying .deb dependencies (debian control file)
#!/bin/bash
# usage: save as 'videbcontrol.sh'; chmod 755 videbcontrol.sh; ./videbcontrol.sh foo.deb
#
# from: http://ubuntuforums.org/showthread.php?t=636724
if [[ -z "$1" ]]; then
echo "Syntax: $0 debfile"
exit 1
fi

Keybase proof

I hereby claim:

  • I am Corben78 on github.
  • I am corben (https://keybase.io/corben) on keybase.
  • I have a public key whose fingerprint is BE6F 7520 6B22 8A11 A2A2 4AFD 0686 94DE FAF2 9D54

To claim this, I am signing this object:

@Corben78
Corben78 / enable_mongo.sh
Created July 29, 2016 08:56 — forked from sgnn7/enable_mongo.sh
Mongodb 3.2 on Ubuntu 15.10
echo '[Unit]
Description=High-performance, schema-free document-oriented database
After=syslog.target network.target
[Service]
User=mongodb
Group=mongodb
ExecStart=/usr/bin/mongod -f /etc/mongod.conf
[Install]
host# sudo -u wwwrun /opt/gogs/gogs web
2016/08/31 11:25:36 [T] Custom path: /opt/gogs/custom
2016/08/31 11:25:36 [T] Log path: /var/log/gogs
2016/08/31 11:25:36 [I] marco git service 0.9.71.0809
2016/08/31 11:25:36 [I] Log Mode: File(Info)
2016/08/31 11:25:36 [I] Cache Service Enabled
2016/08/31 11:25:36 [I] Session Service Enabled
2016/08/31 11:25:36 [I] Git Version: 2.8.0
2016/08/31 11:25:36 [I] SQLite3 Supported
2016/08/31 11:25:36 [I] Run Mode: Production
@Corben78
Corben78 / a2dp.py
Created November 11, 2016 10:44 — forked from pylover/a2dp.py
Fixing bluetooth stereo headphone/headset problem in ubuntu 16.04, 16.10 and also debian jessie, with bluez5.
#! /usr/bin/env python3.5
"""
####################################################################
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2016 Vahid Mardani
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
@Corben78
Corben78 / ubuntu-gl502vs.md
Created August 9, 2017 19:12 — forked from GMMan/ubuntu-gl502vs.md
Problems and Solutions for Ubuntu 16.04 LTS on ASUS ROG GL502VS Laptop

Problems and Solutions for Ubuntu 16.04 LTS on ASUS ROG GL502VS Laptop

NVIDIA Graphics

Nouveau does not appear to support Pascal cards right now, so you should use the proprietary NVIDIA driver, available from the Additional Drivers applet.

Panel Dithering

@Corben78
Corben78 / avpds.sh
Created August 27, 2018 08:44
bash script to start and stop a Windows Aliens vs. Predator (2010) dedicated server on Linux with wine
#!/bin/bash
# Installation:
# Laden des Windows Binaries unter Linux
#./steamcmd.sh +login user pass +force_install_dir /home/steam/avpds +@sSteamCmdForcePlatformType windows +app_update 34120 +quit
DISPLAY=${DISPLAY:-:1}
WINEPREFIX=/home/steam/wine/avpds
#DISPLAY=localhost:10.0
. /lib/lsb/init-functions
@Corben78
Corben78 / gist:1d4ea8872001f27d706b2f46ebc89268
Created January 8, 2019 18:28
Corben78's laptop system information
Computer Information:
Manufacturer: Unknown
Model: Unknown
Form Factor: Laptop
No Touch Input Detected
Processor Information:
CPU Vendor: GenuineIntel
CPU Brand: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
CPU Family: 0x6