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/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 |
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
<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/"/> |
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
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): java.lang.RuntimeException: java.lang.IllegalStateException: attempt to re-open an already-closed object: android.database.sqlite.SQLiteDatabase (database = /data/data/com.gimranov.zandy.client/databases/Zotero) | |
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at com.gimranov.zandy.client.XMLResponseParser.parse(XMLResponseParser.java:262) | |
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at com.gimranov.zandy.client.task.ZoteroAPITask.issue(ZoteroAPITask.java:377) | |
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at com.gimranov.zandy.client.task.ZoteroAPITask.doFetch(ZoteroAPITask.java:121) | |
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at com.gimranov.zandy.client.task.ZoteroAPITask.doInBackground(ZoteroAPITask.java:98) | |
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at com.gimranov.zandy.client.task.ZoteroAPITask.doInBackground(ZoteroAPITask.java:1) | |
E/com.gimranov.zandy.client.task.ZoteroAPITask(16691): at android |
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
{ | |
"translatorID": "32d59d2d-b65a-4da4-b0a3-bdd3cfb979e7", | |
"label": "RIS", | |
"creator": "Simon Kornblith", | |
"target": "ris", | |
"minVersion": "2.1.3", | |
"maxVersion": "", | |
"priority": 100, | |
"displayOptions": { | |
"exportCharset": "UTF-8", |
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/sh | |
git filter-branch --env-filter ' | |
an="$GIT_AUTHOR_NAME" | |
am="$GIT_AUTHOR_EMAIL" | |
cn="$GIT_COMMITTER_NAME" | |
cm="$GIT_COMMITTER_EMAIL" | |
if [ "$GIT_COMMITTER_EMAIL" = "your@email.to.match" ] |
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/sh | |
git filter-branch --env-filter ' | |
an="$GIT_AUTHOR_NAME" | |
am="$GIT_AUTHOR_EMAIL" | |
cn="$GIT_COMMITTER_NAME" | |
cm="$GIT_COMMITTER_EMAIL" | |
if [ "$GIT_COMMITTER_EMAIL" = "your@email.to.match" ] |
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
{ | |
"id" : "user/08031520133324451689/state/com.google/starred", | |
"title" : "Avram's starred items in Google Reader", | |
"author" : "Avram", | |
"updated" : 1274539669, | |
"direction" : "ltr", | |
"items" : [ { | |
"isReadStateLocked" : true, | |
"crawlTimeMsec" : "1274539669172", | |
"timestampUsec" : "1274539669172997", |
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
buildscript { | |
repositories { | |
mavenLocal() | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:0.6+' | |
} | |
} |
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
class MyActivity extends Activity { | |
private Thread myWorker = new Thread() { | |
public void run() { | |
URL url = new URL("http://reddit.com/story"); | |
url.openConnection(); | |
String body = url.getBody(); | |
myView.post(new Runnable() { public void run() {myView.setText(body)} }); | |
} | |
} | |
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
<!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 { |