Skip to content

Instantly share code, notes, and snippets.

View yomli's full-sized avatar
💭
I moved to Codeberg, I may be slow to respond.

yomli yomli

💭
I moved to Codeberg, I may be slow to respond.
View GitHub Profile

openpgp4fpr:33102e995b302b94be01391eb483a55d3af111c4

Keybase proof

I hereby claim:

  • I am yomli on github.
  • I am yomli (https://keybase.io/yomli) on keybase.
  • I have a public key whose fingerprint is 3310 2E99 5B30 2B94 BE01 391E B483 A55D 3AF1 11C4

To claim this, I am signing this object:

@yomli
yomli / Invidio.us bookmarklet
Last active August 5, 2019 14:20
Redirects a youtube page to an invidio.us one. Copy and paste this into the url field of a browser bookmark.
javascript:(window.location.href.includes("www.youtube"))?location.href=window.location.href.replace("www.youtube.com","www.invidio.us"):console.log('not a youtube page')
@yomli
yomli / install-wallabag.md
Last active June 22, 2021 14:41
Install Wallabag on a shared web hosting in a subfolder with SQLite

Update April 2021: See this comment for a smoother install of Wallabag 2.4.x. I'll leave this gist up for legacy.


Please note that this trick works with the latest release of Wallabag (2.3.7). There is no guarantee that it'll continue to work. Eventually, Wallabag will drop support of SQLite so this setup isn't future-proof.

Install Wallabag 2.2.3

This is the last version with SQLite support that works in a subfolder (like mydomain.tld/wallabag, although deploying Wallabag in a subfolder isn't officially supported). It will allow you to create an user and start the configuration. Get it here: https://static.wallabag.org/releases/, then tar xvf wallabag-release-2.2.3.tar.gz. If this release doesn't work, use the 2.2.2 one. Normally, you will have a file app/config/parameters.yml like that: