Skip to content

Instantly share code, notes, and snippets.

Avatar
💡
curious

cellcoresystems

💡
curious
View GitHub Profile
@cellcoresystems
cellcoresystems / README.md
Created Oct 22, 2020 — forked from FrankSpierings/README.md
Linux Container Escapes and Hardening
View README.md
View neo4j_cypher_cheatsheet.md

Neo4j Tutorial

Fundamentals

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
cellcoresystems / How to Install JDK MacOS Homebrew.md
Created Aug 16, 2020 — forked from gwpantazes/How to Install JDK MacOS Homebrew.md
How to install different JDK versions on MacOS with Homebrew
View How to Install JDK MacOS Homebrew.md

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.
View git-io-custom-url.md

Command:

curl https://git.io/ -i -F "url=https://github.com/YOUR_GITHUB_URL" -F "code=YOUR_CUSTOM_NAME"

URLs that can be created is from:

  • https://github.com/*
  • https://*.github.com
  • https://*.github.com/*
  • https://*.github.io
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
cellcoresystems / install_docker.sh
Last active Feb 26, 2018
install docker script
View install_docker.sh
#!/bin/bash
# docker installation on Ubunutu 16.04+
# source https://www.dockerfile.de/docker-tutorial-installation
# remove any old docker
sudo apt-get remove docker docker-engine docker.io
# install prerequisites
sudo apt-get install \
apt-transport-https \
@cellcoresystems
cellcoresystems / autossh.service
Created Nov 15, 2017 — forked from viernes/autossh.service
Systemd service for autossh
View autossh.service
[Unit]
Description=Keeps a tunnel to 'remote.example.com' open
After=network-online.target
[Service]
User=tunel
#ISTALLL
# sudo mv autossh.service /etc/systemd/system/
# sudo systemctl enable autossh.service
# sudo apt install autossh