ESPN's hidden API endpoints
Football
College Football
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
Latest News: http://site.api.espn.com/apis/site/v2/sports/football/college-football/news
Latest Scores: http://site.api.espn.com/apis/site/v2/sports/football/college-football/scoreboard
-- show running queries (pre 9.2) | |
SELECT procpid, age(clock_timestamp(), query_start), usename, current_query | |
FROM pg_stat_activity | |
WHERE current_query != '<IDLE>' AND current_query NOT ILIKE '%pg_stat_activity%' | |
ORDER BY query_start desc; | |
-- show running queries (9.2) | |
SELECT pid, age(clock_timestamp(), query_start), usename, query | |
FROM pg_stat_activity | |
WHERE query != '<IDLE>' AND query NOT ILIKE '%pg_stat_activity%' |
# This code is in the public domain | |
# Author: Raphaël Barrois | |
from __future__ import print_function | |
import datetime | |
import mock | |
_chill_factor = 0.25; | |
_chill_threshold = 5; // px | |
for (const el of document.querySelectorAll('*')) { | |
for (const _corner of ['TopLeft', 'TopRight', 'BottomRight', 'BottomLeft']) { | |
_prop = 'border' + _corner + 'Radius'; | |
if (window.getComputedStyle(el)[_prop] !== '0px') { | |
_rad = parseInt(window.getComputedStyle(el)[_prop]); | |
if (isNaN(_rad) || _rad <= _chill_threshold) { | |
continue; |
[MASTER] | |
ignore=CVS,.git,.venv,.env,.env3,.tox,dist,doc,*egg,alembic | |
extension-pkg-whitelist=alembic | |
[TYPECHECK] | |
# generated-members=SymbolName | |
[MESSAGES CONTROL] | |
# C0111: Missing module docstring | |
# C0301: Line too long (pycodestyle checks this) |
--- /usr/share/pve-manager/js/pvemanagerlib.js 2021-11-24 11:32:51.000000000 -0600 | |
+++ /usr/share/pve-manager/js/bc-pvemanagerlib.js 2021-11-29 15:44:54.070286236 -0600 | |
@@ -3785,7 +3785,7 @@ | |
if (Ext.isNumeric(info.vmid) && info.vmid > 0) { | |
text = String(info.vmid); | |
if (info.name) { | |
- text += " (" + info.name + ')'; | |
+ text = info.name + ' (' + text + ')'; | |
} | |
} else { // node, pool, storage |
from werkzeug.middleware import proxy_fix | |
app = flask.Flask('thing') | |
app.wsgi_app = proxy_fix.ProxyFix(app.wsgi_app, x_proto=1, x_host=1) |
So systemd-resolved has bugs. Disabling and stopping systemd-resolved to escape these is the logical step, but a dhcp-managed system does gracefully not fall back to resolvconf-managed file even though dhclient still executes the hook for it. As a result, you're then left with a broken resolv.conf that never gets updated by dhclient.
The reason is the systemd-resolved hook in dhclient only checks to see whether it is executable, and not whether it is also enabled. As a result, it still overwrites the default make_resolv_conf
shell function with systemd-resolved logic. Since the resolvconf
hook is executed before the resolved
hook, you either have to rename it to a name that sorts after resolved
, or symlink it thusly; but this doesn't fix the bug.
This diff fixes the resolved
hook to actually check for the enabled state of the service in addition to checking whether it is executable. Not the best sequence of steps -- better to check the binary's executable state first, then check whe
-- | |
-- PostgreSQL database dump | |
-- | |
-- Dumped from database version 10.3 (Ubuntu 10.3-1.pgdg16.04+1) | |
-- Dumped by pg_dump version 10.3 (Ubuntu 10.3-1.pgdg16.04+1) | |
SET statement_timeout = 0; | |
SET lock_timeout = 0; | |
SET idle_in_transaction_session_timeout = 0; |
#!/bin/sh | |
# | |
# Originally part of vpnc source code: | |
# © 2005-2012 Maurice Massar, Jörg Mayer, Antonio Borneo et al. | |
# © 2009-2012 David Woodhouse <dwmw2@infradead.org> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 2 of the License, or | |
# (at your option) any later version. |