Skip to content

Instantly share code, notes, and snippets.

View sartimo's full-sized avatar

Timo Sarkar sartimo

View GitHub Profile
@sartimo
sartimo / Dockerfile
Created November 8, 2024 15:59
finally i can run rubinius!!!!
FROM ubuntu:16.04
RUN apt-get update && apt-get install -y \
bzip2 \
libyaml-0-2 \
libssl1.0.0 \
clang-3.6 \
libedit-dev \
zlib1g-dev \
make
@sartimo
sartimo / docker-compose.yml
Created August 21, 2024 08:48
Local Devenv Nodemailer
version: '3'
services:
mailhog:
image: mailhog/mailhog
container_name: mailhog
ports:
- "1025:1025"
- "8025:8025"
@sartimo
sartimo / template.typ
Last active August 20, 2024 15:58
Typst for Study Note Taking
#set document(title: "title", author: "author")
#set par(justify: true)
#let today = datetime.today()
#set page(margin: (left: 2in))
#set quote(block: true)
#line(start: (0%, 5%), end: (8.5in, 5%), stroke: (thickness: 2pt))
#align(horizon + left)[
#text(size: 24pt, [StudySubject \ DocumentTitle])
@sartimo
sartimo / cv.ts
Created August 4, 2024 09:32
Generate CV from PDFkit using BunJS
const PDFDocument = require('pdfkit');
const fs = require('fs');
// Create a document
const doc = new PDFDocument();
// Pipe the document to a file
doc.pipe(fs.createWriteStream('output.pdf'));
// Add some content
@sartimo
sartimo / 1. Original Bytearray in the dumped C Source Code.c
Last active June 23, 2024 16:30
Gauss Malware - Deobfuscation of dumped source code 4FB4D2EB303160C5F419CEC2E9F57850
_BYTE byte_10048400[96] =
{
0,
0,
22,
-80,
21,
-93,
-125,
-104,
@sartimo
sartimo / sdk.sh
Created February 18, 2024 14:47
Java Version Manager
https://sdkman.io/jdks#open
@sartimo
sartimo / mdtotoc.c
Last active February 16, 2024 08:54
Markdown to ToC
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#define TOP 1
#define MAX 10
typedef struct {
char *source_file;
@sartimo
sartimo / install.sh
Last active January 6, 2022 15:24
Installing Rubinius 2 via RVM on WSL 1.0
# fetch rvm
gpg2 --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
\curl -sSL https://get.rvm.io | bash -s stable
# add package source for libssl-dev1.0
sudo nano /etc/apt/sources.list
add deb http://security.ubuntu.com/ubuntu bionic-security main
sudo apt update && apt-cache policy libssl1.0-dev
sudo apt-get install libssl1.0-dev
@sartimo
sartimo / main.ps1
Created December 18, 2021 08:46
Our solution for the M122 project
<#
# Copyright 2021 - 2022 Timo Sarkar & Aaron Camenzind
# Redistribution des Codes ohne Genehmigung nicht gestattet
# Verwendung des Codes als eigene Lösung nicht gestattet
#>
<#
# Titel: M122 Backup Script
# Zweck: PowerShell GUI App um Backups zu erstellen
# Datum: 07.12.2021 - 12.12.2021