Skip to content

Instantly share code, notes, and snippets.

View johnson86tw's full-sized avatar
🥝

Johnson johnson86tw

🥝
View GitHub Profile
I contributed to the Semaphore Trusted Setup Multi-Party Ceremony.
The following are my contribution signatures:
Circuit: semaphore16
Contributor # 225
Hash: bcc623e9 675fd000 84f49e98 f0b3f4f0
cbae9604 192e0122 5ae68599 2bd13e5c
18a8f466 5ba642b3 582d0cb6 cb698c93
a3351938 8ed7bdf8 f209a470 66c13574
@johnson86tw
johnson86tw / kmlToCSV.py
Created January 9, 2024 08:06 — forked from mohitsingh2806/kmlToCSV.py
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
@johnson86tw
johnson86tw / general-api.gs
Last active May 23, 2024 10:17
Google Apps Script General API
let book = SpreadsheetApp.openByUrl('');
let sheet = book.getSheetByName("工作表1");
function doGet(e) {
let data = sheet.getDataRange().getValues()
let headers = data[0];
let arr = [];
for (let i = 1; i < data.length; i++) {