Skip to content

Instantly share code, notes, and snippets.

View Askill's full-sized avatar
🏠
Working from home

Emilia Askill

🏠
Working from home
View GitHub Profile
#! /bin/bash
fileName="/home/john/speed-log/speed_log.txt"
echo "$(speedtest-cli --csv --csv-delimiter ';')" >> $fileName
@Askill
Askill / format_json.py
Last active April 13, 2022 21:03
format large json files
import json
inp = ""
out = ""
with open(inp, "r", encoding="utf-8") as f:
with open(out, "w", encoding="utf-8") as f2:
json.dump(json.load(f), f2, indent=2, ensure_ascii=False)