Skip to content

Instantly share code, notes, and snippets.

View UncleTallest's full-sized avatar

Uncle Tallest UncleTallest

View GitHub Profile
# 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
@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

Initial Fedora 35 Workstation Setup

During Install

drive partitioning

On Hades: To save the contents of my /home folder we don't want to format it and we want to reuse our old partition structure.

mountpoint | size | format | reformat | device

Webcam Setup

First, we query the available cameras.

$ v4l2-ctl --list-devices
OBSBOT Tiny: OBSBOT Tiny Camera (usb-0000:5a:00.3-2.4.1.1):
	/dev/video0
	/dev/video1
	/dev/media0

Ensure prerequisites are installed first.

sudo dnf install -y gcc gcc-c++ autoconf automake libtool
sudo dnf install -y gtk2-devel mesa-libGL-devel compat-lua-devel libcurl-devel libxml-devel libxml2-devel libjpeg-turbo-devel libgtop2-devel boost-devel boost-filesystem boost-thread freeglut-devel ffmpeg-devel tinyxml-devel flam3-devel GLee-devel wxGTK3-devel lua-devel 

Now, download and build Electric Sheep.

@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 / 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 / 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.

About BlueMail

BlueMail is a fairly good email client that I wanted to try out on my Linux machines as it includes most of the features of the Windows-only email client I own. However, while a poorly-constructed RPM for Fedora is available for download, Blix wants you to use their Snap for install under Linux. As this is an Ubuntu-centric package system I had no intention of using it under Fedora 37. Here is how I got around the pain of it's Ubuntu-centricisms and got it working properly.

Fedora

Download BlueMail RPM

Download the RPM from the website.