Skip to content

Instantly share code, notes, and snippets.

View adamjedlicka's full-sized avatar

Adam Jedlička adamjedlicka

View GitHub Profile
@adamjedlicka
adamjedlicka / tester.py
Last active May 26, 2020 12:01
VSE tester in Python
#!/usr/bin/env python3
import os
import sys
import pickle
import random
class bg:
HEADER = '\033[95m'
#include <cmath>
#include <cstdint>
#include <iostream>
#include <memory>
#include <vector>
using namespace std;
class HereditaryBaseNotation {
public:
<head>
<meta charset="UTF-8">
<script src="http://unpkg.com/vue"></script>
</head>
<body>
<div id="app">
con_enable "1" // Enable Console
echo :: Config loading...
cl_autowepswitch "0" // Turn of auto-equiping weapons after pickup
cl_teamid_overhead_always 1 // Show gear of your teammates over ther head
+cl_show_team_equipment
r_drawtracers_firstperson "0" // Turn off first person tracers
mm_dedicated_search_maxping "100" // Search for servers with low ping
@adamjedlicka
adamjedlicka / install.sh
Last active November 22, 2019 14:47
Arch Linux post-install script
#!/bin/bash
sudo pacman -Syu
sudo pacman -S git vim --noconfirm
sudo pacman -S gnome-terminal gedit nautilus engrampa --noconfirm
sudo pacman -S chromium engrampa --noconfirm
wget https://gist.githubusercontent.com/adamjedlicka/d053536063d01cd9ed48/raw/.bashrc
wget https://raw.githubusercontent.com/git/git/master/contrib/completion/git-prompt.sh
@adamjedlicka
adamjedlicka / .bash_utils
Last active October 16, 2016 17:27
BASH config files
#!/bin/bash
function gitPrettyLog() {
HASH="%C(yellow)%h%C(reset)"
TIME="%C(green)%ar%C(reset)"
AUTHOR="%C(bold blue)%an%C(reset)"
REFS="%C(red)%d%C(reset)"
SUBJECT="%s"
FORMAT="$HASH{$TIME{$AUTHOR{$REFS $SUBJECT"