Skip to content

Instantly share code, notes, and snippets.

View filipnyquist's full-sized avatar

filipnyquist filipnyquist

View GitHub Profile

Keybase proof

I hereby claim:

  • I am filipnyquist on github.
  • I am filipnyquist (https://keybase.io/filipnyquist) on keybase.
  • I have a public key ASADXDhKmcle_mZw8kB0tVsCsPSHb3UV5DORkGuNKgkTFAo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am filipnyquist on github.
  • I am filipnyquist (https://keybase.io/filipnyquist) on keybase.
  • I have a public key ASAxJdJ677Ud1VBn6CJq4s9aALaNm4ukMnA_RRFS17MHVQo

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am filipnyquist on github.
  • I am filipnyquist (https://keybase.io/filipnyquist) on keybase.
  • I have a public key whose fingerprint is 8736 3A0A 063F DC92 00FD B3CF E615 B3DB CCD6 FEB5

To claim this, I am signing this object:

@filipnyquist
filipnyquist / Dockerfile
Created July 23, 2017 14:16
csgo-install-Dockerfile
FROM phusion/baseimage:0.9.22
MAINTAINER Filip Nyquist (filipnyquist) <fillerix99@gmail.com>
# Install deps
RUN dpkg --add-architecture i386 && \
apt-get update && \
apt-get install -y --no-install-recommends curl wget file bzip2 gzip unzip lib32gcc1 libstdc++6 libstdc++6:i386
# Add a steam user as we are not going to run as root
RUN useradd -ms /bin/bash steam
### Keybase proof
I hereby claim:
* I am filipnyquist on github.
* I am filipnyquist (https://keybase.io/filipnyquist) on keybase.
* I have a public key whose fingerprint is 9AAB C5CB DFC9 9B76 E75A 98FD 545E 9206 9D87 E9AB
To claim this, I am signing this object:
@filipnyquist
filipnyquist / csgo-do-deploy
Last active December 20, 2016 13:26 — forked from andrewl3wis/csgo-do-deploy
Very quick and dirty script to install a CSGO Dedicated server on a Digital Ocean Droplet using User Data
#!/bin/bash
sudo apt-get update
sudo apt-get install -y lib32gcc1 unzip
useradd -m steam
su -c "wget https://gist.githubusercontent.com/Fillerix99/f4a8ab2666aceeff905c67b5927f59c4/raw/79efc1d1351a883a6a51808e894fd2b67f470aa8/csgo-userspace" - steam
su -c "chmod +x csgo-userspace" - steam
su -c "./csgo-userspace" - steam
1. Go here: https://console.aws.amazon.com/ec2sp/v1/spot/home?region=us-east-1
2. Click: "Request Spot Instances"
3. Request type: "Request and Maintain"
4. Choose how ever many servers/vcpus you want in the "Target Capacity" section.
5. In "AMI" search for "docker". Pick any one of the results.
If you find the following useful my donation address is: aEgoFC75sP78gT55em1QYcL8DNYZ78ewJ5
1. Go here: https://console.aws.amazon.com/ec2sp/v1/spot/home?region=us-east-1
2. Click: "Request Spot Instances"
3. Request type: "Request and Maintain"
4. Choose how ever many servers/vcpus you want in the "Target Capacity" section.

Keybase proof

I hereby claim:

  • I am fillerix99 on github.
  • I am fillerino (https://keybase.io/fillerino) on keybase.
  • I have a public key ASD65E-UzDa4gy0q2RLS1SUWSJACay0yjOcRAmsUO7tiLQo

To claim this, I am signing this object:

#!/bin/bash
sudo apt-get install -y libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm
sudo git clone https://github.com/pooler/cpuminer.git
cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"
sudo make
echo "done installing!"