Skip to content

Instantly share code, notes, and snippets.

View renatoapaza's full-sized avatar
🏠
Working from home

Renato Apaza T. renatoapaza

🏠
Working from home
View GitHub Profile
@renatoapaza
renatoapaza / UnlockUser.java
Created April 8, 2022 19:23 — forked from vegaasen/UnlockUser.java
Unlock user in AD using java and UnBoundID :-)
/**
* Simplifies the process of unlocking users.
* <p>
* The AD attribute "userAccountControl" may be any of the following
* - 512 Enabled Account (normally this..)
* - 514 Disabled Account
* - 544 Enabled, Password Not Required
* - 546 Disabled, Password Not Required
* - 66048 Enabled, Password Doesn't Expire
* - 66050 Disabled, Password Doesn't Expire
@renatoapaza
renatoapaza / custom-juno.sh
Created January 20, 2019 03:06 — forked from konstantinbo/custom-juno.sh
Thing to do after installation of Elementary OS Juno (5.0)
# First you update your system
sudo apt update && sudo apt-get dist-upgrade
# Uninstall unnecessary programs
sudo apt purge epiphany-browser epiphany-browser-data #browser
sudo apt purge pantheon-mail
# Bring back Software and Updates from Ubuntu
sudo apt-get install software-properties-gtk
# Properties Commons (to install elementary tweaks)