Skip to content

Instantly share code, notes, and snippets.

@zaufi
zaufi / gitconfig
Last active July 26, 2018 21:08
My Git config w/ aliases & etc... (true color terminal required)
[core]
editor = mcedit
autocrlf = input
[alias]
aliases = config --get-regexp alias
br = branch
ci = commit
cl = clone
clm = "!f(){ r=$1; d=$(basename ${r//:/\\/} .git); git clone $r $d/master; };f"
@zaufi
zaufi / svn-dump.sh
Created November 21, 2017 21:51
Make a complete dump of a remote Subversion repository
# NOTE Add list of repositories to dump to `svn-repo.list` file
# one name per line...
while read -r repo || [[ -n "${repo}" ]]; do
svnrdump dump "https://svn.example.com/${repo}" | bzip2 -zc > "${repo}.svn-dump.bz2"
done < svn-repo.list
@zaufi
zaufi / disable-tasks.cmd
Last active May 29, 2024 08:13
Some tips to minimize "Windows 10 Enterprise 2016 LTSB N (x64)" installation to be used for continuous integration
schtasks /Change /TN "Microsoft\Windows\AppID\SmartScreenSpecific" /Disable
schtasks /Change /TN "Microsoft\Windows\ApplicationData\CleanupTemporaryState" /Disable
schtasks /Change /TN "Microsoft\Windows\ApplicationData\DsSvcCleanup" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /Disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /Disable
schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /Disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /Disable