Skip to content

Instantly share code, notes, and snippets.

View binury's full-sized avatar

Robin Ury binury

  • Texas
  • 19:22 (UTC -05:00)
View GitHub Profile
original = raw_input('Enter a word:')
if len(original) > 0 and original.isalpha():
word = original.lower()
first = word[0]
if first == 'a' or 'e' or 'i' or 'o' or 'u':
new_word = word + 'ay'
print new_word
else:
new_word = word[1:] + 'ay'
{
"room": "Radiant Music",
"author": "Origin",
"icon": "https://cdn.radiant.dj/rcs/icons/radiant/logo.png",
"css": "https://cdn.radiant.dj/rcs/rs_room.css",
"rules": {
"allowAutorespond": true,
"allowAutowoot": true,
"allowAutojoin": false,
"allowAutograb": true,
@binury
binury / keybase.md
Created July 28, 2016 06:58
My keybase verification

Keybase proof

I hereby claim:

  • I am teddy-error on github.
  • I am du (https://keybase.io/du) on keybase.
  • I have a public key whose fingerprint is 2BF6 D5D8 C51F 9CD8 D59A AD19 2BFC ED30 84EA 35C4

To claim this, I am signing this object:

File navigation (mine):

nnoremap ,f :find *
nnoremap ,s :sfind *
nnoremap ,v :vert sfind *
nnoremap ,t :tabfind *
nnoremap ,F :find <C-R>=fnameescape(expand('%:p:h')).'/**/*'<CR>
nnoremap ,S :sfind <C-R>=fnameescape(expand('%:p:h')).'/**/*'<CR>

nnoremap ,V :vert sfind =fnameescape(expand('%:p:h')).'/**/*'

@binury
binury / solutions.js
Last active June 27, 2017 02:47
reto de mayo
// Solutions in Javascript for the Chillin & Grillin
// coding event @ Geekdom
function numword (num) {
const numwords = [
'Zero','One','Two','Three','Four',
'Five','Six','Seven','Eight','Nine'
];
return numwords[num]
}

Keybase proof

I hereby claim:

  • I am teddy-error on github.
  • I am binury (https://keybase.io/binury) on keybase.
  • I have a public key ASBdwMaOWK7528ipHTLOY9B1SgUDVkwHj5TfHeB-os-Hygo

To claim this, I am signing this object:

@binury
binury / fresh_mac.sh
Last active July 22, 2017 07:32
New Mac Install
#brew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew tap caskroom/versions
brew cask install
brew install zsh git coreutils neovim
brew cask install \
alfred \
bettertouchtool \
discord \
google-chrome-dev \
@binury
binury / HOSTS
Created November 30, 2017 18:57
127.0.0.1 adclick.g.doublecklick.net
127.0.0.1 adeventtracker.spotify.com
127.0.0.1 ads-fa.spotify.com
127.0.0.1 analytics.spotify.com
127.0.0.1 audio2.spotify.com
127.0.0.1 b.scorecardresearch.com
127.0.0.1 bounceexchange.com
127.0.0.1 bs.serving-sys.com
127.0.0.1 content.bitsontherun.com
127.0.0.1 core.insightexpressai.com
@binury
binury / settings.sh
Last active September 13, 2018 22:08
MacOS High Sierra sane config settings for developers
# Animations
# Disable animations when opening and closing windows.
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
# Disable animations when opening a Quick Look window.
defaults write -g QLPanelAnimationDuration -float 0
# Accelerated playback when adjusting the window size of Cocoa applications.
defaults write NSGlobalDomain NSWindowResizeTime -float 0.001
defaults write -g NSDocumentRevisionsWindowTransformAnimation -bool false
@binury
binury / bitbucket-syntax-highlighting.css
Last active September 9, 2019 15:25
Bitbucket Ocean Dark (Base16) Theme
:root {
/*
Swap any Base16 theme here
http://terminal.sexy
Defaults to Ocean Dark Extended
*/
--bg: #2b303b;
--fg: #c0c5ce;
--c0: #2b303b;
/* C1 & C2 (diff highlights) might need manual darken override */