Skip to content

Instantly share code, notes, and snippets.

View otiai10's full-sized avatar
👋

Hiromu OCHIAI otiai10

👋
View GitHub Profile

対応できないとモグリ

  • snow halation
  • no brand girls
  • それはぼくたちの奇跡
  • 僕らのlive 君とのlife
  • 僕らは今のなかで
  • 愛してるばんざーい(二日目の後半かアンコールぐらいかも?)

1・2日目どちらにきてもおかしくないしどちらかにはくるだろう

  • kira-kira sensation
@mettledrum
mettledrum / gist:a6107e0de98140b42222
Last active April 24, 2018 06:25
example of using pprof
package main
import (
"runtime/pprof"
"fmt"
"net/http"
"os"
"time"
)
@roachhd
roachhd / README.md
Last active April 12, 2025 11:50
EMOJI cheatsheet 😛😳😗😓🙉😸🙈🙊😽💀💢💥✨💏👫👄👃👀👛👛🗼🔮🔮🎄🎅👻

EMOJI CHEAT SHEET

Emoji emoticons listed on this page are supported on Campfire, GitHub, Basecamp, Redbooth, Trac, Flowdock, Sprint.ly, Kandan, Textbox.io, Kippt, Redmine, JabbR, Trello, Hall, plug.dj, Qiita, Zendesk, Ruby China, Grove, Idobata, NodeBB Forums, Slack, Streamup, OrganisedMinds, Hackpad, Cryptbin, Kato, Reportedly, Cheerful Ghost, IRCCloud, Dashcube, MyVideoGameList, Subrosa, Sococo, Quip, And Bang, Bonusly, Discourse, Ello, and Twemoji Awesome. However some of the emoji codes are not super easy to remember, so here is a little cheat sheet. ✈ Got flash enabled? Click the emoji code and it will be copied to your clipboard.

People

:bowtie: 😄

@masanoriyamaguchi
masanoriyamaguchi / about_hackthon.md
Last active August 29, 2015 14:09
もう私だって絶望する必要なんて、ない!

inspired by Su-Shi Hakathon

##ハッカソンメモ

###どんなことをするの? 趣味に関することでもOKb

日頃の業務を便利にすることでもOK

一人だとなかなかやる機会が無いことをする

@myusuf3
myusuf3 / delete_git_submodule.md
Created November 3, 2014 17:36
How effectively delete a git submodule.

To remove a submodule you need to:

  • Delete the relevant section from the .gitmodules file.
  • Stage the .gitmodules changes git add .gitmodules
  • Delete the relevant section from .git/config.
  • Run git rm --cached path_to_submodule (no trailing slash).
  • Run rm -rf .git/modules/path_to_submodule (no trailing slash).
  • Commit git commit -m "Removed submodule "
  • Delete the now untracked submodule files rm -rf path_to_submodule
@chrismiles
chrismiles / cggradient.swift
Created August 7, 2014 12:02
Core Graphics gradient drawing with Swift? No problem.
let colorSpace = CGColorSpaceCreateDeviceRGB()
let componentCount : UInt = 4
let components : [CGFloat] = [
0, 0, 0, 0,
1.0, 1.0, 1.0, 1.0,
1.0, 1.0, 1.0, 1.0,
0, 0, 0, 0
]
@voluntas
voluntas / eval.rst
Last active November 25, 2024 08:17
評価制度の無い評価制度
@hyg
hyg / gist:9c4afcd91fe24316cbf0
Created June 19, 2014 09:36
open browser in golang
func openbrowser(url string) {
var err error
switch runtime.GOOS {
case "linux":
err = exec.Command("xdg-open", url).Start()
case "windows":
err = exec.Command("rundll32", "url.dll,FileProtocolHandler", url).Start()
case "darwin":
err = exec.Command("open", url).Start()
@hayajo
hayajo / main.go
Last active August 29, 2015 14:02
golangのflagパッケージでサブコマンドのオプションをパースするサンプル
package main
import (
"flag"
"fmt"
"os"
)
func main() {
sub := os.Args[1]
@watilde
watilde / cli
Last active August 29, 2015 14:01
$ testem launchers
info Seeking for config file...
Have 3 launchers available; auto-launch info displayed on the right.
Launcher Type CI Dev
------------ ------------ -- ---
Chrome browser ✔ ✔
Firefox browser
Safari browser