Skip to content

Instantly share code, notes, and snippets.

@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active November 18, 2024 06:38
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@socheatsok78
socheatsok78 / README.md
Last active December 24, 2020 03:27
Payment Machine - XState (Example)

Payment Machine - XState

How-to

  1. Go to https://xstate.js.org/viz/
  2. Copy and paste paymentMachine.js content in to Definition tab in "XState Visualizer"
  3. Click Update on the Definition tab
  4. You're good to go
@mohitsingh2806
mohitsingh2806 / kmlToCSV.py
Last active January 9, 2024 08:06
This is a modified version of "https://gist.github.com/mciantyre/32ff2c2d5cd9515c1ee7". I modified it to add functionality to save the Name and description of the placemarks in the KML file along with the coordinates.
from bs4 import BeautifulSoup
import csv
def main():
"""
Open the KML. Read the KML. Make 3 lists for Name, Coordinates and Description of the placemarks. Save the data to a CSV
"""
name_counter = 0
names_list = []
coords_counter = 0