Skip to content

Instantly share code, notes, and snippets.

@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 / 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 / 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]
@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
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
# 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