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
powershell.exe "Add-DnsServerResourceRecordA -Name " machinename " -ComputerName " 111.11.11.111 " -ZoneName " testcs.company.com " -AllowUpdateAny -IPv4Address " 111.11.10.110 " -TimeToLive " 00:00:10 |
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
FROM golang:alpine | |
RUN apk add git | |
RUN apk add make | |
RUN mkdir /src | |
WORKDIR /src | |
VOLUME /src |
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
svn -q --config-option config:working-copy:exclusive-locking-clients=svn --config-option config:working-copy:exclusive-locking=true checkout |
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
change in /etc/cloud/cloud.cfg | |
preserve_hostname: true | |
hostnamectl set-hostname |
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
https://medium.com/@sh.tsang/partitioning-formatting-and-mounting-a-hard-drive-in-linux-ubuntu-18-04-324b7634d1e0 |
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
chmod -x /etc/update-motd.d/* |
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
usermod -aG sudo username |
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
netsh wlan add filter permission=denyall networktype=infrastructure | |
https://lifehacker.com/how-do-i-hide-my-neighbors-wifi-networks-1833806819 |
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
@REM choco install all the applications from the choco-win-10-fresh file one by one | |
@echo off | |
for /f "tokens=* delims=" %%a in ('type choco-win-10-fresh') do ( | |
call choco install -y %%app | |
) | |
start chocolateygui |
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
https://help.ubuntu.com/lts/serverguide/sssd-ad.html | |
/etc/krb5.conf: domain name must be CAPITAL | |
default_realm = MYUBUNTU.EXAMPLE.COM | |
/etc/hosts: | |
127.0.0.1 machine.example.com | |
/etc/sudoers: | |
https://derflounder.wordpress.com/2012/12/14/adding-ad-domain-groups-to-etcsudoers |