Skip to content

Instantly share code, notes, and snippets.

View bliotti's full-sized avatar
public key cryptography is pretty neat 🔑 🔐

Brian Liotti bliotti

public key cryptography is pretty neat 🔑 🔐
View GitHub Profile

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 / README.md
Created July 10, 2021 02:41 — forked from omundy/README.md
Remove Sophos from a Mac with tamper protection

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 July 9, 2021 04:31 — forked from BretCameron/LinkedList.js
The full LinkedList implementation from this tutorial: https://bit.ly/2mihZac
class LinkedListNode {
constructor(value, next) {
this.value = value;
this.next = next || null;
}
}
class LinkedList {
constructor(value) {
this.size = 0;
@bliotti
bliotti / lnd.conf
Created July 3, 2021 02:14 — forked from bumi/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 03:00 — forked from lvnilesh/cluster-issuer.yaml
DNS acme cluster-issuer.yaml - third time is a charm
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:
@bliotti
bliotti / mongodb.md
Created November 18, 2019 05:35 — forked from artieziff/mongodb.md
MongoDb & Python Essentials

##MONGODB & PYTHON

###Ubuntu Install

sudo apt-get install mongodb
pip install pymongo

Table - Collection
Column - Property
Row - Document

@bliotti
bliotti / mongodb_cheat_sheet.md
Created November 18, 2019 05:46 — forked from bradtraversy/mongodb_cheat_sheet.md
MongoDB Cheat Sheet

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

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