Skip to content

Instantly share code, notes, and snippets.

@atodev
atodev / pwgen
Created March 12, 2023 20:17
[pwgen]
$ password=$(pwgen 25 1)
$ echo $password
$ hashPassword $password
2. Store the password in your password manager.
@atodev
atodev / For Windows
Last active March 8, 2023 02:01
[Virtual environment]
python -m venv imageclassification
-- activate
.\imageclassification\Scripts\activate
pip install ipykernel
python -m ipykernel install --name=imageclassification
jupyter kernelspec list
@atodev
atodev / SMB
Last active April 1, 2023 17:36
[MAC]
https://confluence.cc.lehigh.edu/display/LKB/macOS%3A++Create+a+Desktop+Alias+to+a+Network+Storage+Space
https://confluence.cc.lehigh.edu/display/LKB/macOS%3A++Automatically+Connect+to+Network+Storage
@atodev
atodev / ADFS
Last active February 9, 2023 08:29
[SAML]
https://aws.amazon.com/blogs/compute/saml-for-your-serverless-javascript-application-part-i/
@atodev
atodev / calendar
Last active February 6, 2023 09:02
[veritas]
https://www.veritas.com/support/en_US/article.100000770
https://www.veritas.com/support/en_US/doc/23557409-136252181-0/v18378260-136252181
email -= headers
X-Ms-Exchange-Calendar-Series-Instance-Id:
@atodev
atodev / install
Created February 4, 2023 01:36
[Stable Diffusion]
https://harishgarg.com/writing/install-and-use-stable-diffusion-locally-on-windows/
https://towardsdatascience.com/store-unlimited-data-for-free-on-ipfs-and-retrieve-it-with-python-8db7297b493d
@atodev
atodev / open ssl cmds
Last active February 7, 2023 03:28
[OPPENSSL]
https://slproweb.com/download/Win64OpenSSL_Light-3_0_7.msi
open Win64 OpenSSL Command Prompt
keys:
openssl ecparam -name secp384r1 -genkey -out private_key.pem
openssl ec -in private_key.pem -pubout -out public_key.pem
@atodev
atodev / rot13
Created December 21, 2022 21:46
[cypher]
8. ROT13 Encryption
Rot13 is a cipher which is based on rotation of alphabetic characters by 13. The numeric and none alphabetic characters remain unchanged. Because there is 26 letters in English alphabet rotating characters by 13 encodes and decodes the string. So in our test email first letter of our email is “n” which would become “a” since we would count 13 letters from “n” in the alphabet in circle.
@atodev
atodev / Load LLC into table
Last active December 21, 2022 21:45
[MSSQL]
USE ONA
GO
IF OBJECT_ID('LLC_SQL','u') IS NOT NULL
DROP TABLE LLC_SQL;
CREATE TABLE LLC_SQL (
Sender nvarchar(MAX) NULL,