😀 😁 😂 🤣 😃 😄 😅 😆 😉 😊 😋 😎 😍 😘 😗 😙 😚
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ -n "$(git status --porcelain)" ]; then | |
echo "\033[31;1mWorking directory needs to be clean\033[0m"; | |
exit 1 | |
else | |
git checkout production && | |
git rebase develop && | |
npm run build && | |
git add -f dist && |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "stringio" | |
def capture_stdout | |
capture = StringIO.new | |
restore, $stdout = $stdout, capture | |
yield | |
$stdout = restore | |
capture.string | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'irbtools/configure' | |
# require 'irbtools/more' | |
Irbtools.replace_library_callback :fancy_irb do | |
FancyIrb.start rocket_mode: false | |
end | |
Irbtools.start |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
# USAGE | |
# gemfile [--bundle] [--details] [--fetch] [--sorted] [--commentate] | |
# DESCRIPTION | |
# Displays gem urls and summaries found in a Gemfile. | |
# cd into a directory with a Gemfile and run `gemfile` | |
# PREREQUISITES | |
# gem install bundler paint | |
# FLAGS |
See character.construction/emoji-vs-text for more up-to-date listings.
Text (U+FE0E) | Default | Emoji (U+FE0F) | Name |
---|---|---|---|
😀︎ | 😀 | 😀️ | GRINNING FACE |
😁︎ | 😁 | 😁️ | GRINNING FACE WITH SMILING EYES |
😂︎ | 😂 | 😂️ | FACE WITH TEARS OF JOY |
🤣︎ | 🤣 | 🤣️ | ROLLING ON THE FLOOR LAUGHING |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rubygems' unless defined? Gem | |
require 'clipboard' | |
if $stdin.tty? && $*.empty? | |
puts Clipboard.paste # the trailing new-line is intended ;) | |
else | |
Clipboard.copy ARGF.read | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .railsrc for Rails 3, encoding: utf-8 | |
# see http://rbjl.net/49-railsrc-rails-console-snippets | |
if !Rails.application then warn "Rails isn't loaded, yet... skipping .railsrc" else | |
# # # | |
def ripl?; defined?(Ripl) && Ripl.instance_variable_get(:@shell); end | |
# # # | |
# loggers |
Please note: See character.construction/emoji-categories for more up-to-date listings.
😀 😁 😂 🤣 😃 😄 😅 😆 😉 😊 😋 😎 😍 😘 🥰 😗 😙 😚