Skip to content

Instantly share code, notes, and snippets.

View hcl14's full-sized avatar

Egor Beliaev hcl14

View GitHub Profile
@ashd97
ashd97 / rsstoemail.gs
Last active February 17, 2024 11:30
Get latest news by emails on google apps script trigger
// data feed URLs
var dataSources = [
"http://blog.qt.io/feed/",
"http://feed.rutracker.cc/atom/f/1426.atom",
"http://feeds2.feedburner.com/blogspot/hsDu",
];
@pawl
pawl / gist:95769724848269cff890
Last active July 24, 2019 01:34
Solution to large dictionaries not released to memory: Run a separate process
import random
import optparse
import gc
from flask import redirect, Flask
from memory_profiler import memory_usage
from multiprocessing import Process
# Create flask app
app = Flask(__name__)