Skip to content

Instantly share code, notes, and snippets.

@bigbaer01
bigbaer01 / useful-one-liners.sh
Created January 3, 2025 22:37 — forked from oxagast/useful-one-liners.sh
Useful one liners
# Run the last command as root
sudo !!
# Serve current directory tree at http://$HOSTNAME:8000/
python -m SimpleHTTPServer
# Save a file you edited in vim without the needed permissions
:w !sudo tee %
# change to the previous working directory
cd -
# Runs previous command but replacing
^foo^bar
@bigbaer01
bigbaer01 / Aomei all editions product keys.md
Created February 28, 2024 03:52 — forked from Hardikanand1st/Aomei all editions product keys.md
Free Product Keys For Aomei All Editions

Discord Username

Hardik#8032

Logo

Aomei Product Keys.

@bigbaer01
bigbaer01 / Aomei all editions product keys.md
Created February 28, 2024 03:52 — forked from Hardikanand1st/Aomei all editions product keys.md
Free Product Keys For Aomei All Editions

Discord Username

Hardik#8032

Logo

Aomei Product Keys.

@bigbaer01
bigbaer01 / setup.sh
Created October 12, 2022 22:10 — forked from TheBojda/setup.sh
VirtualBox settings for installing MacOS Monterey to a VM on Linux
#!/bin/sh
# replace ${VM} with your VM name (ex: MacOSX Monterey)
# replace $RES with your resolution (ex: 1920x1080)
VBoxManage modifyvm "${VM}" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff
VBoxManage setextradata "${VM}" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac19,1"
VBoxManage setextradata "${VM}" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0"
VBoxManage setextradata "${VM}" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Mac-AA95B1DDAB278B95"
VBoxManage setextradata "${VM}" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc"
@bigbaer01
bigbaer01 / c_analytics_usa_gov_api.py
Created March 3, 2022 16:51 — forked from rruntsch/c_analytics_usa_gov_api.py
Python c_analytics_usa_gov_api class and controller program to download reports from analytics.usa.gov
import requests
import json
class c_analytics_usa_gov_api:
"""
File name: c_analytics_usa_gov_api.py
Class name: c_analytics_usa_gov
Author: Randy Runtsch
Date: March 23, 2021
@bigbaer01
bigbaer01 / c_download_prep_excel.py
Created March 3, 2022 16:46 — forked from rruntsch/c_download_prep_excel.py
Python class c_download_prep_excel and controller program to download Excel workbooks from websites and prep them for analytics
"""
File name: c_download_prep_excel.py
Class: c_download_prep_excel
Author: Randy Runtsch
Date: March 27, 2021
Description: c_download_prep_excel is a Python class used to transcribe data from an Excel worksheet
into a new worksheet to prepare it for data analytics.
Comments in all but the constructor and get and set functions describe how the function
works and can be used.