Skip to content

Instantly share code, notes, and snippets.

View benbristow's full-sized avatar

Ben Bristow benbristow

View GitHub Profile
#!/bin/bash
_kernver=$(uname -r | cut -d- -f 1)
_basever=$(uname -r | cut -d. -f -2)
[ -e "linux-${_basever}.tar.xz" ] || wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-${_basever}.tar.xz
[ -e "patch-${_kernver}.xz" ] || wget https://www.kernel.org/pub/linux/kernel/v3.x/patch-${_kernver}.xz
[ -e "xonar-01.patch" ] || wget https://gist.github.com/ipha/7831385/raw/69e172eb9336f9371a8fab6300ff2cbeaf622851/xonar-01.patch
[ -e "xonar-02.patch" ] || wget https://gist.github.com/ipha/7831385/raw/c23e88245d8ee3ea09fe5607496ee2d833aa3053/xonar-02.patch
@benbristow
benbristow / gist:8280690
Created January 6, 2014 10:09
Labpunch Userstyle
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("lab.facepunch.com") {
body {
background-image:url('http://facepunch.com/fp/bg.png');
}
.col-md-8 {
background-color:#FFF;
}
Cheap ass games:
==========================
Digital:
http://store.steampowered.com/
http://www.greenmangaming.com/
http://getgamesgo.com/
http://store.indiegala.com/index.php/
https://www.humblebundle.com/store
http://www.shopto.net/product/search/platform/download
[20:06:13 INFO]: benbb issued server command: /plotme claim
[20:06:13 ERROR]: null
org.bukkit.command.CommandException: Unhandled exception executing command 'plotme' in plugin PlotMe v0.17
at org.bukkit.command.PluginCommand.execute(PluginCommand.java:46) ~[server.jar:git-Bukkit-0a645a2]
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:140) ~[server.jar:git-Bukkit-0a645a2]
at org.bukkit.craftbukkit.v1_8_R2.CraftServer.dispatchCommand(CraftServer.java:625) ~[server.jar:git-Bukkit-0a645a2]
at net.minecraft.server.v1_8_R2.PlayerConnection.handleCommand(PlayerConnection.java:1083) [server.jar:git-Bukkit-0a645a2]
at net.minecraft.server.v1_8_R2.PlayerConnection.a(PlayerConnection.java:943) [server.jar:git-Bukkit-0a645a2]
at net.minecraft.server.v1_8_R2.PacketPlayInChat.a(SourceFile:37) [server.jar:git-Bukkit-0a645a2]
at net.minecraft.server.v1_8_R2.PacketPlayInChat.a(SourceFile:9) [server.jar:git-Bukkit-0a645a2]
@benbristow
benbristow / install-pacaur.sh
Created September 3, 2015 20:52 — forked from rumpelsepp/install-pacaur.sh
A small script for arch linux which builds and installs "pacaur" automatically. Fixed for use with new git-based AUR.
#!/usr/bin/env bash
# The MIT License (MIT)
#
# Copyright (c) 2015 Stefan Tatschner
# Modified by Ben Bristow (c) 2015
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
xccx
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Writeline
{
class Program
{
mail:
image: "analogic/poste.io"
container_name: "mail"
ports:
- "25:25"
- "110:110"
- "143:143"
- "465:465"
- "587:587"
- "993:993"
### Keybase proof
I hereby claim:
* I am benbristow on github.
* I am benbristow (https://keybase.io/benbristow) on keybase.
* I have a public key ASCApn9yp6zyU59A6P7jDlSkaWkEkxWBDo3Zg7JpZVoupAo
To claim this, I am signing this object: