原创 七牛雲存儲SDK擴展

前些天在使用七牛雲存儲進行數據上傳的過程中,發現七牛提供的SDK僅支持以File的形式進行上傳,不支持以InputStream的形式進行上傳,特對其進行了相應的擴展,具體擴展如下:import java.io.InputStream; im

原创 AlertDialog

new AlertDialog.Builder(MainActivity.this)         .setTitle("Difficulty")         .setItems(                 new String

原创 Jetty部署描述文件

In a default Jetty installation, Jetty scans its $JETTY_HOME/webapps directory for context deployment descriptor files.

原创 我的友情鏈接

github

原创 Hello World

package main import (     "fmt" ) func main() {         fmt.Println("hello world") }

原创 CentOS下Docker安裝

一、禁用selinux由於selinux和LXC有衝突,所以需要禁用selinux。編輯/etc/selinux/config,設置兩個關鍵變量。    SELINUX=disabled SELINUXTYPE=targeted二、配置Fe

原创 AlertDialog

new AlertDialog.Builder(MainActivity.this)         .setTitle("Difficulty")         .setItems(                 new String

原创 我的友情鏈接

github

原创 Visual.Basic語法基礎之三

1、If語句: If 表達式 Then    語句 ElseIf 表達式 Then    語句 Else    語句 End If2、Select語句: Select Case 表達式 Case 常量    語句 ... Case Else

原创 Transparent Activity

在AndroidManifest.xml中相應的activity標籤處添加如下內容即可得到透明Activity: android:theme="@android:style/Theme.Translucent" 示例如下: <?xml v

原创 Visual.Basic語法基礎之二

1、顯示聲明: Option Explicit2、常量: Const 常量名 As 數據類型 = 值3、變量: Dim|Private|Public 變量名 As 數據類型Dim 變量名 As String*n4、數組:----------

原创 Visual.Basic語法基礎之一

1、標識符: 由字母、數字、下劃線組成,長度<=255;2、註釋: '註釋內容3、長語句分行符: _4、字符串連接符: &5、回車換行符: vbCrLf6、製表符: vbTab7、數據類型:VariantByte、Integer、Long、

原创 Hello World

package main import (     "fmt" ) func main() {         fmt.Println("hello world") }

原创 Visual.Basic語法基礎之四

1、過程Public|Private Sub 過程名(形參, ...)    ...End Sub注:Exit Sub強制退出過程2、函數Public|Private Function 函數名(形參, ...) As 返回數據類型    .

原创 shell command:echo

1、echo:輸出空行;2、echo -e:enable interpretation of backslash escapes;3、echo -n:do not output the trailing newline;4、echo -e