Skip to content

Instantly share code, notes, and snippets.

View tomers's full-sized avatar

Tomer Shalev tomers

View GitHub Profile
@tomers
tomers / haifa_vadi_xlsx_to_csv.py
Created January 5, 2023 16:10
Haifa Vadis XLSX to CSV file converter
#!/usr/bin/env python3
import csv
import re
from itertools import islice
from pathlib import Path
import openpyxl
import phonenumbers
import validators
#!/usr/bin/env python3
import argparse
import base64
import json
import logging
import os
import random
import subprocess
import sys
from tempfile import NamedTemporaryFile
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"metadata": {},
"outputs": [],
"source": [
"import datetime as dt\n",
"import numpy as np\n",
סוג דוח : MultiStation , ניידת 6 , ניידת 5 , תאריך \ שעה
, BENZN , BENZN ,
, PPB , PPB ,
, 0.00 , 0.60 , 18/05/2018 00:30
, 0.00 , 0.69 , 18/05/2018 01:00
, 0.62 , 0.66 , 18/05/2018 01:30
, 2.35 , 0.70 , 18/05/2018 02:00
, 3.43 , 0.72 , 18/05/2018 02:30
, 2.63 , 0.56 , 18/05/2018 03:00
, 3.67 , 0.42 , 18/05/2018 03:30
@tomers
tomers / 0_reuse_code.js
Created November 17, 2016 12:59
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
# To execute, run the following from command-line:
# "C:\Program Files\Internet Explorer\iexplore.exe" http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/tomers/7cf31538d55a50b8f3be3c2b12b18aec/raw
#Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Set-TaskbarOptions -Lock -Combine Never
#Enable-RemoteDesktop
Enable-MicrosoftUpdate
# Web browsers
cinst googlechrome
# To execute, run the following from command-line:
# "C:\Program Files\Internet Explorer\iexplore.exe" http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/tomers/f18d91fc248d71b14444c9849b0a0de2/raw/My%2520Boxstarter%2520script
Set-WindowsExplorerOptions -EnableShowHiddenFilesFoldersDrives -EnableShowProtectedOSFiles -EnableShowFileExtensions
Set-TaskbarOptions -Lock -Combine Never
Enable-RemoteDesktop
Enable-MicrosoftUpdate
# Web browsers
cinst googlechrome