This gist contains lists of modules available in
in AWS Lambda.
<?php | |
interface Info | |
{ | |
public function channelMessage(); | |
} | |
abstract class Live | |
{ | |
const RANGE = 10; | |
protected $point = 0; |
import ( | |
"bytes" | |
"io/ioutil" | |
"golang.org/x/text/encoding/traditionalchinese" | |
"golang.org/x/text/encoding/simplifiedchinese" | |
"golang.org/x/text/transform" | |
) | |
//convert GBK to UTF-8 | |
func Decodegbk(s []byte) ([]byte, error) { | |
I := bytes.NewReader(s) |
// Follow instructions here to create credentials to access google api shortener service: | |
// https://developers.google.com/identity/protocols/application-default-credentials | |
// I set the env variable GOOGLE_APPLICATION_CREDENTIALS with the path of the json credential file. | |
package main | |
import ( | |
"fmt" | |
"golang.org/x/net/context" | |
"golang.org/x/oauth2/google" |
import com.google.common.base.Splitter; | |
import com.google.common.collect.BiMap; | |
import com.google.common.collect.HashBiMap; | |
import com.ihad.ptt.model.bean.AidBean; | |
import org.apache.commons.lang3.StringUtils; | |
import java.util.List; | |
/** | |
* 文章編號與檔案名稱轉換工具<br /> |
This gist contains lists of modules available in
in AWS Lambda.
package main | |
import ( | |
"fmt" | |
"reflect" | |
) | |
type Foo struct { | |
FirstName string `tag_name:"tag 1"` | |
LastName string `tag_name:"tag 2"` |