Skip to content

Instantly share code, notes, and snippets.

{
"app-id": "com.hostfission.looking-glass",
"branch": "stable",
"runtime": "org.freedesktop.Platform",
"runtime-version": "18.08",
"sdk": "org.freedesktop.Sdk",
"command": "looking-glass-client",
"finish-args": [
"--share=ipc",
"--device=dri",
diff --git a/plugins/gtkui/fileman.c b/plugins/gtkui/fileman.c
index 00d334ee..1b8b7654 100644
--- a/plugins/gtkui/fileman.c
+++ b/plugins/gtkui/fileman.c
@@ -315,28 +315,24 @@ set_file_filter (GtkFileChooser *dlg, const char *name) {
if (!name) {
name = _("Supported sound formats");
}
- static char extlist[10000];
#define _POSIX_C_SOURCE 200112L
#include <errno.h>
#include <assert.h>
#include <stdio.h>
#include <fcntl.h>
#include <limits.h>
#include <stdbool.h>
#include <math.h>
#include <string.h>
#include <sys/mman.h>
// SPDX-License-Identifier: GPL-2.0
// Coding style: Linux kernel
#include <fcntl.h>
#include <unistd.h>
#include <poll.h>
#include <stdlib.h>
#include <ctype.h>
#include <signal.h>
#include <string.h>
{
"name": "libdispatch",
"buildsystem": "cmake",
"subdir": "libdispatch",
"build-options": {
"env": {
"CC": "clang",
"CXX": "clang++"
}
},
{
"app-id": "music.deadbeef.player",
"branch": "master",
"runtime": "org.gnome.Platform",
"runtime-version": "3.38",
"sdk": "org.gnome.Sdk",
"command": "deadbeef",
"finish-args": [
"--share=ipc",
"--socket=x11",
// SPDX-License-Identifier: GPL-2.0
#include <stdio.h>
#include <fcntl.h>
#include <poll.h>
#include <signal.h>
#include <unistd.h>
#include <libudev.h>
#include <libinput.h>
#include <errno.h>
#include <termios.h>
// SPDX-License-Identifier: GPL-2.0
// This is garbage code
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/sysmacros.h>
#include <systemd/sd-bus.h>
static sd_bus * bus;
#!/usr/bin/pwsh
$CLR = "$([char]27)[2K"
$R = ([char]13)
Function LeaveIt {
Write-Host -Nonewline $CLR
Write-Host "Bye!"
exit
}
#!/usr/bin/gjs
imports.gi.versions.Gtk = '3.0';
const GLib = imports.gi.GLib;
const Gtk = imports.gi.Gtk;
const GSound = imports.gi.GSound;
// We start out with 0 cookies
var cookies = 0;