Skip to content

Instantly share code, notes, and snippets.

View gtwy's full-sized avatar

JW gtwy

  • Pittsburgh, PA
View GitHub Profile
@gtwy
gtwy / powershell_notes.txt
Last active September 15, 2021 21:42
(Powershell) Create users in Active Directory and add Email Aliases
UT-8 CSV file should look as follows:
Display,First,Last,Email,Password,Aliases
John Smith,John,Smith,john.smith@contoso.com,TempPassword123,john@contoso.com
Jane Smith,Jane,Smith,jane.smith@contoso.com,TempPassword456,
Joe Sixpack,Joe,Sixpack,joe.sixpack@contoso.com,TempPassword789,"joe@contoso.com,beer@contoso.com"
Line 1: John Smith has 1 alias, john@contoso.com
Line 2: Jane has zero aliases
Line 3: Joe has two alieases separated by a comma, ergo the aliases column must be "quoted"
@gtwy
gtwy / rtorrent_from_src.txt
Created October 21, 2018 18:49
rtorrent & libtorrent from source
apt install pkg-config build-essential automake checkinstall
apt install libtool libncursesw5-dev libncurses5-dev libxmlrpc-c++8-dev libcurl4-openssl-dev
git clone https://github.com/rakshasa/rtorrent.git
git clone https://github.com/rakshasa/libtorrent.git
cd libtorrent/
apt-get install zlib1g-dev libcrypto++-dev libssl-dev
./autogen.sh
./configure
make
make install
@gtwy
gtwy / ubuntu_iso_server.txt
Last active November 24, 2019 23:25
Ubuntu ISO Host Server
########################################################################
############################## Ubuntu ISO Server v0.2.0 ### 2018-10-21 #
########################################################################
# These notes explain how I built an open source Ubuntu ISO server.
# ISOs are large files that are needed to install open source software.
# These notes are updated frequently and I use them each time I
# rebuild my server.
#
# Because linux is free, using my computer to share various linux