This file contains hidden or 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
// https://superuser.com/questions/13653/how-to-set-the-default-program-for-opening-files-without-an-extension-in-windows | |
assoc .="No Extension" | |
ftype "No Extension"="C:\Program Files\Microsoft VS Code\Code.exe" "%1" |
This file contains hidden or 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 | |
git submodule foreach -q --recursive 'echo $name && git switch -C $(git name-rev --exclude=refs/tags/\* --name-only $(git rev-parse @{-1}))' |
This file contains hidden or 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 | |
# Set the directory | |
directory=$1 | |
# If no directory was specified, use the current working directory | |
if [ -z "$directory" ] | |
then | |
directory=$(pwd) | |
fi |
OlderNewer