This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* | |
* Persian Writing Function in 5110 Nokia LCD | |
* Created by qwerty13 | |
* Share it with Permision only! | |
* qwerty13.ir | |
* 0937-6095913 | |
* | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<title>CSV To JSON</title> | |
<style> | |
BODY {font: 16px/1.4 Trebuchet MS, Arial, sans-serif;color: #000;}A {color: steelblue;}H1 {font: 2em/1.4 Georgia, serif;text-align: center;}H4 {margin: 0;margin-bottom: 0.15em;font: 1.3em/1.4 Georgia, serif;}P {margin: 1.2rem 0;}TEXTAREA {width: 100%;height: 150px;margin: 0;border: 1px solid #CCC;border-radius: 10px;font-size: 13px;font-family: monospace;}CODE {padding: 0 3px;background: #EEE;border-radius: 5px;text-shadow: 1px 1px 0 white;font: 14px/1.4 monospace;color: #333;}CODE I {font-style: italic;color: black;}.wrapper {width: 650px;margin: 1.5rem auto 4rem;}.header {position: relative;margin-bottom: 2rem;padding-bottom: 1rem;border-bottom: 1px solid #CCC;}.header::before {content: "";display: table;width: 100%;clear: both;}.footer {position: relative;display: flex;justify-content: space-between;margin-top: 3rem;padding-top: 2rem;border-top: 1px solid #CCC;}.panel {position: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from collections import defaultdict | |
import csv | |
import json | |
def csv_to_json(csvFilePath, jsonFilePath): | |
# Make Dictionary with default "List" | |
jsonArray = defaultdict(list) | |
#read csv file | |
with open(csvFilePath, encoding='utf-8') as csvf: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
Negara.css v0.1.2 | github.com/qwerty13 | |
Icons from "Lucide" and "Feather" | |
Edited by "URL-encoder for SVG" (https://yoksel.github.io/url-encoder) | |
*/ | |
.n-icon{ | |
-webkit-mask: var(--n-icon) no-repeat; | |
mask: var(--n-icon) no-repeat; | |
-webkit-mask-size: 100% 100%; |