Skip to content

Instantly share code, notes, and snippets.

View Orismann's full-sized avatar

Oris Mann Orismann

View GitHub Profile
@Orismann
Orismann / bash_strict_mode.md
Created April 12, 2024 03:37 — forked from mohanpedala/bash_strict_mode.md
set -e, -u, -o, -x pipefail explanation
@Orismann
Orismann / gmk67-manual.md
Created April 12, 2024 03:39 — forked from Joao-Peterson/gmk67-manual.md
GMK67 manual (English)
@Orismann
Orismann / 🎵 My last week in music
Created June 7, 2024 03:12 — forked from joseywoermann/🎵 My last week in music
What I listened to last week:
Taylor Swift █████░░░░░░░░░░░░ 31 plays
Bad Omens ████▎░░░░░░░░░░░░ 26 plays
Steve Aoki ██▊░░░░░░░░░░░░░░ 17 plays
LANDMVRKS █▏░░░░░░░░░░░░░░░ 7 plays
TCM ▉░░░░░░░░░░░░░░░░ 6 plays
BABYMETAL ▋░░░░░░░░░░░░░░░░ 4 plays
Against the Current ▍░░░░░░░░░░░░░░░░ 3 plays
Cyazon ▍░░░░░░░░░░░░░░░░ 3 plays
HBZ ▍░░░░░░░░░░░░░░░░ 3 plays
Smash Into Pieces ▍░░░░░░░░░░░░░░░░ 3 plays
@Orismann
Orismann / README.md
Created June 7, 2024 03:15 — forked from oodavid/README.md
Backup MySQL to Amazon S3

Backup MySQL to Amazon S3

This is a simple way to backup your MySQL tables to Amazon S3 for a nightly backup - this is all to be done on your server :-)

Sister Document - Restore MySQL from Amazon S3 - read that next

1 - Install s3cmd

this is for Centos 5.6, see http://s3tools.org/repositories for other systems like ubuntu etc

Enable Dual Stack (IPv4 and IPv6) OpenFabric Routing

this gist is part of this series

This assumes you are running Proxmox 8.2 and that the line source /etc/network/interfaces.d/* is at the end of the interfaces file (this is automatically added to both new and upgraded installations of Proxmox 8.2).

This changes the previous file design thanks to @NRGNet for the suggestions to move thunderbolt settings to a file in /etc/network/interfaces.d it makes the system much more reliable in general, more maintainable esp for folks using IPv4 on the private cluster network (i still recommend the use of the IPv6 FC00 network you will see in these docs)

This will result in an IPv4 and IPv6 routable mesh network that can survive any one node failure or any one cable failure. Alls the steps in this section must be performed on each node

@Orismann
Orismann / mac-flutter-path.md
Created September 6, 2024 03:47 — forked from zoonderkins/mac-flutter-path.md
Mac-flutter-path #mac

Make flutter cmd run in zsh

// When you downloaded flutter sdk, unzip it to ~/flutter
// Add to ~/.bash_profile
nano .bash_profile
export PATH="$PATH:/Users/lol/development/flutter/bin"

// save 
soure ~/.bash_profile
@Orismann
Orismann / apple_install_dates.md
Created September 19, 2024 06:30 — forked from pjobson/apple_install_dates.md
OSX Install Dates

Various Versions of macOS/OSX will fail on install for various reasons. You can fix them by disconnecting from your wifi or network or resetting your NVRAM. Booting from your USB stick, opening terminal and doing: date ########## where the # nubers are below. Format is: MMDDhhmmYY

10.16 - 0.5 Leopard   - date 0101010121 <- Currently not needed
10.15 - Catalina      - date 0101010120 <- Currently not needed
10.14 - Mojave        - date 0101010119 <- Currently not needed
10.13 - High Sierra   - date 0101010118

10.12 - Sierra - date 0101010117

@Orismann
Orismann / download.sh
Created October 28, 2024 02:30 — forked from mildred/download.sh
Download from archive.org Wayback Machine
#!/bin/bash
url=http://redefininggod.com
webarchive=https://web.archive.org
wget="wget -e robots=off -nv"
tab="$(printf '\t')"
additional_url=url.list
# Construct listing.txt from url.list
# The list of archived pages, including some wildcard url
@Orismann
Orismann / bootable-win-on-mac.md
Created November 27, 2024 04:06 — forked from acarril/bootable-win-on-mac.md
Create a bootable Windows USB using macOS

For some reason, it is surprisingly hard to create a bootable Windows USB using macOS. These are my steps for doing so, which have worked for me in macOS Monterey (12.6.1) for Windows 10 and 11. After following these steps, you should have a bootable Windows USB drive.

1. Download a Windows disc image (i.e. ISO file)

You can download Windows 10 or Windows 11 directly from Microsoft.

2. Identify your USB drive

After plugging the drive to your machine, identify the name of the USB device using diskutil list, which should return an output like the one below. In my case, the correct disk name is disk2.

@Orismann
Orismann / yt-dlp-tips.md
Last active February 27, 2025 03:33 — forked from ChristopherA/yt-dlp-tips.md
yt-dlp tips

2 Simple Ways to Download Youtube Video on Mac or PC

I am going to share two simple ways to download Youtube videos on Mac. It also applies to Windows PC. If you are a tech savvy, please try the first method yt-dlp, a command line for downloading YouTube videos with a couple of advanced parameter. The second method is using a dedicated YouTube Video Downloader app, which has a GUI and batch download mode.

Method 1: Download YouTube Videos via Command Line:

yt-dlp is a feature-rich command-line audio/video downloader with support for various of video sites. Below are a set of good examples for downloading videos.

  • Download a video with the best video and best audio stream: