Skip to content

Instantly share code, notes, and snippets.

Conventional Commit Messages starline

See how a minor change to your commit message style can make a difference.

Tip

Take a look at git-conventional-commits , a CLI util to ensure these conventions, determine version and generate changelogs

Commit Message Formats

Default

@lloydlobo
lloydlobo / graph_traversal_networkx.ipynb
Last active December 29, 2023 04:39
graph_traversal_networkx.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lloydlobo
lloydlobo / lerpy-py.ipynb
Last active December 26, 2023 15:28
lerpy-py.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@lloydlobo
lloydlobo / mern-server-setup.md
Created July 7, 2022 06:11 — forked from bradtraversy/mern-server-setup.md
Setup Ubuntu & Deploy MERN app

Linux Server Setup & MERN App Deployment

These are the steps to setup an Ubuntu server from scratch and deploy a MERN app with the PM2 process manager and Nginx. We are using Linode, but you could just as well use a different cloud provider or your own machine or VM.

Create an account at Linode

Click on Create Linode

Choose your server options (OS, region, etc)

SSH Keys

JavaScript to Rust Cheat Sheet

The goal of this is to have an easily-scannable reference for the most common syntax idioms in JavaScript and Rust so that programmers most comfortable with JavaScript can quickly get through the syntax differences and feel like they could read and write basic Rust programs.

What do you think? Does this meet its goal? If not, why not?

Variables

JavaScript:

@lloydlobo
lloydlobo / 0.md
Created April 29, 2022 20:32 — forked from max-mapper/0.md
JS hoisting by example

JavaScript function hoisting by example

Below are many examples of function hoisting behavior in JavaScript. Ones marked as works successfuly print 'hi!' without errors.

To play around with these examples (recommended) clone them with git and execute them with e.g. node a.js

Notes on hoisting

(I may be using incorrect terms below, please forgive me)

@lloydlobo
lloydlobo / .eslintrc
Created April 22, 2022 16:43 — forked from rogeriotaques/.eslintrc
Standard ESLint configuration file I am using in my projects with jQuery and Gulp.
{
"env": {
"browser": true,
"node": true,
"jquery": true
},
"extends": ["airbnb-base"],
"rules": {
"arrow-parens": ["error", "always"],
"camelcase": "off",
@lloydlobo
lloydlobo / .licrc
Created April 21, 2022 02:18 — forked from robertohuertasm/.licrc
Simple .licrc config file for Licensebat
[licenses]
# This indicates which are the only licenses that Licensebat will accept.
# The rest will be flagged as not allowed.
accepted = ["MIT", "MSC", "BSD"]
# This will indicate which licenses are not accepted.
# The rest will be accepted, except for the unknown licenses or dependencies without licenses.
# unaccepted = ["LGPL"]
# Note that only one of the previous options can be enabled at once.
# If both of them are informed, only accepted will be considered.
@lloydlobo
lloydlobo / gist:96b372a2913d0a27bafe5054788808c3
Created April 6, 2022 05:00 — forked from digitaljhelms/gist:4287848
Git/GitHub branching standards & conventions

Branching

Quick Legend

Description, Instructions, Notes
Instance Branch