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 python2 | |
from pymouse import PyMouse | |
import time | |
m = PyMouse() | |
x_dim, y_dim = m.screen_size() | |
while True: | |
m.click(x_dim/2, y_dim/2, 1) | |
time.sleep(0.05) |
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: Gicu GORODENCO <cyclopsihus 'at' gmail 'dot' com> | |
# The full build fails because of some 32-bit libraries dependency which is difficult to track | |
# So KISS - Keep It Simple, Stupid - just take the already compiled binaries from repository ;-) | |
pkgname=lib32-avahi | |
pkgver=0.6.32rc | |
pkgrel32=16 | |
pkgrel=16 | |
pkgdesc="A multicast/unicast DNS-SD framework" |
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: XavierCLL <xavier.corredor.llano (a) gmail.com> | |
# Contributor: Mark Weiman <mark dot weiman at markzz dot com> | |
pkgname=pycharm-professional | |
pkgver=5.0.0 | |
_pkgver=5.0 | |
pkgrel=1 | |
pkgdesc="Powerful Python and Django IDE. Professional version." | |
arch=('any') | |
options=('!strip') |
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 | |
INSTALLFILE=win10-uefi-x64_system.qcow2 | |
IMAGEFILE=win10-uefi-x64_system-01.qcow2 | |
#FILESIZE=50G | |
# PCI address of the passtrough devices | |
DEVICE1="01:00.0" | |
DEVICE2="01:00.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 | |
# Copyright (c) 2015, Mark Weiman (markzz) | |
# | |
# Permission to use, copy, modify, and/or distribute this software for any | |
# purpose with or without fee is hereby granted, provided that the above | |
# copyright notice and this permission notice appear in all copies. | |
# | |
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | |
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
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 | |
INSTALLFILE=win10-uefi-x64_system.qcow2 | |
IMAGEFILE=win10-uefi-x64_system-01.qcow2 | |
#FILESIZE=50G | |
# PCI address of the passtrough devices | |
DEVICE1="02:00.0" | |
DEVICE2="02:00.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
#include "handle.h" | |
zend_class_entry *alpm_ce_handle; | |
static int le_handle; | |
#define HANDLE_GETOBJECT() \ | |
zval *this = getThis(); \ | |
handle_object *intern; \ | |
zval *res; \ |
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 "db.h" | |
#include "handle.h" /* alpm_ce_db is in here */ | |
#include "util.h" | |
static zend_object_handlers db_object_handlers; | |
static zend_function_entry db_methods[] = { | |
PHP_ME(Db, __construct, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) | |
PHP_ME(Db, add_server, NULL, ZEND_ACC_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
#include "db.h" | |
#include "handle.h" | |
#include "util.h" | |
static zend_object_handlers db_object_handlers; | |
static zend_function_entry db_methods[] = { | |
PHP_ME(Db, __construct, NULL, ZEND_ACC_PUBLIC|ZEND_ACC_CTOR) | |
PHP_ME(Db, add_server, NULL, ZEND_ACC_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
PHP_METHOD(Handle, get_array_of_something) { | |
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "") == FAILURE) { | |
RETURN_NULL() | |
} | |
handle_object *intern = Z_HANDLEO_P(getThis()); | |
alpm_list_t *list = some_alpm_function(intern->handle); | |
if (list == NULL) { | |
RETURN_NULL() |
OlderNewer