Skip to content

Instantly share code, notes, and snippets.

View brb3's full-sized avatar
👀
Looking for my next opportunity

Bobby Burden III brb3

👀
Looking for my next opportunity
View GitHub Profile
@brb3
brb3 / bot.rb
Last active April 22, 2017 16:50
Translation Bot
#!/usr/bin/env ruby
require 'mastodon'
require 'curb' # We'll need this for talking to Microsoft's Translator API
translator_token = '{TOKEN_FROM_TRANSLATOR_API}'
mastodon_token = '{ACCESS_TOKEN_FROM_MASTODON}'
# We're going to extend the String Class to do a bit of our dirty work
class String
# We'll use this to strip XML/HTML tags out of strips
@brb3
brb3 / magento2.conf
Created July 7, 2015 12:22
Magento 2 nginx config
# Example server config:
#server {
# include ports/http.conf;
# server_name magento2.dev;
#
# access_log /var/log/nginx/magento2-access.log combined;
# error_log /var/log/nginx/magento2-error.log;
#
# set $MAGE_ROOT /Users/bobby/Sites/magento2.dev;
# set $MAGE_MODE developer;
@brb3
brb3 / .vimrc
Created March 16, 2015 17:42
TrimWhiteSpace
function TrimWhiteSpace()
%s/\s*$//
''
:endfunction
map <F2> :call TrimWhiteSpace()<CR>
map! <F2> :call TrimWhiteSpace()<CR>
@brb3
brb3 / keybase.md
Last active August 23, 2016 00:52
Keybase proof

Keybase proof

I hereby claim:

  • I am brb3 on github.
  • I am bobby (https://keybase.io/bobby) on keybase.
  • I have a public key whose fingerprint is 51AE 1981 BECD E1A4 A057 C421 2891 E830 48D4 6B94

To claim this, I am signing this object: