Skip to content

Instantly share code, notes, and snippets.

@bitcloud
bitcloud / README.md
Created November 18, 2023 19:08 — forked from Lewiscowles1986/README.md
Playstation 2 EU USB "The Buzz" controller

"The Buzz" Playstation 2 EU USB controller

Using tool "Simple HID Write"

  • W: Write
  • R: Read
W 00 {FF} 00 00 00 // controller 1 red light activate
W 00 {00} 00 00 00 // controller 1 red light deactivate
git config --global alias.lola "log --graph --decorate --pretty=oneline --abbrev-commit --all"
@bitcloud
bitcloud / sublime-text-macos-context-menu.md
Last active May 9, 2017 06:59 — forked from idleberg/sublime-text-macos-context-menu.md
“Open in Sublime Text” in macOS context-menu

Open in Sublime Text

  • Open Automator
  • Create a new Service
  • Set “Service receives selected” to files or folders in any application
  • Add a Run Shell Script action
  • Set the script action to /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl -n "$@"
  • Set “Pass input” to as arguments
  • Save as Open in Sublime Text
@bitcloud
bitcloud / haproxy.conf
Last active August 29, 2015 13:57 — forked from gburd/haproxy.conf
# Documentation for HAProxy
# http://code.google.com/p/haproxy-docs/w/list
# http://haproxy.1wt.eu/download/1.2/doc/architecture.txt
# NOTES:
# open files limits need to be > 256000, use ulimit -n to set (on most POSIX systems)
global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice