Skip to content

Instantly share code, notes, and snippets.

@leonavevor
leonavevor / win11.cmd
Created January 26, 2024 13:13
Windows 11 Activation Script
@echo off
title Activate Windows 11 (ALL versions) for FREE - MSGuides.com&cls&echo =====================================================================================&echo #Project: Activating Microsoft software products for FREE without additional software&echo =====================================================================================&echo.&echo #Supported products:&echo - Windows 11 Home&echo - Windows 11 Professional&echo - Windows 11 Education&echo - Windows 11 Enterprise&echo.&echo.&echo ============================================================================&echo Activating your Windows...&cscript //nologo slmgr.vbs /ckms >nul&cscript //nologo slmgr.vbs /upk >nul&cscript //nologo slmgr.vbs /cpky >nul&set i=1&wmic os | findstr /I "enterprise" >nul
if %errorlevel% EQU 0 (cscript //nologo slmgr.vbs /ipk NPPR9-FWDCX-D2C8J-H872K-2YT43 >nul||cscript //nologo slmgr.vbs /ipk DPH2V-TTNVB-4X9Q3-TJR4H-KHJW4 >nul||cscript //nologo slmgr.vbs /ipk YYVX9-NTFWV-6MDM3-9PT4T-4M68B >nul||cscript //nologo
@leonavevor
leonavevor / install-go-simple.sh
Last active January 15, 2024 10:43 — forked from jeremyje/install-go.sh
one click install go
#!/bin/bash -xe
##
# Ref: https://go.dev/dl/ (all releases)
# Ref: https://go.dev/doc/install (installing go)
# Ref: https://medium.com/@rubens.piovesan/setting-up-vs-code-for-golang-2021-4cb6ebdd557c (prep vscode for go dev)
##
##
# Usage:
@leonavevor
leonavevor / one-click-install-oh_my_zsh-powerlevel10k-ubuntu.sh
Last active January 16, 2024 13:28 — forked from AmreeshTyagi/one-click-install-oh_my_zsh-powerlevel10k-ubuntu.sh
one click installation script for oh-my-zsh and powerlevel10k with autocomplete and highlighter plugin + fzf search on ubuntu 23.01
#!/bin/bash -x
##
# Tested on:
# ubuntu 23.01
##
##
# https://github.com/junegunn/fzf
# https://ohmyz.sh/
@leonavevor
leonavevor / jenkins.md
Created March 9, 2019 09:09 — forked from iamstoick/jenkins.md
How to enable SSL in Jenkins

Enabling SSL in Jenkins is a bit tricky. To do this first you need to convert your keys to PKCS12.

$ sudo openssl pkcs12 -inkey key.pem -in cert.pem -export -out keys.pkcs12

Then created a keystore (password for keystore should be same as password for key).

$ sudo keytool -importkeystore -srckeystore keys.pkcs12 -srcstoretype pkcs12 -destkeystore keystore
@leonavevor
leonavevor / README.md
Created March 12, 2018 13:15 — forked from jmruc/README.md
Generating pom.xml from gradle

To generate a pom.xml file just run gradle writeNewPom

If you want to generate it as pom.xml in the root of the project, replace writeTo("$buildDir/newpom.xml") with writeTo("pom.xml")