Skip to content

Instantly share code, notes, and snippets.


Robson Roberto Souza Peixoto robsonpeixoto

View GitHub Profile

Thread Pools

Thread pools on the JVM should usually be divided into the following three categories:

  1. CPU-bound
  2. Blocking IO
  3. Non-blocking IO polling

Each of these categories has a different optimal configuration and usage pattern.

ismasan / sse.go
Last active Oct 21, 2020
Example SSE server in Golang
View sse.go
// Copyright (c) 2017 Ismael Celis
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
// The above copyright notice and this permission notice shall be included in all
komiya-atsushi /
Created Sep 2, 2013
b-bit Minwise hashing の Java 実装です。#DSIRNLP での発表用に実装してみました。
* b-bit Minwise hashing の Java 実装です。
* <p>
* 参考文献 : <a href="">b-Bit Minwise Hashing</a>
* </p>
* @author KOMIYA Atsushi
public class MinHash {
private final int numBits;
View tmux_cheatsheet.markdown

tmux cheatsheet

As configured in my dotfiles.

start new:


start new with session name:

You can’t perform that action at this time.