Skip to content

Instantly share code, notes, and snippets.

@OrigamiEngineer
OrigamiEngineer / wine-breeze-dark-theme.md
Created October 8, 2023 03:24 — forked from Zeinok/wine-breeze-dark-theme.md
Breeze Dark theme for Wine

Made possible with this reddit post.

Install

wine regedit wine-breeze-dark.reg

Uninstall (Reset Wine color scheme)

wine regedit wine-reset-theme.reg

@OrigamiEngineer
OrigamiEngineer / aurutils_inst_conf.md
Created February 8, 2022 20:58 — forked from geosharma/aurutils_inst_conf.md
Arch Linux: aurutils installation and configuration

aurutils installation and configuration

This is not a getting started guide, just notes to myself. Due to my limited knowledge there could be mistakes and better ways to do things. I have configured aurutils to the best of my knowledge after reading the manpages and forums. Please refer to aurutils(7) manpages for installation and configuration.

Reference: aurutils(7)

Install aurutils

Install the aurutils using the normal AUR package installation procedure. Until I found aurutils, I used to create a separate directory ~/aur/ for all AUR packages.

Commit Message Guidelines

Short (72 chars or less) summary

More detailed explanatory text. Wrap it to 72 characters. The blank
line separating the summary from the body is critical (unless you omit
the body entirely).

Write your commit message in the imperative: "Fix bug" and not "Fixed
bug" or "Fixes bug." This convention matches up with commit messages
@OrigamiEngineer
OrigamiEngineer / gist:9c87490444adc8fda48a0617329247d1
Created March 26, 2021 00:19 — forked from davidnunez/gist:1404789
list all installed packages in android adb shell
pm list packages -f
@OrigamiEngineer
OrigamiEngineer / patch.sh
Created March 19, 2021 21:38 — forked from jakeajames/patch.sh
Make h3lix work when installed not-via-Impactor. To be used with the latest h3lix.
if [ $# != 2 ]; then
echo "Usage: $0 /path/to/input_ipa /path/to/output_ipa"
exit 1
fi
if ! [ -f $1 ]; then
echo "'$1' does not exist"
exit 1
fi

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@OrigamiEngineer
OrigamiEngineer / python_environment_setup.md
Created February 28, 2021 07:29 — forked from wronk/python_environment_setup.md
Setting up your python development environment (with pyenv, virtualenv, and virtualenvwrapper)

Overview of Python Virtual Environments

This guide is targetted at intermediate or expert users who want low-level control over their Python environments.

When you're working on multiple coding projects, you might want a couple different version of Python and/or modules installed. This helps keep each workflow in its own sandbox instead of trying to juggle multiple projects (each with different dependencies) on your system's version of Python. The guide here covers one way to handle multiple Python versions and Python environments on your own (i.e., without a package manager like conda). See the Using the workflow section to view the end result.


h/t @sharkinsspatial for linking me to the perfect cartoon

@OrigamiEngineer
OrigamiEngineer / dream.ipynb
Created February 28, 2021 05:47 — forked from Andrew-William-Smith/dream.ipynb
The standard Google DeepDream notebook, modified to run under Python 3
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@OrigamiEngineer
OrigamiEngineer / OpenWrt detect new device and send text message.md
Created January 29, 2021 16:31 — forked from jwalanta/OpenWrt detect new device and send text message.md
Detect new network devices connecting to OpenWrt and send text message
@OrigamiEngineer
OrigamiEngineer / table_writer.py
Created December 23, 2020 15:47 — forked from AO8/table_writer.py
Convert an HTML table into a CSV file with Python and BeautifulSoup.
# Adapted from example in "Web Scraping with Python, 2nd Edition" by Ran Mitchell.
import csv
from urllib.request import urlopen
from bs4 import BeautifulSoup
html = urlopen("http://en.wikipedia.org/wiki/"
"Comparison_of_text_editors")
soup = BeautifulSoup(html, "html.parser")
table = soup.findAll("table", {"class":"wikitable"})[0]