Skip to content

Instantly share code, notes, and snippets.



View GitHub Profile
cellcoresystems / A Readme for Adding
Created Apr 21, 2021 — forked from Artistan/A Readme for Adding
Add new certificate (cert) from local/internal intranet to your mac
View A Readme for Adding

Add a cert to you macbook



you will be asked for your password to add thit to keychain

  • downloads pem file
  • adds to trusted root certificates
cellcoresystems /
Created Mar 28, 2021 — forked from plembo/
Rename default user in Crostini

Rename the default user in Crostini

Crostini is the Linux (LXD, a project initiated by Ubuntu publisher Canonical) container for ChromeOS. When enabled it creates a new container with the hostname "penguin" and an initial user whose user/login name is derived from the Gmail alias of the logged in Google account.

This is incovenient for a lot of reasons, not the least of which is that it makes working with NFSv3 shares and ssh keys on and for other hosts tedious (userids are everything to NFSv3, as login names are for ssh).

These are the steps to rename that default user and group:

In what follows "oldusername" is your existing username in penguin, while "newusername" is what you want it to be.

  1. Enter crosh with Ctrl-Alt-t
cellcoresystems /
Created Oct 22, 2020 — forked from FrankSpierings/
Linux Container Escapes and Hardening

Neo4j Tutorial


Graph Databases Store non temporal data using the following graph concepts:

  • Node: Graph data records
  • Relationship: Connect nodes (has direction and a type)
  • Property: Stores data in key-value pair in nodes and relationships
  • Label: Groups nodes and relationships (optional)
cellcoresystems / How to Install JDK MacOS
Created Aug 16, 2020 — forked from gwpantazes/How to Install JDK MacOS
How to install different JDK versions on MacOS with Homebrew
View How to Install JDK MacOS

How To Install Different JDK Versions on MacOS with Homebrew

Keywords: Java, JDK (Java Development Kit), MacOS, Homebrew

This how-to guide covers how to install different versions of the JDK on MacOS with Homebrew.

This guide favors OpenJDK

This guide favors free, simple, and permissive licensing whenever possible, so we will favor OpenJDK over Oracle JDK because OpenJDK is licensed GNU GPL with a linking exception. For more information, see Oracle now requires a subscription to use Java SE (2018).

  • For Java 8 and later, we will install OpenJDK.


curl -i -F "url=" -F "code=YOUR_CUSTOM_NAME"

URLs that can be created is from:

  • https://*
  • https://**
  • https://*
View .pythonrc
# .pythonrc
# to activate put this in your .bashrc or .zshrc file
# export PYTHONSTARTUP=~/.pythonrc
# reminder: does not work work with python -i
# you have to use this in every script:
# import os
# if os.path.isfile(os.environ['PYTHONSTARTUP']):
cellcoresystems /
Last active Feb 26, 2018
install docker script
# docker installation on Ubunutu 16.04+
# source
# remove any old docker
sudo apt-get remove docker docker-engine
# install prerequisites
sudo apt-get install \
apt-transport-https \
cellcoresystems / autossh.service
Created Nov 15, 2017 — forked from viernes/autossh.service
Systemd service for autossh
View autossh.service
Description=Keeps a tunnel to '' open
# sudo mv autossh.service /etc/systemd/system/
# sudo systemctl enable autossh.service
# sudo apt install autossh