Skip to content

Instantly share code, notes, and snippets.

View 16pxdesign's full-sized avatar

Aleksy Ruszala 16pxdesign

View GitHub Profile
@map7
map7 / gist:bdcef100f7f9ecba38a439fed12bea53
Created March 20, 2020 04:30
debian 10 LTSP 20.3 install with chroot
- [-] Install *LTSP 20.3* on *debian10-ltsp*
- [X] Change to root
: su -
- [X] Configure PPA
The PPA gets updated before the repository (even debian testing)
: wget https://ltsp.org/misc/ltsp-ubuntu-ppa-bionic.list -O /etc/apt/sources.list.d/ltsp-ubuntu-ppa-bionic.list
: wget https://ltsp.org/misc/ltsp_ubuntu_ppa.gpg -O /etc/apt/trusted.gpg.d/ltsp_ubuntu_ppa.gpg
@todbot
todbot / raspi-node-hid.txt
Last active November 2, 2020 02:17
Installing node-hid on brand new Raspian on Raspberry Pi
# What is our setup
pi@raspberrypi:~ $ cat /etc/debian_version
9.4
pi@raspberrypi:~ $ lsb_release --all
No LSB modules are available.
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 9.4 (stretch)
Release: 9.4
Codename: stretch
@kevinadi
kevinadi / mongodb-ssl.sh
Last active July 20, 2024 01:15
Script to create self-signed CA certificates, server certificates, and client certificates for testing MongoDB with SSL
#!/bin/sh
# Generate self signed root CA cert
openssl req -nodes -x509 -newkey rsa:2048 -keyout ca.key -out ca.crt -subj "/C=AU/ST=NSW/L=Sydney/O=MongoDB/OU=root/CN=`hostname -f`/emailAddress=kevinadi@mongodb.com"
# Generate server cert to be signed
openssl req -nodes -newkey rsa:2048 -keyout server.key -out server.csr -subj "/C=AU/ST=NSW/L=Sydney/O=MongoDB/OU=server/CN=`hostname -f`/emailAddress=kevinadi@mongodb.com"
# Sign the server cert
@alexpchin
alexpchin / Add_Existing_Project_To_Git.md
Created June 1, 2014 20:14
Add Existing Project To Git Repo

#Adding an existing project to GitHub using the command line

Simple steps to add existing project to Github.

1. Create a new repository on GitHub.

In Terminal, change the current working directory to your local project.

##2. Initialize the local directory as a Git repository.

git init