Skip to content

Instantly share code, notes, and snippets.

View UncleTallest's full-sized avatar

Uncle Tallest UncleTallest

View GitHub Profile
@UncleTallest
UncleTallest / set-chroot.sh
Created March 5, 2023 15:37 — forked from Tamal/set-chroot.sh
Setting up chroot from a live image in Fedora. Regenerate grub2 for Fedora.
$ # Use Live CD to boot
$ sudo su # Switch to root
$ fdisk -l # Get names of root, boot & EFI partition names. you can also use blkid
$ mount /dev/mapper/fedora_localhost--live-root /mnt # mount root partition
$ cat /mnt/etc/fedora-release
Fedora release 31 (Thirty One)
$ mount /dev/nvme0n1p2 /mnt/boot # mount boot partition
$ mount /dev/nvme0n1p1 /mnt/boot/efi # mount EFI partition
# Note: If you are not able to mount EFI partition ('Input/Output error'),
# You may have to repair ESP file system or format ESP.
@UncleTallest
UncleTallest / Microsoft.PowerShell_profile.ps1
Created November 15, 2022 12:36 — forked from cetoh/Microsoft.PowerShell_profile.ps1
PowerShell Profile including Oh My Posh, Terminal Icons, PSReadLine IntelliSense, and z
using namespace System.Management.Automation
using namespace System.Management.Automation.Language
if ($host.Name -eq 'ConsoleHost')
{
Import-Module PSReadLine
}
Import-Module -Name Terminal-Icons
@UncleTallest
UncleTallest / apple_errata.md
Last active September 26, 2023 21:36 — forked from pjobson/apple_install_dates.md
OSX Install Dates

MacOS Release Dates for installers that balk at newer 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

13    - Ventura       - date 0101010123 <- Currently not needed
12    - Monterey      - date 0101010122 <- Currently not needed

11 - Big Sur - date 0101010121 <- Currently not needed

@UncleTallest
UncleTallest / queue.yaml
Created October 21, 2016 16:03 — forked from sasxa/queue.yaml
Google Cloud Endpoints Authentication (Google App Engine, Python) - getting user profile from Google+
total_storage_limit: 200M
queue:
- name: registration
rate: 20/s
bucket_size: 40
max_concurrent_requests: 10
retry_parameters:
task_age_limit: 10h
min_backoff_seconds: 10
# install 7-zip, curl and vim
# (Windows 2012 comes with .NET 4.5 out-of-the-box)
# Then use the EC2 tools to create a new AMI from the result, and you have a system
# that will execute user-data as a PowerShell script after the instance fires up!
# This has been tested on Windows 2012 64bits AMIs provided by Amazon (eu-west-1 ami-a1867dd6)
#
# Inject this as user-data of a Windows 2012 AMI, like this (edit the adminPassword to your needs):
#
# <powershell>
# Set-ExecutionPolicy Unrestricted