Skip to content

Instantly share code, notes, and snippets.

View iBreaker's full-sized avatar
🎯
Focusing

Breaker iBreaker

🎯
Focusing
  • 滴滴出行
  • 北京
View GitHub Profile
# If you're looking into the C10M problem (10 million concurrent connections)
# you might want to play with DPDK (Originally proprietry Intel, now open source)
#
# C10M: http://c10m.robertgraham.com/
# DPDK: http://dpdk.org/
#
# This is a quick summary how to install dpdk on ubuntu
# running inside virtualbox on a mac
# On my Mac:
@iBreaker
iBreaker / commit.sh
Created June 28, 2020 07:30
批量修改已经提交的git commit邮件和用户名信息
#!/bin/sh
git filter-branch --env-filter '
OLD_EMAIL="your-old-email@example.com"
CORRECT_NAME="Your Correct Name"
CORRECT_EMAIL="your-correct-email@example.com"
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ]
then