Skip to content

Instantly share code, notes, and snippets.

View 43trh's full-sized avatar
🎯
Focusing

43trh 43trh

🎯
Focusing
View GitHub Profile
@43trh
43trh / GitConfigHttpProxy.md
Created September 27, 2024 17:17 — forked from evantoli/GitConfigHttpProxy.md
Configure Git to use a proxy

Configure Git to use a proxy

In Brief

You may need to configure a proxy server if you're having trouble cloning or fetching from a remote repository or getting an error like unable to access '...' Couldn't resolve host '...'.

Consider something like:

@43trh
43trh / torrc.examples.txt
Created September 27, 2024 16:25 — forked from 0x9090/torrc.examples.txt
torrc examples
This file is part of Whonix
Copyright (C) 2012 - 2014 Patrick Schleizer <adrelanos@riseup.net>
See the file COPYING for copying conditions.
**** Do NOT edit this file! ****
This file will show you examples you can copy and paste to /etc/tor/torrc
Additionally, you can read the official Tor Manual at:
https://www.torproject.org/docs/tor-manual.html.en
@43trh
43trh / dual_secure_boot.md
Created August 27, 2024 08:52 — forked from vortexavalanche/dual_secure_boot.md
Arch Linux dual secure boot with Windows 11
@43trh
43trh / utm-arch-linux-installation-guide.md
Created August 22, 2024 13:46 — forked from Sam0230/utm-arch-linux-installation-guide.md
Installing Arch Linux ARM in a UTM virtual machine

Installing Arch Linux ARM in a UTM virtual machine

Steps:

  1. Create a new virtual machine.
  2. Go to System tab, change architecture to `ARM64 (aarch64)' and increase memory as needed.
  3. Download Alpine Linux LiveCD:
mirror=https://dl-cdn.alpinelinux.org/alpine
curl -o alpine-virt-latest-aarch64.iso "$mirror/latest-stable/releases/aarch64/$(curl "$mirror/latest-stable/releases/aarch64/latest-releases.yaml" | /usr/bin/grep -E 'file: alpine-virt-[0-9\.]+-aarch64\.iso' | head -n 1 | sed 's/ //g' | sed 's/\t//g' | sed 's/^file://')"
  1. Go to Drives tab, New Drive, set size to 20GiB or larger, then Inport Drive, choose the file you just downloaded.
@43trh
43trh / Import Script from Gist.js
Created August 10, 2024 23:08 — forked from schl3ck/Import Script from Gist.js
Easily import Scriptable Scripts from Github Gists
// Variables used by Scriptable.
// These must be at the very top of the file. Do not edit.
// icon-color: yellow; icon-glyph: download;
// share-sheet-inputs: url;
/********************************************
* *
* Import Script from Gist *
* *
* This script imports files from a Github *
* Gist. *
@43trh
43trh / helloworld-win32-service.py
Created August 5, 2024 15:28 — forked from drmalex07/helloworld-win32-service.py
An example Windows service implemented with pywin32 wrappers. #python #windows-service #pywin32
import win32serviceutil
import win32service
import win32event
import servicemanager
import socket
import time
import logging
logging.basicConfig(
filename = 'c:\\Temp\\hello-service.log',
@43trh
43trh / AdbCommands
Created August 5, 2024 13:25 — forked from Pulimet/AdbCommands
Adb useful commands list
Hi All!
I've recently launched a tool that wraps many of the commands here with a user interface. This desktop application is currently available for macOS. There's a roadmap outlining planned features for the near future.
Feel free to request any features you'd like to see, and I'll prioritize them accordingly.
One of the most important aspects of this application is that every command executed behind the scenes is displayed in a special log section. This allows you to see exactly what’s happening and learn from it.
Here's the link to the repository: https://github.com/Pulimet/ADBugger
App Description:
ADBugger is a desktop tool designed for debugging and QA of Android devices and emulators. It simplifies testing, debugging, and performance analysis by offering device management, automated testing, log analysis, and remote control capabilities. This ensures smooth app performance across various setups.
@43trh
43trh / nano_install_and_config.md
Created July 30, 2024 01:30 — forked from GLMeece/nano_install_and_config.md
NANO on macOS and Windows

NANO on macOS and Windows

This should get you up and running with the installation and basic configuration of GNU Nano on both macOS and Windows. In the case of macOS, this will install a newer version of Nano that includes syntax highlighting.

macOS Installation

Homebrew

It is assumed you already have Homebrew installed. If not, then Verify or Install Apple's Command-line Tools and then proceed with the installation of Homebrew. 🍺

@43trh
43trh / nano_install_and_config.md
Created July 30, 2024 01:30 — forked from GLMeece/nano_install_and_config.md
NANO on macOS and Windows

NANO on macOS and Windows

This should get you up and running with the installation and basic configuration of GNU Nano on both macOS and Windows. In the case of macOS, this will install a newer version of Nano that includes syntax highlighting.

macOS Installation

Homebrew

It is assumed you already have Homebrew installed. If not, then Verify or Install Apple's Command-line Tools and then proceed with the installation of Homebrew. 🍺

@43trh
43trh / install-python-essentials.sh
Created December 21, 2021 17:35 — forked from Adron/install-python-essentials.sh
Ubuntu Linux - Install Python Essentials
sudo apt-get update
sudo apt-get -y upgrade
sudo apt-get install build-essential checkinstall libffi-dev python-dev
sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
// https://pip.pypa.io/en/stable/installing/#installing-with-get-pip-py
// https://pip.pypa.io/en/stable/installing/#using-linux-package-managers