Skip to content

Instantly share code, notes, and snippets.

View munim's full-sized avatar

Abdul Munim munim

View GitHub Profile
@munim
munim / README.md
Last active June 28, 2024 04:50
Windows script to change network adapter IP to static/DHCP

Change IP address using batch script in Windows 7 and above

Create a batch file, put the below script in and run it as administrator.

Static IP

@echo "Setting static IP."
@netsh interface ip set address "Ethernet0" static 192.168.1.100 255.255.255.0 192.168.1.1
@echo "Setting DNS."
@netsh interface ip set dns "Ethernet0" static 8.8.8.8

How to debug AEM/CQ5 using Eclipse/IntelliJ

Run AEM/CQ5 instance in debug mode using the following command

java -Xdebug -Xrunjdwp:transport=dt_socket,address=58242,suspend=n,server=y -Xmx1024m -jar .\cq5-author-p4502.jar -nofork

@munim
munim / youtube-dl-download-pluralsight.md
Last active July 28, 2022 21:19
youtube-dl to download pluralsight videos

Download Plural Sight videos

Software required:

youtube-dl

After installation and putting the youtube-dl in PATH

youtube-dl \