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
/* | |
Firefox userchrome file, hides tab bar when using vertical tabs | |
Save as: | |
C:\Users\<username>\AppData\Roaming\Mozilla\Firefox\Profiles\<random giberish>.default-release\chrome\userchrome.css | |
Enable Firefox CSS customization feature, which is turned off by default: | |
- Enter about:config in the address bar and select "Accept the Risk and Continue." | |
- Under "Search preference name," paste the following text: toolkit.legacyUserProfileCustomizations.stylesheets | |
- Tap the toggle button on the right so the preference says "true." | |
*/ |
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
# Chocolatey Non-Administrative install | |
$InstallDir='C:\ProgramData\chocoportable' | |
$env:ChocolateyInstall="$InstallDir" | |
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Bypass | |
# All install options - offline, proxy, etc at https://chocolatey.org/install | |
Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
# Portable git install | |
choco install git.portable |
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
# generate_clone_all_bitbucket_repos.sh | |
# | |
# Based on https://gist.github.com/eeichinger/babbdf99d8fe21fef8634d56f29defba | |
# Credits goes to https://gist.github.com/eeichinger | |
# | |
# Requirements: | |
# - jq - commandline JSON processor | |
# sudo dnf install jq.x86_64 | |
# | |
# Note: make sure set your username, password and server |
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
param($global:RestartRequired=0, | |
$global:MoreUpdates=0, | |
$global:MaxCycles=10) | |
function Check-ContinueRestartOrEnd() { | |
$RegistryKey = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" | |
$RegistryEntry = "InstallWindowsUpdates" | |
switch ($global:RestartRequired) { | |
0 { | |
$prop = (Get-ItemProperty $RegistryKey).$RegistryEntry |