Skip to content

Instantly share code, notes, and snippets.

View Orismann's full-sized avatar

Oris Mann Orismann

View GitHub Profile
@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:
@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 / 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 / fix-iphone-stuck-on-while-screen.md
Last active September 22, 2024 11:51
How to Fix iPhone Stuck on White screen with Apple Logo

The iPhone stuck on a white screen with the Apple logo is a common issue that can leave users feeling frustrated and concerned about the state of their device. This problem, often referred to as the "white screen of death," typically occurs during system updates, after jailbreaking, or due to hardware issues. While it might seem like a daunting problem, there are several methods you can try to resolve this issue without losing your data. In this guide, we’ll walk you through various steps to help you get your iPhone back to normal.

Why iPhone Stuck on White screen with Apple Logo?

The iPhone can get stuck on the white screen with the Apple logo due to several reasons, ranging from software glitches to hardware malfunctions. Here are some of the most common causes:

Software Update Failure: If an iOS update is interrupted or fails, it can leave the iPhone in a limbo state, causing it to get stuck on the white screen with the Apple logo.

Corrupted System Files: Sometimes, system files

@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

How to convert MOV to MP4 on Mac via FFMPEG (Free)

Converting MOV to MP4 on a Mac using FFMPEG is a powerful and efficient way to manage your video files. MOV files, commonly used by Apple devices, can sometimes pose compatibility issues on other platforms, whereas MP4 is widely supported across all devices and applications. FFMPEG, a versatile open-source command-line tool, allows you to seamlessly convert MOV to MP4 with ease. In this guide, we'll walk you through the steps to use FFMPEG on your Mac for a smooth conversion process, ensuring you maintain high-quality video output in the MP4 format.

Step 1: If you don’t have FFMPEG installed, use Homebrew to install it. Open Terminal and run:

brew install ffmpeg

Step 2: Once FFMPEG is installed, you can convert a MOV file to MP4 using a simple command. In Terminal, navigate to the folder containing your MOV file or use the full file path:

@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

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

(2024) Two Free Ways to Convert WAV to OGG on Mac or PC

Audio file compatibility is a big challenge, especially when dealing with different formats across various devices and platforms. One common scenario involves the WAV format, a popular choice for its high-quality audio associated with Apple devices. However, not all devices or software support WAV. Hence it is necessary to convert these files to a more universally accepted format like OGG.

Fortunately, you don't need to invest in expensive software to make this conversion. In this guide, we'll explore three free and effective methods to convert WAV audio files to OGG on both Mac and PC.

Method 1: Convert WAV to OGG with AudioKies

AudioKies is a powerful toolkit for converting, merging, compressing, trimming and extracting audio files. This cross-platform app is current the best option for converting WAV to OGG. The steps are quite simple and you can convert dozens of music files at one with the bulk conversion engine.

Create macOS 15 Sequoia Bootable USB Free on Mac

macos Sequoia is publicly available for a couple of months. There are a lot of people planning to upgrade to Sequoia. One of the most popular ways to do that is creating a bootable macOS Sequoia bootable USB. In this post, I will show you how to create a macOS 15 Sequoia bootable USB so you can test it out on your Mac.

First, download the macOS Sequoia Install Assistant pkg installer (macOS Sequoia 15.1.1) from this link.

Next, double click the .pkg file to copy the macOS 15 Install App to the Application folder.

Connect a USB drive to Mac and find the usb name with the following command: