Some notes, tools, and techniques for reverse engineering Golang binaries.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # The general procedure here is adapted from the 7->8 guide here. https://www.tecmint.com/upgrade-centos-7-to-centos-8/ | |
| # | |
| # It is a curated list of my bash history. I entered other commands so hopefully I got the right ones here. | |
| yum upgrade | |
| reboot | |
| dnf install epel-release | |
| dnf install rpmconf | |
| dnf install yum-utils | |
| rpmconf -a # answer "n" to both things |
- I faced bandwidth issues between a WG Peer and a WG server. Download bandwidth when downloading from WG Server to WG peer was reduced significantly and upload bandwidth was practically non existent.
- I found a few reddit posts that said that we need to choose the right MTU. So I wrote a script to find an optimal MTU.
- Ideally I would have liked to have run all possible MTU configurations for both WG Server and WG Peer but for simplicity I choose to fix the WG Server to the original 1420 MTU and tried all MTUs from 1280 to 1500 for the WG Peer.
- On WG server, I started an
iperf3server - On WG peer, I wrote a script that does the following:
wg-quick down wg0
- Edit MTU in the
/etc/wireguard/wg0.conffile
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Simple example to deploy traefik with consul connect enabled. | |
| # For simplicity the job includes traefik as well as the backend service. | |
| # Please note that traefik currently only supports connect for HTTP. | |
| job "traefik-consul-connect-demo" { | |
| datacenters = ["dc1"] | |
| group "edge" { | |
| network { | |
| mode = "bridge" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # KEYCLOAK BASE URL | |
| KEYCLOAK_BASE_URL= | |
| # KEYCLOAK CLIENT SECRET | |
| KEYCLOAK_CLIENT_SECRET= | |
| # KEYCLOAK CLIENT ID | |
| KEYCLOAK_CLIENT_ID= | |
| # BASE URL FOR NEXT AUTH |
https://www.nerdfonts.com/font-downloads
The following solution thanks to @hackerzgz & @snacky101 will install all nerd fonts;
brew tap homebrew/cask-fonts
brew search '/font-.*-nerd-font/' | awk '{ print $1 }' | xargs -I{} brew install --cask {} || trueHere is a list of cuda graphics cards for use with your favorite applications.
https://github.com/search?o=desc&q=cuda&s=stars&type=Repositories
| ProductName | BusType | MemorySize | GpuClock | MemoryClock | CudaCores |
|---|---|---|---|---|---|
| RTX A40 | PCIe 4.0 x16 | 48 GB | 1305 MHz | 1812 MHz | 10752 |
| RTX A6000 | PCIe 4.0 x16 | 48 GB | 1455 MHz | 2000 MHz | 10752 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Source: https://gist.github.com/28e2adb5946ca366d7845780608591d7 | |
| ########################################################### | |
| # Argo Workflows & Pipelines # | |
| # CI/CD, Machine Learning, and Other Kubernetes Workflows # | |
| # https://youtu.be/UMaivwrAyTA # | |
| ########################################################### | |
| # Referenced videos: | |
| # - Argo CD - Applying GitOps Principles To Manage Production Environment In Kubernetes: https://youtu.be/vpWQeoaiRM4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import asyncio | |
| # Ref: https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.get_event_loop | |
| # > If there is no current event loop set in the current OS thread, | |
| # > the OS thread is main, and set_event_loop() has not yet been called, | |
| # > asyncio will create a new event loop and set it as the current one | |
| loop = asyncio.get_event_loop() | |
| # So, loop2 is loop | |
| loop2 = asyncio.get_event_loop() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Go step-by-step through following instructions to set up L2TP/IPSec VPN on Centos 7. | |
| To set up the VPN client on centos 7, first install the following packages: | |
| yum -y install epel-release | |
| yum -y install strongswan xl2tpd | |
| Create VPN variables (replace with actual values): | |
| VPN_SERVER_IP='your_vpn_server_ip' | |
NewerOlder