Skip to content

Instantly share code, notes, and snippets.

View nonamephysics's full-sized avatar

Marat Zakirov nonamephysics

View GitHub Profile
@nonamephysics
nonamephysics / parseml.py
Last active August 25, 2020 21:23 — forked from urschrei/parseml.py
Extract attachments from EML files in the current dir, and write them to the output subdir
#!/usr/bin/env python
"""
2020 update:
- More iterators, fewer lists
- Python 3 compatible
- Processes files in parallel
(one thread per CPU, but that's not really how it works)
"""
@nonamephysics
nonamephysics / tz.js
Created March 20, 2019 17:14 — forked from phgrey/tz.js
#! /usr/bin/node
/**
* HTTP server for some data transitions Endpoint: http://XXX/compute/<request_id>
* details - https://www.corva.ai/software-engineer-interview-question/
*/
const http = require('http'),
assert = require('assert');