Skip to content

Instantly share code, notes, and snippets.

@trib0r3
trib0r3 / test.cc
Created January 16, 2017 13:57
Demo
/*
Source: http://szymonsiarkiewicz.pl/poradniki/goto/kolizje/kolizje-w-grach-2d/
Author: Szymon "shead" Siarkiewicz
*/
/* commandline:
$ g++ --version
g++ (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
Command IDA Pro radare2 r2 (visual mode) GDB WinDbg
Analysis
Analysis of everything Automatically launched when opening a binary aaa or -A (aaaa or -AA for even experimental analysis) N_A N_A N/A
Navigation
@trib0r3
trib0r3 / README.md
Last active May 31, 2023 00:45
Convert Markdown notes into the Hugo pages

md2hugo

These scripts help to convert Markdown notes into the hugo compatibile sites. I created these scripts for converting my notes (format below) into hugo-theme-learn pages.

Requirements

  • hugo installed
  • empty hugo site with optional hugo-theme-learn theme
  • markdown notes in format:
@trib0r3
trib0r3 / theme-nord.css
Last active October 12, 2020 14:34
Nord color scheme for hugo-learn theme
:root{
--MAIN-TEXT-color:#eceff4; /* Color of text by default */
--MAIN-TITLES-TEXT-color:#eceff4; /* Color of titles h2-h3-h4-h5 */
--MAIN-LINK-color:#88c0d0; /* Color of links */
--MAIN-LINK-HOVER-color:#88c0d0; /* Color of hovered links */
--MAIN-ANCHOR-color: #88c0d0; /* color of anchors on titles */
--MENU-HEADER-BG-color:#2e3440; /* Background color of menu header */
--MENU-HEADER-BORDER-color:#2e3440; /*Color of menu header border */

Keybase proof

I hereby claim:

  • I am trib0r3 on github.
  • I am trib0r3 (https://keybase.io/trib0r3) on keybase.
  • I have a public key ASA5TAqCEXU7gjm4Quuk-cqc4kOUUHL8NEFMPuN3ZJtPqwo

To claim this, I am signing this object:

@trib0r3
trib0r3 / mddeadimglinks.py
Created April 18, 2021 18:12
Script for finding dead urls used as images in notes, it also detects used web links (I prefer to use images as local copy in my notes)
@trib0r3
trib0r3 / static_dynamic_ios_inspection.md
Created August 5, 2021 19:59 — forked from rustymagnet3000/a_ios_introspection.md
Static and Dynamic iOS inspection
@trib0r3
trib0r3 / iosPEAS.bash
Last active August 12, 2021 17:15
Something like linpeas, but for iOS
#!/bin/bash
# ref: https://gist.github.com/rustymagnet3000/605c333519cd265c7eac9d556f46dc75#files
white="\e[0;97m"
bold="\e[1m"
reset="\e[0m"
function print_stage() {
echo; echo -e "${white}${bold}$1${reset}"
}