Skip to content

Instantly share code, notes, and snippets.

Sebastian Kaim Sebb767

Block or report user

Report or block Sebb767

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Sebb767
Sebb767 / readme.md
Last active Oct 4, 2016
Use mate-terminal as replacement for xterm
View readme.md

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

View uebung7.scm
#lang racket
{define (loesche liste praedikat) ; A33
[if (praedikat (car liste))
[if (null? (cdr liste))
'()
(loesche (cdr liste) praedikat)
]
liste
]
}
@Sebb767
Sebb767 / braindeath.py
Created Apr 21, 2016
Interpreter for Brain Death (GC15X1H)
View braindeath.py
#!/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
@Sebb767
Sebb767 / loadingscreen.html
Created Apr 14, 2016
CSS3 Loading Screen
View loadingscreen.html
<!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 / compile.sh
Last active Mar 17, 2016
Compile 32 bit ASM on 64 bit linux (requires nasm, gcc)
View compile.sh
#!/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 / test.php
Created Dec 2, 2015
Benchmark script for the medoo isAlive() function
View test.php
<?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 / Readme.md
Created Aug 6, 2015
Escape The Matrix (Dark Web Article)
View Readme.md

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 / trash
Last active Aug 29, 2015
Simple trash script for console
View trash
#!/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
Last active Sep 30, 2015
︻$芫══--'s CS:GO config
View Readme.md

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.

You can’t perform that action at this time.