Flask apps are bound to port 5000 by default. To bind it to port 80, you would need to change the port as follows:
if __name__ == '__main__':
app.run(host='0.0.0.0', port=80, debug=True)And to run it:
| import asyncio | |
| import psycopg2 | |
| # dbname should be the same for the notifying process | |
| conn = psycopg2.connect(host="localhost", dbname="example", user="example", password="example") | |
| conn.set_isolation_level(psycopg2.extensions.ISOLATION_LEVEL_AUTOCOMMIT) | |
| cursor = conn.cursor() | |
| cursor.execute(f"LISTEN match_updates;") |
| Last Updated: 7 Oct 2025 | |
| ------------------------- | |
| In this package, you will find a brief introduction to the Scripting API for DaVinci Resolve Studio. Apart from this README.txt file, this package contains folders containing the basic import | |
| modules for scripting access (DaVinciResolve.py) and some representative examples. | |
| From v16.2.0 onwards, the nodeIndex parameters accepted by SetLUT() and SetCDL() are 1-based instead of 0-based, i.e. 1 <= nodeIndex <= total number of nodes. | |
| Overview | |
| -------- | |
| As with Blackmagic Fusion scripts, user scripts written in Lua and Python programming languages are supported. By default, scripts can be invoked from the Console window in the Fusion page, |
Flask apps are bound to port 5000 by default. To bind it to port 80, you would need to change the port as follows:
if __name__ == '__main__':
app.run(host='0.0.0.0', port=80, debug=True)And to run it:
Taken from StackExchange
Thanks to LangLangC
For temperature and other improvements see https://gist.github.com/cdleon/d16e7743e6f056fedbebc329333d79df
Awesome-WM is a X11 window manager, that is configured via Lua. Fennel is a Lisp for Lua. This shows a general setup of how to write your awesome-wm config using fennel directly without the compilation step (which would also work, but is not needed).
Fetch a recent Fennel version (the
| Major Version | SaaS Version | Official Release Date | Planned End of life | Bug fix | New On Premise | New Odoo Online | New Odoo.sh |
|---|---|---|---|---|---|---|---|
| 17.0 | November 8th 2023 | Q4 2026 | β | β | π΄ | β | |
| saas-17.1 | January 29th 2024 | Q4 2024 | π΄ | π΄ | π΄ | π΄ | |
| saas-17.2 | April 02nd 2024 | Q4 2024 | π΄ | π΄ | π΄ | π΄ | |
| saas-17.3 | -- | -- | --- | --- |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>controls</key> | |
| <array> | |
| <dict> | |
| <key>controlType</key> | |
| <string>button</string> | |
| <key>keyPath</key> |
| # maximum capability of system | |
| user@ubuntu:~$ cat /proc/sys/fs/file-max | |
| 708444 | |
| # available limit | |
| user@ubuntu:~$ ulimit -n | |
| 1024 | |
| # To increase the available limit to say 200000 | |
| user@ubuntu:~$ sudo vim /etc/sysctl.conf |
A list of commonly asked questions, design decisions, reasons why Clojure is the way it is as they were answered directly by Rich (even when from many years ago, those answers are pretty much valid today!). Feel free to point friends and colleagues here next time they ask (again). Answers are pasted verbatim (I've made small adjustments for readibility, but never changed a sentence) from mailing lists, articles, chats.
How to use:
| #!/usr/bin/env python3 | |
| import requests | |
| import re | |
| import shutil | |
| def download(id): | |
| r = requests.get("http://www.breakbeat-paradise.com/bb_download.php?sampleid={}".format(id)) | |
| html = r.text | |
| url = re.search('http://.+\.zip', html).group(0) |