Skip to content

Instantly share code, notes, and snippets.

View phigasui's full-sized avatar
🍛
Curry Curry

phigasui phigasui

🍛
Curry Curry
View GitHub Profile
@phigasui
phigasui / julia_audio_programming.ipynb
Last active July 17, 2020 09:46
Julia でオーディオプログラミング
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@phigasui
phigasui / kaggle_entrance.ipynb
Last active April 17, 2018 13:20
LT資料20180310: kaggleに入門してみた
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
package main
import (
"golang.org/x/tour/wc"
"strings"
)
func WordCount(s string) map[string]int {
words := make(map[string]int)
for _, word := range strings.Fields(s) {
package main
import "golang.org/x/tour/pic"
func Pic(dx, dy int) [][]uint8 {
y := make([][]uint8, dy);
for i := range y {
y[i] = make([]uint8, dx);
for j := range y[i] {
y[i][j] = uint8((i ^ j))
package main
import (
"fmt"
"math"
)
func Sqrt(x float64) (i float64, z float64, loop_count int, err float64) {
z = x
i = x