dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
#!/bin/bash | |
#Script to get rss feed from special youtube links. | |
# Examples: | |
# 1) https://www.youtube.com/c/NumeroDiez --> type "./yt-rss Numerodiez c" and press enter to get RSS url | |
# 2) https://www.youtube.com/user/simoneaversano --> type "./yt-rss simoneaversano user" and press ENTER to get RSS url | |
# If the channel already have an id in the youtube url use: | |
# 2) https://www.youtube.com/channel/UCk8gzAOGprcGAFMWGzZ2zQw --> type "./yt-rss UCk8gzAOGprcGAFMWGzZ2zQw channel" and press ENTER to get RSS url | |
GREEN=`tput setaf 2` |
[alias] | |
lb = !git reflog show --pretty=format:'%gs ~ %gd' --date=relative | grep 'checkout:' | grep -oE '[^ ]+ ~ .*' | awk -F~ '!seen[$1]++' | head -n 10 | awk -F' ~ HEAD@{' '{printf(\" \\033[33m%s: \\033[37m %s\\033[0m\\n\", substr($2, 1, length($2)-1), $1)}' |
green='\e[32m' | |
blue='\e[34m' | |
clear='\e[0m' | |
#Green | |
GREEN=`tput setaf 2` | |
# Red |
# Create new feature branch from sd-unity-4-0 dev branch | |
# Red | |
RED='\033[0;31m' | |
# Color Function | |
alert(){ | |
echo -ne $RED$1$clear |
#!/bin/bash | |
FILE=build.js | |
if test -f "$FILE"; then | |
printf "\r\n$FILE already exists, start use node build with \"node build --cmd\"\n" | |
else | |
echo "let build = require('sd-unity-build');" > build.js | |
printf "\r\nbuild.js created, start use node build with \"node build --cmd\"\n" | |
fi |
git for-each-ref --sort='-committerdate' --format='%(refname)%09%(committerdate)' refs/heads | sed -e 's-refs/heads/--' |
git for-each-ref --sort=-committerdate refs/heads/ |
green='\e[32m' | |
blue='\e[34m' | |
clear='\e[0m' | |
#Green | |
GREEN=`tput setaf 2` | |
# Red |