instant-messaging plugin
Jabber Plugin plugin
- Enable Jabber Notification
- Jabber ID:
<[email protected]>
- Password:
<your password>
- Advanced
- Server:
talk.google.com
from datetime import datetime | |
import os | |
import types | |
import functools | |
import my_utils | |
class PyStrapper: | |
name = "" |
import lightpack | |
import time | |
import random | |
import pyaudio # from http://people.csail.mit.edu/hubert/pyaudio/ | |
import audioop | |
import sys | |
import math | |
def list_devices(): |
#!/usr/bin/python | |
import re | |
import argparse | |
def main(): | |
parser = argparse.ArgumentParser(description='Compare two php.ini files') | |
parser.add_argument('file1', metavar='first_php_ini', type=str, help='First file to compare') | |
parser.add_argument('file2', metavar='second_php_ini', type=str, help='Second file to compare') |
# Returns the currently set email. | |
current_email | |
# Returns a collection of all current emails retrieved. | |
current_emails | |
# Access all emails. | |
all_emails | |
# Clear the email queue. |
#!/usr/bin/python | |
import sys | |
import hashlib | |
import os | |
import fnmatch | |
import json | |
import time | |
import datetime | |
import my_utils | |
import urllib |
/** | |
* getApplication().registerActivityLifecycleCallbacks(new LifeCycleDebugger()); | |
*/ | |
public class LifeCycleDebugger implements Application.ActivityLifecycleCallbacks { | |
@Override | |
public void onActivityStopped(Activity activity) { | |
Log.i(activity.getLocalClassName(), "onActivityStopped"); | |
} | |
@Override |
wget http://dl.google.com/android/android-sdk_r24.0.2-linux.tgz | |
tar -xf android-sdk_r24.0.2-linux.tgz | |
rm android-sdk_r24.0.2-linux.tgz | |
cd android-sdk-linux | |
( sleep 5 && while [ 1 ]; do sleep 1; echo y; done ) | android update sdk --no-ui --filter platform-tool,extra-android-support,android-21,sysimg-21,build-tools-21.1.2 | |
android update sdk --no-ui |
wget http://dl.google.com/android/android-sdk_r24.0.2-linux.tgz | |
tar -xf android-sdk_r24.0.2-linux.tgz | |
rm android-sdk_r24.0.2-linux.tgz | |
cd android-sdk-linux | |
( sleep 5 && while [ 1 ]; do sleep 1; echo y; done ) | android update sdk --no-ui --filter platform-tool,extra-android-support,android-21,build-tools-21.1.2 | |
android update sdk --no-ui |
instant-messaging plugin
Jabber Plugin plugin
<[email protected]>
<your password>
talk.google.com
# | |
# How to get rid of the locale warning on raspberry pi | |
# | |
sudo sed -i "s/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/g" -i /etc/locale.gen | |
sudo locale-gen en_US.UTF-8 | |
sudo update-locale en_US.UTF-8 | |
export LANGUAGE=en_US.UTF-8 | |
export LANG=en_US.UTF-8 | |
export LC_ALL=en_US.UTF-8 |