This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import queue | |
import time | |
from concurrent.futures import Future | |
from queue import Empty | |
from threading import Event | |
from typing import Iterable | |
from kthread import KThread |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Initial Commands | |
sudo apt-get update -y 2>&1 | grep -v -E "^W:(.*)$" | |
sudo apt-get upgrade -y | |
# Install Utilities | |
sudo apt-get install -y wget curl gdebi git ca-certificates build-essential apt-transport-https lsb-release | |
sudo apt-get install -y libssl-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import utils | |
test = utils.inject('test') | |
foo = utils.inject('foo') | |
assert test==6 | |
assert foo['value'] == 56 | |
print(__inject__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Directory\shell\Powershell_admin] | |
@="Open PowerShell Here (Administrator)" | |
"Icon"="C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe" | |
[HKEY_CLASSES_ROOT\Directory\shell\Powershell_admin\command] | |
@="\"C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe\" -Command \"&{Start-Process C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe -ArgumentList '-NoExit -Command &{cd \\\"%1\\\"}' -Verb RunAs}\"" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Get-AppxPackage *WindowsCamera* | Remove-AppxPackage | |
Get-AppxPackage *OfficeHub* | Remove-AppxPackage | |
Get-AppxPackage *SkypeApp* | Remove-AppxPackage | |
Get-AppxPackage *GetStarted* | Remove-AppxPackage | |
Get-AppxPackage *WindowsMaps* | Remove-AppxPackage | |
Get-AppxPackage *SolitaireCollection* | Remove-AppxPackage | |
Get-AppxPackage *Zune* | Remove-AppxPackage | |
Get-AppxPackage *OneNote* | Remove-AppxPackage | |
Get-AppxPackage *WindowsPhone* | Remove-AppxPackage | |
Get-AppxPackage *SoundRecorder* | Remove-AppxPackage |