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
import RPi.GPIO as GPIO | |
import time | |
def createBoolList(size=8): | |
ret = [] | |
for i in range(8): | |
ret.append(False) | |
return ret |
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
#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
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
/*============================================================================== | |
Copyright (c) 2011, 2012 Christopher Baker <http://christopherbaker.net> | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: |
NewerOlder