Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <pthread.h>
#include <semaphore.h>
// gcc -pthread e_tick_tack.c
void *pTick(void *);
void *pTack(void *);
@eimon96
eimon96 / patrick.vbs
Created April 22, 2022 18:38
"That didn't help at all"
' ' ' ' ' ' ' ' ' '
' @author: eimon '
' April 2022 '
' ' ' ' ' ' ' ' ' '
' error handling
On Error Resume Next
' create shell and wmi service objects
set WshShell = WScript.CreateObject("WScript.Shell")
@eimon96
eimon96 / dRuNk.cpp
Created April 21, 2022 18:38
4/2022
// made for educational purposes only
// inspired by:
// http://www.rohitab.com/discuss/topic/23191-screen-melter/
// http://www.rohitab.com/discuss/topic/41828-best-prank/
// and the old yet glorious windows xp drunk screen prunk
// link gdi32 when compile
// g++ dRuNk.cpp -lgdi32 -o dRuNk.exe
@eimon96
eimon96 / Meme.java
Created April 21, 2022 17:33
inspired by a meme... file deletes itself
/*
@author: eimon -- 2021
Self-deleted meme file (greek)
How to build the jar on Intellij:
-> file - project structure - project settings - artifacts - click + - jar - from modules with dependencies
extract to the target jar - OK
-> build - build artifacts - build
find it at ...\out\artifacts\jerk_jar
run it ... ok ok ok ...wait 3sec then jar file deletes itself and poof gone bye lost in oblivion
*/