Skip to content

Instantly share code, notes, and snippets.

Avatar

MATSUU Takuto matsuu

View GitHub Profile
View gist:1649
#!/system/bin/sh
#
# VALUES (_id,name,numeric,mcc,mnc,apn,user,server,password,proxy,port,mmsproxy,mmsport,mmsc,current)
#
SQLITE="/system/bin/sqlite3"
DB="/data/data/com.google.android.providers.telephony/databases/telephony.db"
# Telecom New Zealand
View gist:1650
#!/system/bin/sh
#
# VALUES (_id,name,numeric,mcc,mnc,apn,user,server,password,proxy,port,mmsproxy,mmsport,mmsc,current)
#
SQLITE="/system/bin/sqlite3"
DB="/data/data/com.google.android.providers.telephony/databases/telephony.db"
# Telecom New Zealand
View shadowbox-ja.js
/**
* The Japanese language file for Shadowbox.
*
* This file is part of Shadowbox.
*
* Shadowbox is an online media viewer application that supports all of the
* web's most popular media publishing formats. Shadowbox is written entirely
* in JavaScript and CSS and is highly customizable. Using Shadowbox, website
* authors can showcase a wide assortment of media in all major browsers without
* navigating users away from the linking page.
View 0001-added-video.google.co.jp.patch
From 41dbefc074262aa711cc19d49e610eafbf071ffa Mon Sep 17 00:00:00 2001
From: MATSUU Takuto <matsuu@gentoo.org>
Date: Sat, 7 Feb 2009 15:47:26 +0900
Subject: [PATCH] added video.google.co.jp
---
root/plugins/video.google.co.jp/discovery.pl | 45 ++++++++++++++++++++++++++
1 files changed, 45 insertions(+), 0 deletions(-)
create mode 100644 root/plugins/video.google.co.jp/discovery.pl
View EMOBILE setup query for Android
-- sqlite3 data/com.android.providers.telephony/databases/telephony.db
INSERT INTO carriers (name, numeric, mcc, mnc, apn, user, server, password, proxy, port, mmsproxy, mmsport, mmsc, type, current) VALUES('EMnet', '44000', '440', '00', 'emnet.connect', 'emobile', '*', 'emobile', 'wm.internal.emnet.ne.jp', '8080', '10.56.46.1', '8080', 'http://mms.internal.emnet.ne.jp', NULL, 1);
INSERT INTO carriers (name, numeric, mcc, mnc, apn, user, server, password, proxy, port, mmsproxy, mmsport, mmsc, type, current) VALUES('EMOBILE', '44000', '440', '00', 'emb.ne.jp', 'em', '*', 'em', NULL, NULL, NULL, NULL, NULL, NULL, 1);
View setupmodem.sh
#!/bin/sh
modem_log()
{
/bin/echo -e "${@}" >> /smodem/ppp.temp.log
}
/bin/echo "${$}" > /smodem/setupmodem.pid
SLEEPY="1"
You can’t perform that action at this time.