Skip to content

Instantly share code, notes, and snippets.

Avram Lyon avram

Block or report user

Report or block avram

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@avram
avram / gist:1167767
Created Aug 24, 2011
Not duplicates!
View gist:1167767
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:res="http://purl.org/vocab/resourcelist/schema#"
xmlns:z="http://www.zotero.org/namespaces/export#"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:bibo="http://purl.org/ontology/bibo/"
xmlns:address="http://schemas.talis.com/2005/address/schema#"
xmlns:foaf="http://xmlns.com/foaf/0.1/">
<z:UserItem rdf:about="http://zotero.org/users/5770/items/VKQT2UE2">
<res:resource rdf:resource="http://www.tatar-inform.ru/news/tatarstan/2011/02/17/258131/"/>
@avram
avram / csv2zotero.py
Created Jul 16, 2011
Script to batch-add items defined in a CSV file to Zotero
View csv2zotero.py
#!/usr/bin/python
# -*- coding: utf8 -*-
# We'll use the pyzotero project for server access
# See packages.python.org/Pyzotero/
from pyzotero import zotero
import sys
# Python's built-in CSV support is pretty nice
@avram
avram / gist:987031
Created May 23, 2011
nm-applet crashing on natty
View gist:987031
** (nm-applet:28233): WARNING **: _nm_object_get_property: Error getting 'WpaFlags' for /org/freedesktop/NetworkManager/AccessPoint/18: (19) Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist
** (nm-applet:28233): WARNING **: _nm_object_get_property: Error getting 'WpaFlags' for /org/freedesktop/NetworkManager/AccessPoint/18: (19) Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" doesn't exist
** (nm-applet:28233): DEBUG: old state indicates that this was not a disconnect 2
** (nm-applet:28233): DEBUG: foo_client_state_changed_cb
** (nm-applet:28233): DEBUG: going for offline with icon: notification-network-wireless-disconnected
@avram
avram / gist:955561
Created May 4, 2011
марла йылме
View gist:955561
// Mari language layout
// based on Russian standard keyboard
// http://www.marlamuter.ru/
partial alphanumeric_keys
xkb_symbols "chm" {
include "ru(common)"
name[Group1]= "Russia - Mari";
key.type[group1]="FOUR_LEVEL_ALPHABETIC";
@avram
avram / gist:902111
Created Apr 4, 2011
adding a new creator after changing creator types
View gist:902111
[JavaScript Error: "menulist.removeAllItems is not a function" {file: "chrome://scaffold/content/scaffold.js" line: 379}]
[JavaScript Error: "menulist.removeAllItems is not a function" {file: "chrome://scaffold/content/scaffold.js" line: 379}]
[JavaScript Error: "menulist.removeAllItems is not a function" {file: "chrome://scaffold/content/scaffold.js" line: 379}]
[JavaScript Error: "menulist.removeAllItems is not a function" {file: "chrome://scaffold/content/scaffold.js" line: 379}]
[JavaScript Error: "menulist.removeAllItems is not a function" {file: "chrome://scaffold/content/scaffold.js" line: 379}]
@avram
avram / Support docs in standalone
Created Mar 31, 2011
Support docs in Zotero trunk
We couldn’t find that file to show.
View die_zeit_zotero.js
{
"translatorID":"312bbb0e-bfb6-4563-a33c-085445d391ed",
"label":"DIE ZEIT",
"creator":"Martin Meyerhoff",
"target":"^http://www.zeit.de/",
"minVersion":"1.0",
"maxVersion":"",
"priority":100,
"inRepository":"1",
"translatorType":4,
@avram
avram / gist:875626
Created Mar 18, 2011
Post I tried to put on a blog, but couldn't
View gist:875626
Zotero is an open-source project based at the <a href="http://chnm.gmu.edu/">Center for History and New Media</a> at George Mason University in Virginia. The main project funding so far has come from a series of grants to get the project going and work on specific areas. Grants have covered each of the stages in the development of Zotero's groups, syncing, and other major areas of functionality. While I don't know about the project's next funding targets, it is safe to say that the project is not interested in selling subscriptions or advertising, and certainly not in acquisition. With the introduction of paid online storage (beyond 100MB), the team formed the Corporation for Digital Scholarship, a not-for-profit headed by a number of academics who volunteer to run it, to segregate that operation from CHNM and GMU. While Zotero storage, the only form of subscription-based service offered, does cost more than the Amazon storage that backs it, the difference is used to help cover other server and overhead costs
View gist:835837
[JavaScript Error: "elem is null" {file: "chrome://zotero/content/xpcom/zotero.js" line: 1312}]
[JavaScript Error: "uncaught exception: Conflicts have suspended automatic syncing.
Click the sync icon to resolve them."]
[JavaScript Error: "elem is null" {file: "chrome://zotero/content/xpcom/zotero.js" line: 1312}]
[JavaScript Error: "elem is null" {file: "chrome://zotero/content/xpcom/zotero.js" line: 1312}]
View gist:814092
{
"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,
You can’t perform that action at this time.