- Save the services.sh file to your computer in a location like
C:/tools/wsl-startup/
. - Download the WSL Statup.xml and import it into Task Scheduler.
- Modify as needed for you personal use.
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
#!/usr/bin/env bash | |
sudo sh -c "echo 'precedence ::ffff:0:0/96 100' >> /etc/gai.conf" | |
sudo apt update | |
sudo apt install vim | |
sudo apt install curl | |
sudo apt install gnome-tweaks | |
sudo apt install gnome-shell-extensions | |
sudo apt install gnome-sushi |
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
#!/usr/bin/env bash | |
# from https://raw.githubusercontent.com/JackHack96/dell-xps-9570-ubuntu-respin/master/xps-tweaks.sh | |
# Check if the script is running under Ubuntu 18.10 Cosmic Cuttlefish | |
if [ $(lsb_release -c -s) != "cosmic" ]; then | |
>&2 echo "This script is made for Ubuntu 18.10!" | |
exit 1 | |
fi | |
# Check if the script is running as root |
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
function Beautifier(html_source, options, js_beautify, css_beautify) { | |
//Wrapper function to invoke all the necessary constructors and deal with the output. | |
html_source = html_source || ''; | |
// BEGIN (around line 199) | |
console.log(html_source); | |
html_source = html_source.replace(/\{\{((?:(?!\}\}).)+)\}\}/g, function (m, c) { | |
if (c) { | |
c = c.replace(/(^[ \t]*|[ \t]*$)/g, ''); | |
c = c.replace(/'/g, '''); |
I set up the wiki page for the valet-wsl project and moved the install guide there. This way it can have user contributions. Please have all disscussions or issues under the valet-wsl project so I can be aware of it. Please go to Valet Wsl Installation Guide
This documents outlines the initial steps I take to setup my OSX based system for web development. This setup should provide the underlying systems needed to be able to develop OSX. This setup should work for platforms like Laravel, Angular, Vue, MediaWiki, etc...
xcode-select --install
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
#!/usr/bin/env bash | |
OPENSSL=/usr/local/Cellar/openssl/1.0.2j/bin/openssl | |
CERTPATH=./etc/nginx/certs/ | |
${OPENSSL} genrsa -out ${CERTPATH}/app-wildcard.key 2048 | |
${OPENSSL} req -new -out ${CERTPATH}/app-wildcard.csr -key ${CERTPATH}/app-wildcard.key -config openssl.cnf | |
${OPENSSL} x509 -req -days 3650 -in ${CERTPATH}/app-wildcard.csr -signkey ${CERTPATH}/app-wildcard.key -out ${CERTPATH}/app-wildcard.crt -extfile openssl.cnf -extensions v3_req | |
sudo security delete-certificate -c "*.app" |
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
minecraft |
I hereby claim:
- I am valeryan on github.
- I am valeryan (https://keybase.io/valeryan) on keybase.
- I have a public key whose fingerprint is 4C8B EA54 23FB C12A 512A 0BBC 4938 77DA 39DE A4F8
To claim this, I am signing this object: