Skip to content

Instantly share code, notes, and snippets.

View ja8zyjits's full-sized avatar

Jitesh Nair ja8zyjits

  • Ericsson
  • Ireland
View GitHub Profile
@ja8zyjits
ja8zyjits / install.sh
Created March 7, 2025 00:34 — forked from DPS0340/install.sh
install openssl 1.1.1 on ubuntu 22.04 arm64
# download binary openssl packages from Impish builds
wget http://ports.ubuntu.com/pool/main/o/openssl/openssl_1.1.1f-1ubuntu2_arm64.deb
wget http://ports.ubuntu.com/pool/main/o/openssl/libssl-dev_1.1.1f-1ubuntu2_arm64.deb
wget http://ports.ubuntu.com/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2_arm64.deb
# install downloaded binary packages
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2_arm64.deb
sudo dpkg -i libssl-dev_1.1.1f-1ubuntu2_arm64.deb
sudo dpkg -i openssl_1.1.1f-1ubuntu2_arm64.deb
@ja8zyjits
ja8zyjits / populate_obj_in_wtforms.py
Last active March 4, 2016 18:16
WTForms populate_obj advantage
##Complex Models:
class Profile(db.Model):
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(100))
reports = db.relationship(
'Report', backref='profile_of_report', lazy='dynamic')
class Report(db.Model):