Skip to content

Instantly share code, notes, and snippets.

View fabianofranz's full-sized avatar

Fabiano Franz fabianofranz

View GitHub Profile
@fabianofranz
fabianofranz / ask_for_password.rb
Created May 11, 2012 04:24
get password - Ruby - any platform - no gems needed
# --- Platform inspectors
def jruby? ; RUBY_PLATFORM =~ /java/i end
def windows? ; RUBY_PLATFORM =~ /win(32|dows|ce)|djgpp|(ms|cyg|bcc)win|mingw32/i end
def unix? ; !jruby? && !windows? end
# --- Lé code
def ask_for_password_on_unix(prompt = "Enter password: ")

Using Atom on Fedora 20

This guide walks you through the steps of building and launching the Atom text editor on Fedora 20.

Building Atom

  1. Install prerequisite packages