Skip to content

Instantly share code, notes, and snippets.

@avram
avram / andevcon-gradle.html
Last active Aug 29, 2015
Gradle Automation - AnDevCon
View andevcon-gradle.html
<!DOCTYPE html>
<html>
<head>
<title>Title</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<style type="text/css">
@import url(http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz);
@import url(http://fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic);
@import url(http://fonts.googleapis.com/css?family=Ubuntu+Mono:400,700,400italic);
body {
@avram
avram / reviews.coffee
Last active Aug 29, 2015
reviews.coffee
View reviews.coffee
"dependencies": {
"cheerio": "0.18.0",
"request": "2.50.0"
}
View Institute of Physics.js
{
"translatorID":"9346ddef-126b-47ec-afef-8809ed1972ab",
"label":"Institute of Physics",
"creator":"Michael Berkowitz",
"target":"^http://iopscience.iop.org/[0-9\\-]+/.+",
"minVersion":"1.0.0b4.r5",
"maxVersion":"",
"priority":99,
"inRepository":"1",
"translatorType":4,
View New Zealand Herald
{"translatorID":"207f4aad-b604-43ef-a7f5-3e6229aade9f",
"label":"New Zealand Herald",
"creator":"Sopheak Hean (University of Waikato, Faculty of Education)",
"target":"www.nzherald.co.nz",
"minVersion":"1.0",
"maxVersion":"",
"priority":100,
"inRepository":"1",
"translatorType":4,
"lastUpdated":"2010-07-30 09:26:09"}
View New Zealand Herald.js
{"translatorID":"207f4aad-b604-43ef-a7f5-3e6229aade9f",
"label":"New Zealand Herald",
"creator":"Sopheak Hean (University of Waikato, Faculty of Education)",
"target":"www.nzherald.co.nz",
"minVersion":"1.0",
"maxVersion":"",
"priority":100,
"inRepository":"1",
"translatorType":4,
"lastUpdated":"2010-07-30 09:26:09"}
View The Economist.js
{
"translatorID":"6ec8008d-b206-4a4c-8d0a-8ef33807703b",
"label":"The Economist",
"creator":"Michael Berkowitz",
"target":"^http://(www.)?economist.com/",
"minVersion":"1.0.0b4.r5",
"maxVersion":"",
"priority":100,
"inRepository":"1",
"translatorType":4,
@avram
avram / overlay.xul
Created Dec 8, 2010
Zotfile key files changed for photo workflow
View overlay.xul
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://zotfile/skin/overlay.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://zotfile/locale/zotfile.dtd">
<overlay id="zotfile-overlay"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<stringbundleset id="stringbundleset">
<stringbundle id="zotfile-strings"
src="chrome://zotfile/locale/zotfile.properties"/>
@avram
avram / gist:758294
Created Dec 29, 2010
australian harvard
View gist:758294
<group delimiter=" ">
<text macro="author-short"/>
<group delimiter=":">
<text macro="year-date"/>
<text variable="locator"/>
</group>
</group>
@avram
avram / gist:781665
Created Jan 16, 2011
Error when installing zotero-multi-2.xpi over Zotero 2.1b4
View gist:781665
[JavaScript Error: "uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [mozIStorageConnection.createStatement]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://zotero/content/xpcom/db.js :: anonymous :: line 292" data: no] [QUERY: SELECT I.*, COALESCE(CASE (SELECT COUNT(*) FROM itemCreators IC LEFT JOIN itemTypeCreatorTypes ITCT ON (IC.creatorTypeID=ITCT.creatorTypeID AND ITCT.itemTypeID=I.itemTypeID) WHERE itemID=I.itemID AND primaryField=1) WHEN 0 THEN NULL WHEN 1 THEN (SELECT lastName FROM itemCreators IC NATURAL JOIN creators NATURAL JOIN creatorData LEFT JOIN itemTypeCreatorTypes ITCT ON (IC.creatorTypeID=ITCT.creatorTypeID AND ITCT.itemTypeID=I.itemTypeID) WHERE itemID=I.itemID AND primaryField=1) WHEN 2 THEN (SELECT (SELECT lastName FROM itemCreators IC NATURAL JOIN creators NATURAL JOIN creatorData LEFT JOIN itemTypeCreatorTypes ITCT ON (IC.creatorTypeID=ITCT.creatorTypeID AND ITCT.itemTypeID=I.itemTypeID) WHERE itemID=I.itemI
@avram
avram / gist:782055
Created Jan 16, 2011
Debug from multilingual-- broken collection
View gist:782055
(4)(+0088212): Unregistering observer in notifier with hash 'pE'
(4)(+0000004): Registering observer for [item,collection-item,share-items,bucket] in notifier with hash XA'
(3)(+0000140): Refreshing items list
(5)(+0000001): SELECT tag FROM zlsPreferences WHERE profile=? AND param=?
(5)(+0000000): Binding parameter 1 of type string: "default"
You can’t perform that action at this time.