Skip to content

Instantly share code, notes, and snippets.


Robson Roberto Souza Peixoto robsonpeixoto

View GitHub Profile
#!/usr/bin/env python2
# pip install pid, psutil, raven
import argparse
import datetime
import logging
import logging.handlers
import sys
import time

Keybase proof

I hereby claim:

  • I am robsonpeixoto on github.
  • I am robsonpeixoto ( on keybase.
  • I have a public key ASAU7TUvrGPAOU85RMUrH52AkrsYukDTjzd96LtAdDxwmQo

To claim this, I am signing this object:

* This class implements a fake hostname verificator, trusting any host
* name.
* @author Francis Labrie
public class FakeHostnameVerifier implements HostnameVerifier {
View finch-twitter-server-metrics.scala
import com.twitter.finagle.Http
import com.twitter.finagle.param.Stats
import com.twitter.finagle.stats.Counter
import com.twitter.server.TwitterServer
import com.twitter.util.Await
import io.finch._
import io.finch.circe._
object Main extends TwitterServer {
* b-bit Minwise hashing の Java 実装です。
* <p>
* 参考文献 : <a href="">b-Bit Minwise Hashing</a>
* </p>
* @author KOMIYA Atsushi
public class MinHash {
private final int numBits;
# This script is a tool that helps you calculate the benefits in occupied size on disk
# of the ext4 inlinedata new feature of the Linux kernel 3.8.0 see
# Just run it on your ext4 mountpoints and it will tell give you the trade off for all your files depending on the inode size you # choose.
# To get you current inode size you can do :
# $ tune2fs -l /dev/mapper/isw_ddbeejgcgd_Volume03 | grep Inode
# Inode count: 15040512
# Inodes per group: 8192