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
public static Uri convertToRingtoneUri(Context context, String customRingtone) { | |
if (TextUtils.isEmpty(customRingtone) || SILENT_RINGTONE_LABEL.equals(customRingtone)) { | |
return null; | |
} | |
//Query internal media. | |
ContentResolver cr = context.getContentResolver(); | |
Cursor c = cr.query(Media.INTERNAL_CONTENT_URI, | |
new String[]{Media._ID}, | |
Media.DATA + " = ?", |
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/bash | |
#=============================================================================== | |
# | |
# FILE: iso2wbfs | |
# | |
# USAGE: ./iso2wbfs [option] FILE... [wbfs directory] | |
# | |
# DESCRIPTION: Uses wit to convert one or more Wii ISO into a WBFS file | |
# properly named for use on non-WBFS partitions. | |
# |
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
package com.example.android.skeletonapp; | |
/* | |
* @author octobershiner | |
* 2011 07 27 | |
* SE.HIT | |
* 一个演示android加速度感应器的例子 | |
* */ | |
import java.util.Iterator; |
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
foreground: #c5c8c6 | |
background: #1d1f21 | |
cursorColor: #aeafad | |
color0: #000000 | |
color1: #912226 | |
color2: #778900 | |
color3: #ae7b00 | |
color4: #1d2594 | |
color5: #682a9b | |
color6: #2b6651 |
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
11 |
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
<head></head> | |
<body> | |
<div id="container" style="width:500px"> | |
<div id="header" style="width:500px;background-color:#FFA500;float:left;"> | |
<h1>html demo</h1> | |
</div> | |
<div id="menu" style="width:100px;height:300px;background-color:#FFA500;float:left"> | |
Menu</br> | |
HTML</br> |
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
package com.example.android.apis.view; | |
import android.app.ListActivity; | |
import android.os.Bundle; | |
import android.widget.ArrayAdapter; | |
import android.util.*; | |
import android.widget.*; | |
import android.view.*; | |
import android.content.*; | |
import android.app.*; |
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/env python | |
#-*- coding: utf-8 -* | |
# | |
# Copyright 2011 shuotao.me | |
# by [email protected] | |
# 2011-12-19 | |
# | |
# Sputnik Python Object | |
# | |
# ToDoList: |
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
outland Q&A: | |
✓ tc_handlers.py : self.api中的api是什么 | |
✓ outland.py: rpcservice的作用是什么 | |
完成跨语言调用。[link](http://thrift.apache.org/) | |
✓ 有什么好的方法模拟post请求 | |
- 为什么api中没有__init__ | |
python basic: | |
- 关于python的__dict__机制 | |
- 再classmethod中通过cls来设置类变量和直接设置module变量有什么区别? |
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
#龙井 | |
##last week。 | |
* 36kr交涉。 | |
* 公司手续。所有手续办好,下周一新的营业执照会下来。 | |
##this week。 | |
* 上线营销。 | |
* 补交的文件的准备。 | |
* imessage |
OlderNewer