Skip to content

Instantly share code, notes, and snippets.

@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
@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
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active June 27, 2024 09:17
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