Skip to content

Instantly share code, notes, and snippets.

@jlai
jlai / notes.md
Last active October 12, 2015 07:08
Threaded email setup notes

Running the threaded email app on 3.0.5

Risks

  • Do not install this app if you have a large number of emails (several accounts set to sync "all" mail) or have had problems with "database full" errors in the past. The threaded email app uses more db space than the stock one and may aggravate db space problems.
  • Do not install unless you are prepared to doctor your device if something goes terribly wrong.

Package system notes

There are two com.palm.app.email packages installed on the Touchpad:

@jlai
jlai / webos-ss-client.js
Last active July 13, 2020 11:24
Example nodejs code for connecting to a webOS Smart TV
/*
* Copyright (c) 2014 LG Electronics.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@jlai
jlai / designer.html
Created February 3, 2015 21:50
designer
<link rel="import" href="../paper-tabs/paper-tabs.html">
<link rel="import" href="../paper-tabs/paper-tab.html">
<link rel="import" href="../paper-button/paper-button.html">
<polymer-element name="my-element">
<template>
<style>
:host {
position: absolute;
@jlai
jlai / mongo-shell-command.py
Created December 15, 2015 01:29
Create mongo shell command from mongo connection uri
#!/usr/bin/env python
import sys
import urlparse
if len(sys.argv) < 2:
print("usage: " + sys.argv[0] + " <uri>")
sys.exit(1)
uri = sys.argv[1]