Skip to content

Instantly share code, notes, and snippets.

<?xml version="1.0"?>
<record schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd">
<leader>00000nam a22001091 4500</leader>
<controlfield tag="001">000295327</controlfield>
<controlfield tag="005">20100513160432.0</controlfield>
<controlfield tag="008">091019s1991 xxk r 000 0 eng d</controlfield>
<controlfield tag="001">9919228640001361</controlfield>
<datafield tag="035" ind1=" " ind2=" ">
<subfield code="a">(SWIN)000295327SUT01</subfield>
</datafield>
[
"loadId"
]=>int(290)[
"ownerId"
]=>int(100080)[
"reference"
]=>string(9)"TEST LOAD"[
"from"
]=>array(5){
[
@justinkelly
justinkelly / kaltura_filter.php
Last active December 16, 2015 22:20
Kaltura PHP API v 3 filter by startDate issue
<?php
//....
//sample code
$cat_id = '8317721';
$page_id=1;
$pageSize=15;
$pager = new \Kaltura\Client\Type\FilterPager();
@justinkelly
justinkelly / kaltura_api_sample.php
Created May 2, 2013 23:55
Sample code genreated from Kaltura API test console
<?php
require_once('lib/KalturaClient.php');
$config = new KalturaConfiguration($partnerId);
$config->serviceUrl = 'http://www.kaltura.com/';
$client = new KalturaClient($config);
$filter = new KalturaMediaEntryFilter();
$filter->orderBy = 'startDate';
$filter->categoriesIdsMatchOr = 8317721;
$pager = null;
$result = $client->media->listAction($filter, $pager);
@justinkelly
justinkelly / gist:5069842
Created March 2, 2013 05:37
Simple Invoices - use local mail
--- include/class/email.php.orig 2013-02-12 15:11:08.000000000 +1100
+++ include/class/email.php 2013-01-23 16:34:36.000000000 +1100
@@ -31,7 +31,7 @@
'port' => $config->email->smtpport
);
}
- $transport = new Zend_Mail_Transport_Smtp($config->email->host, $authentication);
+ // $transport = new Zend_Mail_Transport_Smtp($config->email->host, $authentication);
// Create e-mail message
#inner-container > .header, #inner-container > .header .header-button {
background: #636466 !important;
}
h6.charle
{
background: none !important;
}
@justinkelly
justinkelly / etcddclient.conf
Created October 1, 2012 19:41
/etc/ddclient.conf
# Configuration file for ddclient generated by debconf
#
# /etc/ddclient.conf
use=web, web=myip.dnsomatic.com
server=updates.dnsomatic.com, \
protocol=dyndns2, \
ssl=yes \
login=YOUR_USERNAMEustin, \
password=YOURPASSWORD \
@justinkelly
justinkelly / insync.log
Created August 30, 2012 23:22
insync log
justin@:~$ insync
/usr/lib/insync
C functions loaded: 0
C functions failed: 0
/usr/lib/insync
C functions loaded: 3645
C functions failed: 589
('Applet', <linux.indicator_applet.Applet object at 0x940edcc>)
<module 'isyncd' from '/usr/lib/insync/library.zip/isyncd/__init__.pyc'>
<module 'isyncd.clientdb' from '/usr/lib/insync/library.zip/isyncd/clientdb.pyc'>
@justinkelly
justinkelly / source-_layouts-default.html
Created August 16, 2012 02:08
Defautl layout file for Octopress theme
<header role="banner">{% include header.html %}</header>
@justinkelly
justinkelly / easy_reader.css
Created August 14, 2012 02:29
Confluence - Easy Reader - Full width
/* reduce font size to same as normal theme */
body, p, td, table, th, .bodytext, .stepfield, .wiki-content, .wiki-content p, .wiki-content table, .wiki-content tr, .wiki-content td, .wiki-content th, .wiki-content ol, .wiki-content ul, .wiki-content li, h4.author {
font-size: 13px;
}
/* make full width */
#full-height-container {
width: 100% !important;
}