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
#pragma once | |
#include <GLFW/glfw3.h> | |
#include <raylib.h> | |
#include <mpv/client.h> | |
#include <mpv/render_gl.h> | |
#include <string> | |
#include <atomic> | |
#include <cstring> | |
#include "utils.h" |
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
# Maintainer: Philip Whitfield <public@underdoeg.com> | |
pkgname=(libgda6) | |
pkgver=6.0.0 | |
pkgrel=1 | |
pkgdesc="Database access library" | |
url="https://www.gnome-db.org/" | |
arch=(x86_64) | |
license=(GPL) | |
depends=(gtksourceview3 libxslt python libsecret graphviz goocanvas iso-codes libgee openssl) |
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
tool | |
extends Control | |
var color_internal:Color = Color.red | |
export var color:Color = color_internal setget _set_color, _get_color | |
var res_internal:int = 50 | |
export var resolution:int = res_internal setget _set_resolution, _get_resolution |
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
# Contributor: TDY <tdy@gmx.com> | |
pkgname=fpm2 | |
pkgver=0.90dev2 | |
pkgrel=1 | |
pkgdesc="Figaro's Password Manager 2" | |
arch=('i686' 'x86_64') | |
url="http://als.regnet.cz/fpm2/" | |
license=('GPL') | |
depends=('gtk2') |
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
# Maintainer: Ivan Fonseca <ivanfon@riseup.net> | |
# Modified by: Philip Whitfield <public@underdoeg.com> | |
pkgname=godot-beta-bin | |
pkgver=3.2_rc3 | |
pkgrel=1 | |
pkgdesc="The latest official beta release of the Godot game engine" | |
url="https://godotengine.org" | |
license=("MIT") | |
arch=("i686" "x86_64") |
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
from __future__ import print_function | |
import hid | |
import time | |
import uinput | |
buttons = [ | |
uinput.BTN_START, | |
uinput.BTN_SELECT, | |
uinput.BTN_NORTH, |
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
#include <security/pam_appl.h> | |
#include <security/pam_misc.h> | |
#include <string> | |
int pam_conversation(int num_msg, const struct pam_message **msg, struct pam_response **resp, void *appdata_ptr) { | |
auto pass = static_cast<std::string *>(appdata_ptr); | |
auto reply = (struct pam_response *) malloc(sizeof(struct pam_response)); | |
reply->resp = strdup(pass->c_str()); | |
reply->resp_retcode = 0; | |
*resp = reply; |
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
<template> | |
<div class="editable" contenteditable="true" :placeholder="placeholder" @input="update" @focusin="onFocus" @focusout="checkEmpty"></div> | |
</template> | |
<script> | |
export default { | |
name: "InlineEdit", | |
props: { | |
data: String, | |
placeholder: { |
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
#include <tuple> | |
#include <iostream> | |
template<typename ...T, size_t... I> | |
auto makeReferencesHelper(std::tuple<T...>& t , std::index_sequence<I...>) | |
{ return std::tie(*std::get<I>(t)...) ;} | |
template<typename ...T> | |
auto makeReferences( std::tuple<T...>& t ){ |
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
#include <iostream> | |
#include <brigand/brigand.hpp> | |
template<typename Members> | |
class TaggedTuple{ | |
template<typename TagType> | |
struct createMember{ | |
using type = typename TagType::type; | |
}; |
NewerOlder