Skip to content

Instantly share code, notes, and snippets.

View gabimarti's full-sized avatar
🙄
Swimming deep between lines of code

Gabriel Marti gabimarti

🙄
Swimming deep between lines of code
View GitHub Profile
@Theldus
Theldus / README.md
Last active December 19, 2024 11:18
Helping your 'old' PC build faster with your mobile device (no root required)

Helping your 'old' PC build faster with your mobile device

It all happened when I decided to run Geekbench 5 on my phone: surprisingly the single-core performance matched my 'old'¹ Pentium T3200 and surpassed it in multicore. Since I've been having fun with distcc for the last few days, I asked myself: 'Can my phone really help my old laptop build faster? nah, hard to believe... but let's try'.

Without further ado: YES. Not only can my phone be faster, but it can significantly help in the build process, I believe the results below speak for themselves:

asciicast

Building Git (#30cc8d0) on a Pentium T3200, 8m30s

asciicast Building Git (#30cc8d0) on a Pentium T3200 (2x 2.0 GHz)+ Snapdragon 636 (4x1.8 + 4x1.6 GHz), 2m9s

@iordic
iordic / tcp_checksum_test.c
Created September 30, 2020 14:50
Comprobar un checksum de TCP a partir de un hexstream copiado desde Wireshark.
/*
* Comprobador del checksum de TCP a partir de un hexstream copiado de Wireshark.
* Copyright (C) 2020 @iordic
*
* Licencia (GPLv3):
* =================
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
@leucos
leucos / main.go
Last active March 23, 2023 17:11
Vade Retro Spamcause (X-VR-SPAMCAUSE) Golang decoder
package main
import (
"fmt"
"os"
)
func main() {
if len(os.Args) != 2 {
fmt.Println("usage: spamcause gggruggvucft...")
@jjluczyn
jjluczyn / papify2.py
Last active January 21, 2020 22:55
Exploit used to solve Papify 2 during h-c0n 2020 CTF qualifier (whole writeup https://raulmart.in/posts/h-c0n-papify-writeup/)
#!/usr/bin/env python2
from pwn import *
context.arch = 'amd64'
BINARY = './chall'
HOST, PORT = 'ctf.h-c0n.com', 60003
#elf = ELF(BINARY)
libc = ELF('./libc-cont.so')
@stevenswafford
stevenswafford / google-dorks
Created June 6, 2015 05:57
Listing of a number of useful Google dorks.
" _ _ "
" _ /|| . . ||\ _ "
" ( } \||D ' ' ' C||/ { % "
" | /\__,=_[_] ' . . ' [_]_=,__/\ |"
" |_\_ |----| |----| _/_|"
" | |/ | | | | \| |"
" | /_ | | | | _\ |"
It is all fun and games until someone gets hacked!
@claudey
claudey / AirlineRes.java
Created November 1, 2012 02:17 — forked from yawboakye/AirlineRes.java
A full of bugs, unoptimized Java code for a CLI airline reservation.. Everything was built to be static. You may make it better or use the methods elsewhere.
package airlinereservationsystem_yawboakyeyiadom;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileWriter;
import java.io.IOException;
import java.util.InputMismatchException;
import java.util.Scanner;
/**