I hereby claim:
- I am epy0n0ff on github.
- I am epy0n0ff (https://keybase.io/epy0n0ff) on keybase.
- I have a public key ASDqFlfwKlOFslodKgFRcpifCQKv_mZkbw4kPg_lJvQiOQo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| apply plugin: 'java' | |
| apply plugin: 'net.ltgt.apt-idea' | |
| buildscript { | |
| repositories { | |
| maven { | |
| url "https://plugins.gradle.org/m2/" | |
| } |
package main
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestEmpty(t *testing.T) {
func(_ *hoge) A()と省略しているコードがあったので気になった。
package main
import "fmt"
type Func struct {
value int
}
GET /x/tools?go-get=1 HTTP/1.1
Host: golang.org
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.80 Safari/537.36
Accept-Encoding: gzip, deflate, sdch
Accept-Language: ja,en-US;q=0.8,en;q=0.6
| /** | |
| * Copyright: 2015 epy0n0ff | |
| * License: Apache V2 http://www.apache.org/licenses/LICENSE-2.0 | |
| **/ | |
| package com.epy0n0ff.widget; | |
| import android.content.Context; | |
| import android.graphics.Matrix; | |
| import android.util.AttributeSet; | |
| import android.widget.ImageView; |
| Intent intent = new Intent( getApplicationContext(), AboutDialogActivity.class ); | |
| PendingIntent pendingIntent = PendingIntent.getActivity( getApplicationContext(), 0, intent, PendingIntent.FLAG_UPDATE_CURRENT ); | |
| NotificationCompat.Action action = new NotificationCompat.Action( android.R.drawable.ic_menu_info_details, "Info", pendingIntent ); | |
| NotificationCompat.Builder builder = new NotificationCompat.Builder( getApplicationContext() ); | |
| builder.setSmallIcon( android.R.drawable.ic_menu_myplaces ) | |
| .setLargeIcon( mLargeIcon ) | |
| .setContentTitle( getString( R.string.content_title ) ) | |
| .setContentText( getString( R.string.content_text ) ) | |
| .addAction( action ); |