Discord Username
Hardik#8032
| # 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 |
| #!/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" |
| 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 |
| """ | |
| 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. |