This method is safer but requires more expertise.
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
<?xml version="1.0" encoding="utf-8" ?> | |
<packages> | |
<!-- <package id="apackage" /> | |
<package id="anotherPackage" version="1.1" /> | |
<package id="chocolateytestpackage" version="0.1" source="somelocation" /> | |
<package id="alloptions" version="0.1.1" source="https://somewhere/api/v2/" installArguments="" packageParameters="" forceX86="false" allowMultipleVersions="false" ignoreDependencies="false" /> --> | |
<!-- Core --> | |
<package id="chocolatey" /> | |
<package id="chocolatey-core.extension" /> | |
<package id="chocolatey-windowsupdate.extension" /> |
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
<!-- Office 2016 client configuration file sample. To be used for Office 2016 ProPlus apps, | |
Office 2016 Business apps, Project Pro for Office 2016 and Visio Pro for Office 2016. | |
For detailed information regarding configuration options visit: http://aka.ms/ODT. | |
To use the configuration file be sure to remove the comments | |
The following sample allows you to download and install the 64 bit version of the Office 2016 ProPlus apps | |
and Visio Pro for Office 2016 directly from the Office CDN using the Monthly Channel | |
settings --> |
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 | |
# Install Docker-CE | |
sudo apt update -y | |
sudo apt install docker-compose -y | |
# Add User to Group | |
sudo groupadd docker | |
sudo gpasswd -a $USER docker | |
newgrp docker |
- Extract the nginx to a location. example
C:\nginx
- Extract the PHP for Windows into nginx folder. example
C:\nginx\php
-
Disable firewall for WSL vEthernet so that the Windows
adb
binary can communicate with the Linuxadb
package and start theadb
server on Windows side.Set-NetFirewallProfile -DisabledInterfaceAliases "vEthernet (WSL)" adb -a -P 5037 nodaemon server
-
Connect to the
adb
server on Windows from WSL.
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
# ======================================================== | |
# Setup a Dumb AP, Wired backbone for OpenWRT / LEDE | |
# ======================================================== | |
# Set lan logical interface as bridge (to allow bridge multiple physical interfaces) | |
uci set network.lan.type='bridge' | |
# assign WAN physical interface to LAN (will be available as an additional LAN port now) | |
uci set network.lan.ifname="$(uci get network.lan.ifname) $(uci get network.wan.ifname)" | |
uci del network.wan.ifname | |
# Remove wan logical interface, since we will not need it. | |
uci del network.wan |
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
# This is to use on image building process to make TP-Link have autoconfigured with factory SSID and KEY | |
mkdir ./files/etc/uci-defaults/ | |
cat <<'__EOF__' > ./files/etc/uci-defaults/99_default-no-eth.sh | |
#!/bin/sh | |
[ "$(uci -q get system.@system[0].init)" = "" ] && exit 0 | |
[ -e /etc/init ] && exit 0 | |
touch /etc/init | |
uci batch <<EOC |
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
# ==================================================================================== | |
# Steps for Main Router (must have connected internet on WAN port) | |
# ==================================================================================== | |
# Set your network IP address configuration default is 192.168.1.0/24 | |
uci set network.lan.ipaddr='192.168.1.1' | |
# Recommended, to identify on network and when logged on | |
uci set system.@system[0].hostname='MainRouter' | |
uci set network.lan.hostname="`uci get system.@system[0].hostname`" |
OlderNewer