このルールさえ押さえておけば、読んでいるコードが省略記法を使っていてもほぼ読めるようになります。
def concatAsString(a: Int, b: Int): String = {
val a_ = a.toString();
val b_ = b.toString();
int[][] result; | |
float t, c; | |
float ease(float p) { | |
return 3*p*p - 2*p*p*p; | |
} | |
float ease(float p, float g) { | |
if (p < 0.5) | |
return 0.5 * pow(2*p, g); |
AS=nasm #Assembly compiler | |
ASFLAGS=-f elf -g #Assembly flags | |
LD=ld #Linker | |
LDFLAGS=-m elf_i386 #Linker flags | |
SOURCES=$(wildcard ./src/*.c) #Sources | |
OBJECTS=$(SOURCES:.asm=.o) #Object files | |
EXECUTABLE=test #Program name | |
#Check version | |
all: $(SOURCES) $(EXECUTABLE) |
@BindingAdapter("valueAttrChanged") | |
fun AutoCompleteTextView.setListener(listener: InverseBindingListener?) { | |
this.onItemSelectedListener = if (listener != null) { | |
object : AdapterView.OnItemSelectedListener { | |
override fun onNothingSelected(parent: AdapterView<*>?) { | |
listener.onChange() | |
} | |
override fun onItemSelected(parent: AdapterView<*>?, view: View?, position: Int, id: Long) { | |
listener.onChange() |
// Processing code by Etienne JACOB | |
// motion blur template by beesandbombs | |
// opensimplexnoise code in another tab might be necessary | |
// --> code here : https://gist.github.com/Bleuje/fce86ef35b66c4a2b6a469b27163591e | |
int[][] result; | |
float t, c; | |
float ease(float p) { |
package stuxy | |
import ( | |
"html/template" | |
"io" | |
"net/http" | |
"encoding/csv" | |
"strings" |
※ 2017.10.4 現在編集中