Skip to content

Instantly share code, notes, and snippets.

<?php
require __DIR__.'/vendor/autoload.php';
use \DTS\eBaySDK\Constants;
use \DTS\eBaySDK\Trading\Services;
use \DTS\eBaySDK\Trading\Types;
$sites = array(
array('id' => Constants\SiteIds::US, 'name' => 'United States'),
array('id' => Constants\SiteIds::ENCA, 'name' => 'Canada (English)'),
import ebaysdk
from ebaysdk import finding
api = finding(siteid='EBAY-GB', appid='<REPLACE WITH YOUR OWN APPID>')
api.execute('findItemsAdvanced', {
'keywords': 'laptop',
'categoryId' : ['177', '111422'],
'itemFilter': [
{'name': 'Condition', 'value': 'Used'},
@trentster
trentster / Makefile
Last active August 29, 2015 14:16 — forked from Licenser/Makefile
VERSION=0.6.2
COMPONENT=fifo-jingles
FILE=$(COMPONENT)-$(VERSION)$(SUFFIX)
BLOCK_SIZE=65536
.PHONY: build_info package package_list
package_list:
echo "@pkgdep nginx>=1.3.13" > packlist
(cd ../../; find LICENSE* -type f | sort) >> packlist

Add the following chunk to your existing ISC dhcpd.conf file.

if exists user-class and ( option user-class = "iPXE" ) {
    filename "http://boot.smidsrod.lan/bootstrap.ipxe";
}
else {
    filename "undionly.kpxe";
}

(or see https://gist.github.com/4008017 for a more elaborate setup