Skip to content

Instantly share code, notes, and snippets.

dev001hajipro

  • 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
View centerdistortion.pde
// 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) {
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
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
all: $(SOURCES) $(EXECUTABLE)
@yomusu
yomusu / csvblob.go
Created Oct 31, 2014
Go appengine : csv upload(blob) & parse
View csvblob.go
package stuxy
import (
"html/template"
"io"
"net/http"
"encoding/csv"
"strings"
@gakuzzzz
gakuzzzz / 1_.md
Last active Dec 2, 2019
Scala の省略ルール早覚え
View 1_.md

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.