This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Synchronise block devices over the network | |
Copyright 2006-2008 Justin Azoff <[email protected]> | |
Copyright 2011 Robert Coup <[email protected]> | |
Copyright 2012 Holger Ernst <[email protected]> | |
Copyright 2014 Robert McQueen <[email protected]> | |
License: GPL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# collectd python plugin for evohome | |
# Copyright 2015 Robert McQueen <[email protected]> | |
# GNU General Public License v2 or later, no warranty etc | |
# | |
# uses https://github.com/watchforstock/evohome-client to read temperatures and setpoints | |
# could be more smart in terms of keeping credentials and refreshing them when they time out rather than logging in every time | |
# supports multiple evohome devices | |
# ignores hot water | |
# patches welcome :) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: gstreamer-1.6.1/common/m4/gst-plugindir.m4 | |
=================================================================== | |
--- gstreamer-1.6.1.orig/common/m4/gst-plugindir.m4 | |
+++ gstreamer-1.6.1/common/m4/gst-plugindir.m4 | |
@@ -15,3 +15,20 @@ AC_DEFUN([AG_GST_SET_PLUGINDIR], | |
plugindir="\$(libdir)/gstreamer-$GST_API_VERSION" | |
AC_SUBST(plugindir) | |
]) | |
+ | |
+dnl AC_DEFINE EXTRA_PLUGINDIR to the full location where additional plug-ins |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static gboolean | |
check_for_live_boot () | |
{ | |
GError *error = NULL; | |
gchar *cmdline = NULL; | |
gboolean live_boot = FALSE; | |
if (g_file_get_contents ("/proc/cmdline", &cmdline, NULL, &error)) | |
{ | |
g_printerr ("unable to read /proc/cmdline: %s\n", error->message); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python2 | |
# Script inspired from https://gist.github.com/obscurerichard/3740206 | |
import os | |
import sys | |
import subprocess | |
import argparse | |
import textwrap |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import argparse | |
import glob | |
import ipaddress | |
import json | |
import os | |
import requests | |
PACKET_BOND_OPTIONS = 'miimon=100 downdelay=200 updelay=200 xmit_hash_policy=1 lacp_rate=1' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# This script parses all the local appstream data | |
# to check for apps that are missing important metadata | |
# that is required for proper display in gnome-software. | |
# | |
# It is recommended to run `flatpak update --apstream` | |
# prior to this script. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
location ~ ^/repo/summary(\.sig)?$ { | |
root /srv/repo; | |
expires 1h; | |
add_header Cache-Control "public"; | |
add_header Surrogate-Control "stale-if-error=86400"; | |
} | |
location /repo/refs { | |
root /srv/repo; | |
expires 1m; | |
add_header Cache-Control "public"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"app-id": "edu.mit.scratch.ScratchDesktop", | |
"runtime": "org.freedesktop.Platform", | |
"runtime-version": "18.08", | |
"base": "org.electronjs.Electron2.BaseApp", | |
"base-version": "18.08", | |
"sdk": "org.freedesktop.Sdk", | |
"command": "scratch-desktop", | |
"separate-locales": false, | |
"finish-args": [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"defaultAction": "SCMP_ACT_ERRNO", | |
"archMap": [ | |
{ | |
"architecture": "SCMP_ARCH_X86_64", | |
"subArchitectures": [ | |
"SCMP_ARCH_X86", | |
"SCMP_ARCH_X32" | |
] | |
}, |
OlderNewer