Skip to content

Instantly share code, notes, and snippets.

Udinic /
Created July 22, 2013 01:35
This script scraps Wikipedia'a page for all American TV shows, and output the titles and the years in 2 separate files, surrounded with <item> tags. Written for the sync adapter sample app introduced in my blog:
#!/usr/bin/env python
Creates 2 files, TV shows titles and year, surrounded with <item> tags.
Usage: python
Udinic /
Last active October 12, 2018 15:34
A contract class to work with's Content Provider. A full guide is available at
* This class provides the URI and const values to work with's Content Provider.
* A guide is available on
public class TasksContract {
public static final Uri TASKS_URI = Uri.parse("content://com.anydo.provider/tasks");
public static final Uri FOLDERS_URI = Uri.parse("content://com.anydo.provider/folders");
public static final String PERMISSION_READ = "com.anydo.provider.permission.READ_ANYDO_TASKS";
Udinic / androidtv-tester
Created January 19, 2021 17:44
Tests a few automations for the Android TV
# Usage:
# ./androidtv-tester <TV IP:5555> <option>
# Example:
# ./androidtv-tester 2
adb_connect() {
adb connect $1