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
{ lib, fetchFromGitHub, writeScriptBin | |
, haskellPackages, mpg321 }: | |
let | |
repo = fetchFromGitHub { | |
owner = "openlab-aux"; | |
repo = "stackenblocken"; | |
rev = "labpingbot"; | |
sha256 = "1x319sbkk8hl3lad2zapkdv6ihqqsl8f5l0a2n9fvppcm5c7pz0d"; | |
}; |
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: Reventlov <contact@volcanis.me> | |
# fixes: alex | |
pkgname=libressl | |
pkgver=2.1.6 | |
pkgrel=1 | |
pkgdesc="FREE version of the SSL/TLS protocol forked from OpenSSL" | |
url="http://www.libressl.org/" | |
arch=('i686' 'x86_64') | |
license=('custom: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
#! /usr/bin/env python3 | |
# license: WTFPL | |
import sys | |
import os | |
if len(sys.argv)<3: | |
print("usage: inputfile outputdir") | |
sys.exit(0) |
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
# The CPU specific power-management-driver (e.g. powernow-k8) is necessary for cpupower to work. Don't forget to load it! | |
# valid governors: | |
# ondemand, performance, powersave, | |
# conservative, userspace | |
#governor="ondemand" | |
# limit frequency range (optional) | |
# valid suffixes: Hz, kHz (default), MHz, GHz, THz |
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
#!/bin/bash | |
. /etc/rc.conf | |
. /etc/rc.d/functions | |
case "$1" in | |
start|restart) | |
stat_busy "Setting cpupower rules" | |
if /usr/bin/cpupower_init.sh; then |
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
/** Checks internet connection by making a dns request. | |
* The returned result is the error number of | |
* the dns request attempt. | |
* zero = connection available | |
* Licence: do what you want with this code snippet | |
*/ | |
#include <netdb.h> | |
int networkdnstest(char *testdnsname) |
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: max_meyer | |
pkgname=virtualbricks | |
pkgver=0.5 | |
pkgminorver=346 | |
pkgrel=1 | |
pkgdesc="An all in one virtualization solution available for the linux desktop" | |
arch=(any) | |
url="http://virtualbricks.eu/" | |
license=('GPL') | |
depends=('gnome-python-extras' 'python2' 'libglade' 'python-pygraphviz' 'python-imaging') |
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
bool test2(GdkEventAny*) | |
{ | |
cout << "test"; | |
return true; | |
}; | |
… | |
int main() | |
{ | |
… | |
window.signal_delete_event().connect(sigc::ptr_fun(test2)); |