Skip to content

Instantly share code, notes, and snippets.

Avatar
public key cryptography is pretty neat 🔑 🔐

Brian Liotti bliotti

public key cryptography is pretty neat 🔑 🔐
View GitHub Profile
@bliotti
bliotti / README.md
Created Jul 10, 2021 — forked from omundy/README.md
Remove Sophos from a Mac with tamper protection
View README.md

Sophos Anti Virus hogging your processor? Can't remove it because of tamper protection?


# change into preferences
cd /Library/Preferences

# confirm locations of sophos files
ls com.sophos.*
@bliotti
bliotti / LinkedList.js
Created Jul 9, 2021 — forked from BretCameron/LinkedList.js
The full LinkedList implementation from this tutorial: https://bit.ly/2mihZac
View LinkedList.js
class LinkedListNode {
constructor(value, next) {
this.value = value;
this.next = next || null;
}
}
class LinkedList {
constructor(value) {
this.size = 0;
View lnd.conf
[Application Options]
lnddir=/home/bitcoin/lnd_data
maxpendingchannels=10
alias=YOURALIAS
rpclisten=0.0.0.0:10009
[Bitcoin]
bitcoin.active=1
bitcoin.mainnet=1
bitcoin.node=bitcoind
@bliotti
bliotti / cluster-issuer.yaml
Last active May 15, 2021 — forked from lvnilesh/cluster-issuer.yaml
DNS acme cluster-issuer.yaml - third time is a charm
View cluster-issuer.yaml
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
name: letsencrypt-staging
namespace: cert-manager
spec:
acme:
email: brian@liotti.io
server: https://acme-staging-v02.api.letsencrypt.org/directory
privateKeySecretRef:
View mongodb_cheat_sheet.md

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

View MongoDB + Python cheat sheet.md

Install MongoDB and Python wrapper (Ubuntu Linux)

sudo apt-get install -y mongodb-org
pip install pymongo
pip3 install pymongo

Start MongoDB daemon

@bliotti
bliotti / mongodb.md
Created Nov 18, 2019 — forked from artieziff/mongodb.md
MongoDb & Python Essentials
View mongodb.md

##MONGODB & PYTHON

###Ubuntu Install

sudo apt-get install mongodb
pip install pymongo

Table - Collection
Column - Property
Row - Document

View Fortune500.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.