Skip to content

Instantly share code, notes, and snippets.

Hiroki Kokubun cocopon

Block or report user

Report or block cocopon

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
@cocopon
cocopon / slack-sidebar-iceberg
Last active May 20, 2020
Iceberg for Slack
View slack-sidebar-iceberg
#1E2132,#2A3158,#C6C8D1,#161821,#2A3158,#C6C8D1,#B4BE82,#E27878
View video_delay.pde
// Processingでカメラの映像を遅延させるサンプル
// 遅延分の画像をPGraphicsの配列で保持しておくのがポイント
// カメラの映像を扱うためのライブラリをインポート
import processing.video.*;
// カメラ
Capture cam;
// 保持する枚数
@cocopon
cocopon / ansi-16-colors.go
Last active Apr 17, 2020
ANSI 16 colors table
View ansi-16-colors.go
package main
import "fmt"
func main() {
fgs := []string{
"39",
"30", "1;30",
"31", "1;31",
"32", "1;32",
@cocopon
cocopon / 404.txt
Created Dec 30, 2017
404 for colorswat.ch
View 404.txt
::::: ::::::: :::::
:+:+:+ :+: :+: :+:+:+
+:+ +:+ +:+ :+:+ +:+ +:+
+#+ +:+ +#+ + +:+ +#+ +:+
+#+#+#+#+#+ +#+# +#+ +#+#+#+#+#+
#+# #+# #+# #+#
### ####### ###
@cocopon
cocopon / .Xresources
Last active Sep 29, 2019
.Xresources for Iceberg
View .Xresources
! special
*.foreground: #c6c8d1
*.background: #161821
*.cursorColor: #c6c8d1
! black
*.color0: #161821
*.color8: #6b7089
! red
@cocopon
cocopon / Iceberg.terminal
Last active Apr 17, 2020
Iceberg for Terminal.app
View Iceberg.terminal
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ANSIBlackColor</key>
<data>
YnBsaXN0MDDUAQIDBAUGBwpYJHZlcnNpb25ZJGFyY2hpdmVyVCR0b3BYJG9iamVjdHMS
AAGGoF8QD05TS2V5ZWRBcmNoaXZlctEICVRyb290gAGjCwwTVSRudWxs0w0ODxARElVO
U1JHQlxOU0NvbG9yU3BhY2VWJGNsYXNzTxAnMC4xMTc2NDcwNTg4IDAuMTI5NDExNzY0
NyAwLjE5NjA3ODQzMTQAEAKAAtIUFRYXWiRjbGFzc25hbWVYJGNsYXNzZXNXTlNDb2xv
@cocopon
cocopon / index.html
Last active Oct 26, 2016
HTML file that causes an error with AtomLinter/linter-tidy
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
</head>
<body>
<div>
foobar
</p>
View Action.pde
/*
* Action.pde
* (c) 2015 cocopon.
*
* License: MIT
*/
import java.util.Arrays;
public class ActionRunner {
@cocopon
cocopon / Easing.pde
Last active Apr 12, 2020
A class that brings Robert Penner's easing functions into Processing
View Easing.pde
/*
* Easing.pde - brings Robert Penner's easing functions into Processing
* (c) 2015 cocopon.
*
* See the following to learn more about these famous functions:
* http://www.robertpenner.com/easing/
*
* License:
* http://www.robertpenner.com/easing_terms_of_use.html
*/
@cocopon
cocopon / GifRecorder.pde
Last active Jun 9, 2019
A class that makes it easy to record a sketch in animated GIF
View GifRecorder.pde
/*
* GifRecorder - makes it easy to record a sketch in animated GIF
* (c) 2014 cocopon.
*/
import gifAnimation.*;
/*
* Usage:
*
* 0. Install a required library before using GifRecorder.
You can’t perform that action at this time.