Skip to content

Instantly share code, notes, and snippets.

View data-uri-scheme-base64-data-sample.txt
iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAAAYFBMVEX///9MTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEzMzMzExMS8vLy0tLSsrKykpKSZmZmUlJSMjIyEhIR8fHxzc3NsbGxmZmZaWlpSUlJMTEx4bgs0AAAAD3RSTlMAESIzRFVmd4iZqrvM3e5GKvWZAAAJFUlEQVR42u1da5eiMAxdHUdAFFEs78L//5frOCoF2iYtYS17yKfZnTltL21eN6H8+bPKKqusssoqq6yyyir/iWx2O98PwvDYPiQKQ3+/XRiEb//wXP5QouB7MSj2YauVk7cIGH7UgnL6ch7H7tSiZO84jn2LFbeRBC1edg7j8A1wtKfNf3CuHuK7iuMrMgMSuQpE5gGrPM/ZU/K8rPgC9F2qICUbSFZ3vwzcPFjS48PZSMr3L0MngYhhSdH9OAaSdr903WIVcfdzPkbiNJCNYLHq87lThGqEI3MaiKjp1/M51yhJpyMntzckO5/PN+GfAxx547KyCxvCzz8iKExP0fNK2DrP6Q25PYB056d5+kDOeTOwzV8ub0j1wHFOESFK6PSGJL9ALouM4wUfUpyfwhe4IX+E7PbyApKDsa97xNC3ZENgJXEwQQxHGnIWfbt8PxykUbYjk3UXpsdxcDHN9Yc+BNL1KHCTd4gGTn20Iac3+9sew8BzlT0RbG/6BiIEIqG7ZIlK1Zv4hUNwh9FScHzJbG/mcmAIq/pVpupL2RBB1es3jqvrRIle1ZnMqy+mqHOQqLrg1aOl4NjKVP2yAHoXpeqpyzkgGMB3Xl04Wael4NjJvPplgU5EKFDFspO1lKL6RmDdzxJvGC5lQ/ayAP5KXP/Y7n7l29eJt7OQ94E5ylQ9nxqe3Bs/9velhWF4av+5VLfkJY1teLK5rz/4xOJBMQhPtt4hal0VfHiyDVqXBR2e+K3bggxPNqHjOLDhies4sCfL9XOFDU+2zuM4GkdrsLOq
@drtaka
drtaka / data-url-scheme-sample.html
Last active Sep 14, 2019
Data URI Scheme Sample HTML
View data-url-scheme-sample.html
<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>Data Url Scheme Sample</title>
</head>
<body>
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAMAAACahl6sAAADAFBMVEX///9MTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTExMTEzMzMzExMS8vLy0tLSsrKykpKSZmZmUlJSMjIyEhIR8fHxzc3NsbGxmZmZaWlpSUlJMTEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
View Brewfile
tap "homebrew/bundle"
tap "homebrew/cask"
tap "homebrew/cask-fonts"
tap "homebrew/core"
tap "railwaycat/emacsmacport"
tap "homebrew/cask-versions"
# cask "java"
# cask "java8"
brew "jenv"
View 01-07-http-context-timeout.go
package main
import (
"fmt"
"net/http"
"os"
"io"
"context"
"time"
)
View 01-11-chan-http-sample.go
package main
import (
"net/http"
"fmt"
"time"
)
func main() {
type Result struct {
View 01-11-channel-owner-consumer.go
package main
import (
"fmt"
)
/**
Channel では、channel の所有者と利用者(消費者)の役割分担をキチンとしておく。
*/
func main() {
View 01-11-context-deadline-sample.go
package main
import (
"context"
"time"
"fmt"
"sync"
)
// try context.Deadline
View 01-11-waitgroup-eg.go
package main
import (
"sync"
"time"
"fmt"
)
/**
WaitGroup 使
View 01-12-chaining-context.go
package main
import (
"context"
"sync"
"fmt"
"time"
)
func main() {
View 01-12-simple-chaining-context.go
package main
import (
"context"
"time"
"sync"
"fmt"
)
func main() {