Skip to content

Instantly share code, notes, and snippets.

View Sebb767's full-sized avatar

Sebastian Kaim Sebb767

View GitHub Profile
@Sebb767
Sebb767 / Readme.md
Last active September 30, 2015 18:31
︻$芫══--'s CS:GO config

Introduction

When you're becoming a CS:GO advanced player, you'll soon find that your options menu is a bit limited. That's when you should create your very own config file. The one below is mine and edited to fit my needs, so feel free (or forced :) to edit it. I'm playing on a 144Hz monitor with all graphics settings maxed out, so you may need to edit the -freq launch option to fit your needs (if you don't know, use 60). The default key configs are also a little mixed up, see below.

The template for my autoexec was Budi's autoexec.

Launch Options

-novid -noborder -high -threads 4 -freq 144 -refresh 144 -tickrate 128 -nojoy -nod3d9ex -noaafonts +exec autoexec.cfg +mat_vignette_enable 0 -processheap

To set them right click on CS:GO in your Steam Library > Properties > set launch options.

@Sebb767
Sebb767 / trash
Last active August 29, 2015 14:20
Simple trash script for console
#!/bin/bash
# trash
#
# Script by (c) Sebb767, 2015
# A simple helper tool to move things to a
# specific directory instead of deleting
# them instantly.
# Usage: ./trash <files/directories>
#
# The files will be moved to $TRASHDIR (if set) or /tmp/trash-$(id -u)
@Sebb767
Sebb767 / Readme.md
Created August 6, 2015 01:22
Escape The Matrix (Dark Web Article)

This is the famous escape the matrix article from the hidden wiki. Since most mirrors are down and on the hidden wiki itself, the first chaper was replaced with a bitcoin scam, I thought I repost this here. Copyright goes to the original author and I'm not stating any opinion on this text except that it may or may not be an interesting read ;)

The .txt version is taken from here (there's also an intepretation where that came from), the markdown version was converted via some regexes by, well, me.

Have fun :)

@Sebb767
Sebb767 / test.php
Created December 2, 2015 13:39
Benchmark script for the medoo isAlive() function
<?php
# wait_timeout & interactive_timeout is set to 3 secs each
include("medoo.php");
$db = new medoo([
'database_type' => 'mysql',
'database_name' => 'mysql',
'server' => '127.0.0.1',
'username' => 'root',
@Sebb767
Sebb767 / compile.sh
Last active March 17, 2016 10:41
Compile 32 bit ASM on 64 bit linux (requires nasm, gcc)
#!/bin/sh
# (c) Sebb767, 2016
#
# Compile an 32-bit asm executable under linux x64. Requires gcc and nasm. Usage:
# ./compile.sh # compile *.asm in directory
# ./compile.sh file # compile $file
#
# This file is licensed under the WTFPL.
set -e
@Sebb767
Sebb767 / loadingscreen.html
Created April 14, 2016 23:45
CSS3 Loading Screen
<!DOCTYPE html>
<html lang="en">
<!--
This is a demo for a CSS 3 animated loading page with dots.
You're free to use this however you want, but I'd be happy if you add a link to sebb767.de ;)
-->
@Sebb767
Sebb767 / braindeath.py
Created April 21, 2016 16:52
Interpreter for Brain Death (GC15X1H)
#!/usr/bin/env python3
#
# WARNING: This program serves as a reference! Please write your own interpreter to justify your find!
# WARNUNG: Dieses Programm soll als Referenzimplementierung gelten! Bitte schreibe deine eigene Lösung um dir den Find zu verdienen!
#
# (c) Sebb767, 2016
#
import sys
#lang racket
{define (loesche liste praedikat) ; A33
[if (praedikat (car liste))
[if (null? (cdr liste))
'()
(loesche (cdr liste) praedikat)
]
liste
]
}
@Sebb767
Sebb767 / readme.md
Last active October 4, 2016 13:05
Use mate-terminal as replacement for xterm

Introduction

This little script below will overwrite xterm and use mate-terminal instead, for applications ignoring that xterm sucks. It's written for use with monodevelop, but it should work with little to no edit with any other application.

Installation

If you have xterm installed beforehand, uninstall it now or a package manager update will overwrite this script. To install it, simply copy the script to /usr/bin and rename it xterm. Then chmod +x /usr/bin/xterm and you're done.

Notes