Skip to content

Instantly share code, notes, and snippets.


  • Japan
Block or report user

Report or block dev001hajipro

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
fonix232 / BindingAdapters.kt
Last active Feb 11, 2020
AutoCompleteTextView databinding
View BindingAdapters.kt
fun AutoCompleteTextView.setListener(listener: InverseBindingListener?) {
this.onItemSelectedListener = if (listener != null) {
object : AdapterView.OnItemSelectedListener {
override fun onNothingSelected(parent: AdapterView<*>?) {
override fun onItemSelected(parent: AdapterView<*>?, view: View?, position: Int, id: Long) {
View centerdistortion.pde
// Processing code by Etienne JACOB
// motion blur template by beesandbombs
// opensimplexnoise code in another tab might be necessary
// --> code here :
int[][] result;
float t, c;
float ease(float p) {
View rainbowDonut.pde
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);
hleonps / Makefile
Created Jan 21, 2017
Makefile NASM
View Makefile
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
yomusu / csvblob.go
Created Oct 31, 2014
Go appengine : csv upload(blob) & parse
View csvblob.go
package stuxy
import (
gakuzzzz /
Last active Dec 22, 2019
Scala の省略ルール早覚え

Scala の省略ルール早覚え



def concatAsString(a: Int, b: Int): String = {
  val a_ = a.toString();
  val b_ = b.toString();
You can’t perform that action at this time.