Skip to content

Instantly share code, notes, and snippets.

View fluktuid's full-sized avatar
💻
coding - as usual

Lukas f. Paluch fluktuid

💻
coding - as usual
View GitHub Profile
# mod
set $mod Mod4
# font
#font pango: System San Francisco Display 10
font pango: Roboto-Medium 10.5
# thin borders
hide_edge_borders both
#!/bin/bash
# store the current dir
CUR_DIR=$(pwd)
# Let the person running the script know what's going on.
echo -e "\n\033[1mPulling in latest changes for all repositories...\033[0m\n"
# Find all git repositories and update it to the master latest revision
for i in $(find . -name ".git" | cut -c 3-); do
@fluktuid
fluktuid / Main.kt
Created June 1, 2018 15:19
Ein kleiner Tester für die Verteilung von Aufgaben anhand des MD5 Algorithmus
import java.nio.charset.Charset
import java.security.MessageDigest
import java.security.NoSuchAlgorithmException
import java.security.SecureRandom
import java.util.*
object Main {
/**
* Die Anzahl der zu verteilenden Aufgaben
@fluktuid
fluktuid / PICTURE_SERVER.md
Last active May 8, 2018 14:03
This is a simple node script for a slide show website with picture frames
  • add the required node_modules/
  • add images/ folder
  • add SecondMonitor.png file
  • add socketio.js file
@fluktuid
fluktuid / Main.kt
Created March 31, 2018 08:42
An implementation to crack the first rc4 key byte
import java.io.BufferedReader
import java.io.FileReader
import java.io.IOException
import java.util.*
/**
* Main
* This class reads a RC4 Keystream file and tries to guess the first byte
* The file lines must be in the format: "IV: ${iv0} ${iv1} ${iv2} keystream: ${ks}"
@fluktuid
fluktuid / Main.kt
Created March 16, 2018 18:09
An Implementation of RC4
import java.util.*
/**
* @version 1.0
* @author MalteSchwitters
* @author fluktuid
*/
object Main {
@JvmStatic
fun main(args: Array<String>) {

Keybase proof

I hereby claim:

  • I am fluktuid on github.
  • I am fluktuid (https://keybase.io/fluktuid) on keybase.
  • I have a public key ASCCCFbFn3SZxGg7BX-ls5CTn92M_8AMGUp62YptMgf7jgo

To claim this, I am signing this object:

@fluktuid
fluktuid / android view flash method
Last active May 12, 2017 20:29
This method makes the given View fashing
public void blizz(int millis, View v) {
ColorDrawable[] BackGroundColor = {
new ColorDrawable(Color.parseColor("#ffffff")), // 40% 102
new ColorDrawable(Color.parseColor("#000000")) // 0%
};
TransitionDrawable td = new TransitionDrawable(BackGroundColor);
v.setBackground(td);
td.startTransition(1500);
}