Skip to content

Instantly share code, notes, and snippets.

View Brottweiler's full-sized avatar
🐧
Big up

Christoffer Tibell Brottweiler

🐧
Big up
View GitHub Profile
@Brottweiler
Brottweiler / stop_using_kali.md
Last active December 9, 2018 18:48
Whats wrong with Kali Linux?

Whats wrong with Kali Linux?

Basically, it's an expression of my frustration with the hordes of newcomes to Linux who've seen Mr. Robot and think they too can become super hackers by downloading an ISO off of the internet. Kali is a great system, but it's a great system for people who know what they're doing. It breaks numerous rules and praxes which, for a normal desktop user, is devastating.

First of all, it is NOT meant for installation onto a hard drive. It's made for booting as a live USB, doing what you need to, and then shutting down to reset to a clean environment. By default, Kali doesn't do 99% of the things a normal desktop user expects.

Secondly, Kali runs as a single-user root. That means that all programs run with Kali have full system access. It's great for people who know what they're doing (and are booting from a USB, so that any changes don't matter anyway) and need quick access to everything, but it's catastrophic for desktop use. Almost all of the security benefits of Linux go out the

It's powerful enough and I didn't proofread it but I had an idea and it kinda got distorted and turtles but oh well

Brott's Diary

My 3 year cake day, Apr 12, 2015

I am glad to see Overcast still going strong. Since the Arcade came out, the population of the server has nearly doubled and I am constantly being kept busy by those who don't seem to want to follow the rules. In the first week someone has managed to reach 1000 wins in the arcade (how?). I must remind myself to watch him more closely. I myself have not played many of the minigames - they aren't really that interesting to me. I am excited that the PM system is coming out soon, too; I will enjoy reading the 'private' messages of users through the back door that last_username inserted into the system. Also, as a personal metric, I have hidden 102 goodbye threads so far; when will they even learn?

My 4 year cake day, Apr 12, 2016

@Brottweiler
Brottweiler / colors.sh
Created February 22, 2017 22:22
Print tmux colors
for i in {0..255}; do
printf "\x1b[38;5;${i}mcolour${i}\x1b[0m\n"
done

You will be invited to become a mod if the admins think you're good enough. So don't even think about asking.

There are several things that will help your chances of becoming a mod

  1. Be helpful to other players.
  2. Talk with other players, mods and admins. (But don't annoy them.)
  3. Have a positive attitude and proper etiquette.
  4. Report rule breakers. (Don't make up fake reports.)

Doing these things will not guarantee in any way, shape or form that you will become a mod.

**Problem:**
**OS:**
**Desktop:**
**Terminal Output when Crash:**
```
Paste here
```
@Brottweiler
Brottweiler / minecraft_security.md
Last active January 4, 2017 16:01
Minecraft Security - Avoid Losing Your Account (https://oc.tc/forums/topics/50e13651f34422308100004c)

Getting your account hacked, potentially losing access to it and/or getting banned from servers because the hacker is having a field day with your username is something that I have seen happen time and time again when Serenity USA was still in it's prime.

For the person who got his account hacked, he/she has to prove they weren't hacking, calm other players who will from now on be suspicious whenever something happens that doesn't make sense, and try and reclaim the account with purchase receipts if the recovery email & password was changed away from them. Not fun…

Minecraft Accounts can get broken into by

  • Guessing bots cracking a weak, or commonly used password.
  • A dodgy minecraft mod. To avoid these I only get my mods from the http://minecraftforum.net/ forums.If there is something wrong with the mod, it will not take long for a commenter to post a warning.
  • Hacking clients. All the ones I've investigated have phoned data home to their creator.

Steam for Linux: The Port Report

This article is mostly written with Windows users in mind, as such it explains some of the obvious differences between Unix1 and Windows.

This article was inspired by TotalBiscuit's "Port Report" series which discusses the quality of console-to-PC ports. I decided to treat Steam for Linux as such: A Windows-to-Linux2 port. Some people say I am entitled and expect too much, I feel I only expect as much as TB expects from a PC-port of a Console game. A game that actually runs like a PC game and doesn't obviously show it came from console and is a shoddy port. This is currently what Steam for Linux is, a shoddy program that clearly shows its ancestry as a Windows program that does not work well. I attempt to narrate in this article some of the reasons why.

This article is also long and thorough, so I'll give you a tl;dr at the start of every point. The tl;dr for the entire article is that Steam for Linux has a shoddy port.

1. Steam for Linux poss

for a in $(seq 16 27); do mv $a $(($a-4)); done
for a in $(seq 16 27); do mv $a.png $(($a-4)).png; done
for a in $(seq 32 43); do mv $a.png $(($a-8)).png; done
for a in $(seq 48 58); do mv $a.png $(($a-12)).png; done
-Xincgc
Enable the incremental garbage collector. The incremental garbage collector, which is off by default, will eliminate occasional garbage-collection pauses during program execution. However, it can lead to a roughly 10% decrease in overall GC performance.
-XX:+AggressiveOpts
Turn on point performance compiler optimizations that are expected to be default in upcoming releases.
-XX:+UseFastAccessorMethods
Use optimized versions of Get<Primitive>Field.
-XX:-UseConcMarkSweepGC
-Xmx512M -Xincgc -server -Dfml.ignoreInvalidMinecraftCertificates=true -Dfml.ignorePatchDiscrepancies=true -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=2