All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.
| import urllib.request | |
| import json | |
| # ⚠️ Replace this with your GitHub personal access token (must include notifications scope) | |
| GITHUB_TOKEN = "your_personal_access_token_here" | |
| BASE_URL = "https://api.github.com" | |
| HEADERS = { | |
| "Authorization": f"Bearer {GITHUB_TOKEN}", | |
| "Accept": "application/vnd.github+json", |
| // Move "SUN" to first day of week | |
| $('.calendar-week').children().last().prependTo('.calendar-week') | |
| let marginStep = 14.28; | |
| let config = { | |
| childList: true, | |
| subtree: true | |
| } | |
| let callback = (mutationList, observer) => { |
| pm disable-user --user 0 com.caf.fmradio | |
| pm disable-user --user 0 com.coloros.activation | |
| pm disable-user --user 0 com.coloros.activation.overlay.common | |
| pm disable-user --user 0 com.coloros.alarmclock | |
| pm disable-user --user 0 com.coloros.appmanager | |
| pm disable-user --user 0 com.coloros.assistantscreen | |
| pm disable-user --user 0 com.coloros.athena | |
| pm disable-user --user 0 com.coloros.avastofferwall | |
| pm disable-user --user 0 com.coloros.backuprestore | |
| pm disable-user --user 0 com.coloros.backuprestore.remoteservice |
The modern web package ecosssystem is overloaded with packages and it's very easy to forget that each dependency of our project can have tons of other dependencies.
Sometimes you get an error in a file of a dependency that you've never heard of and it's not listed in your package.json. How can we find the direct dependency of our project that has, down its tree, this elusive dependency?
Caching Docker builds in GitHub Actions is an excellent article by @dtinth which analyses various strategies for speeding up builds in GitHub Actions. The upshot of the article is a fairly decisive conclusion that the best two ways to improve build times are:
-
Build images via a standard
docker buildcommand, while using GitHub Packages' Docker registry as a cache = Longer initial build but fastest re-build times. -
Build your images via docker integrated BuildKit (
DOCKER_BUILDKIT=1 docker build), while using a local registry and actions/cache to persist build caches = Fastest initial build but slightly longer re-build times.
Source: https://wiki.archlinux.org/index.php/PostgreSQL
-
Install postgresql package
sudo pacman -S postgresql -
Switch to the postgres user account and initialize the database cluster:
sudo -iu postgresThis gist will no longer be updated as the changelog will be on the official website.
- Sublime Text/Merge Official Discord chat server: https://discord.gg/D43Pecu
- Sublime Text/Merge 中文 Telegram 交流群組: https://t.me/sublime_tw
Converted via https://domchristie.github.io/turndown
| version: "3.4" | |
| networks: | |
| example-com--postgres: ~ | |
| example-com--redis: ~ | |
| services: | |
| # PostgreSQL | |
| postgres: | |
| container_name: example-com--postgres |
| import vapoursynth as vs | |
| core = vs.core | |
| clip = video_in | |
| vfps = int(container_fps*1e8) | |
| dfps = 60000 | |
| #dfps = 0 | |
| def ffps(fps): | |
| rfps = int('%.0f' % fps) | |
| if ( abs(fps - (rfps/1.001)) < abs(fps - (rfps/1.000)) ): |