Skip to content

Instantly share code, notes, and snippets.

View ravishtiwari's full-sized avatar
💭
I may be slow to respond.

Ravish Tiwari ravishtiwari

💭
I may be slow to respond.
View GitHub Profile
@ravishtiwari
ravishtiwari / a11y-dialog
Created June 11, 2015 11:14
Example Accessible Modal Dialog
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
@ravishtiwari
ravishtiwari / profile
Last active August 29, 2015 14:19
Ubuntu default .profile with RVM in path
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
@ravishtiwari
ravishtiwari / bashrc
Last active August 29, 2015 14:19
Ubuntu default .bashrc with RVM in path
# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples
# If not running interactively, don't do anything
if [[ -n "$PS1" ]] ; then
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoredups:ignorespace