Skip to content

Instantly share code, notes, and snippets.

@fussel178
fussel178 / README.md
Created May 14, 2024 22:20
Proxmox VE NAT / Port Forward Helper Shell Script

Proxmox VE NAT / Port Forward Helper Shell Script

Usage

It is really useful to add this script somewhere executable for the administrator (e.g. /root/pve-nat-helper.sh).

Next, add the following lines to /etc/network/interfaces:

auto lo
@GetVladimir
GetVladimir / Setup-iCloud+-Custom-Domain-Catch-All-email-with-Gmail.md
Last active May 14, 2024 22:21
How to setup iCloud+ Custom Domain Catch All email with Gmail

How to setup iCloud+ Custom Domain Catch All email with Gmail

I've recently tested on how to move the custom domain catch all email from G Suite to the new iCloud+ Catch All feature and wanted to share my experience.

The end result is having Custom Domain email and Catch All routing, that can be fully used via Gmail, including receiving and sending emails.


The steps

  • Setup your Custom Domain (or subdomain) with iCloud+
@jsoma
jsoma / README.md
Last active May 14, 2024 22:19
How to use pandoc and Markdown to build a simple reveal.js presentation (and a bit about how to customize it, too)

Requirements

First you need to install pandoc.

I used brew install pandoc to install via Homebrew since I'm on a mac.

Writing your presentation

Make a slides.md for your slides (or name it whatever you want!). I put images in an /images/ folder. You can see how links and images and all of that work from this sample:

@kevin-smets
kevin-smets / iterm2-solarized.md
Last active May 14, 2024 22:18
iTerm2 + Oh My Zsh + Solarized color scheme + Source Code Pro Powerline + Font Awesome + [Powerlevel10k] - (macOS)

Default

Default

Powerlevel10k

Powerlevel10k

# based on https://github.com/amber-sixel/PythonCatPrinter.git
# can be used as a raw postscript printer (a4, one page only) on port 9100
#
# status : curl --location --request GET 'localhost:5000'
#
# curl --location --request POST 'localhost:5000' \
# --form 'image=@"/image.jpg"' \ #optional
# --form 'text="hello world"' \ #optional
# --form 'size="48"' \ #optional
@krzyzanowskim
krzyzanowskim / Demangle Swift
Created October 16, 2016 23:20
Hopper Disassembler Swift names demangle script
import subprocess
def looksLikeBeginning(doc,seg,adr):
if isinstance(seg.getNameAtAddress(adr), str):
label = seg.getNameAtAddress(adr)
pos = label.find("_T")
if pos != -1:
return label[pos:]
return None
@felipou
felipou / decrypt_dbeaver.py
Last active May 14, 2024 22:14
DBeaver password decryption script - for newer versions of DBeaver
# https://stackoverflow.com/questions/39928401/recover-db-password-stored-in-my-dbeaver-connection
# requires pycryptodome lib (pip install pycryptodome)
import sys
import base64
import os
import json
from Crypto.Cipher import AES
@juancols
juancols / stm32-on-macos-m1.md
Last active May 14, 2024 22:10
STM32 toolchain setup on macOS M1

STM32 toolchain setup on macOS M1

Note: these steps were tested on a MacBook Air M1 2020, 8 GB RAM and macOS Ventura 13.0.1

STM32CubeProgrammer

1. Download

You can get the latest version of the STM32CubePrg-Mac package at STm dev-tools website. The version I used in this guide was the 2.12.0. image

2. Installation

@jsteenb2
jsteenb2 / systems_thinking.md
Last active May 14, 2024 22:09
Systems Thinking resources

Systems Thinking - go beyond the JIRA ticket

Systems thinking has been the single most impactful topic I've ever endured. It has changed the way I view the world, not just my job. This is a detailing of some of the best ways to start learning systems thinking. My perspective is that of an engineer and someone who obsesses over problem solving in its most general form. I suggest starting with the Primer by Dr. Ackoff. From there explore as you must. Its ordered in level of depth and understanding, but feel free to bounce around as you see fit.

  1. Primer - If Russ Ackoff had given a TED talk
    • Dr. Ackoff is quite the story teller! You'll see him listed quite a bit here
  2. Thinking in Systems - By Dr. Meadows
    • a gentle intro to systems thinking from Dr. Meadows, an incredible teacher ❤️
  • a summarized video format given by Dr. Meadows can be found [here](https://www.yo
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active May 14, 2024 22:07
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example