I hereby claim:
- I am tomeara on github.
- I am tomeara (https://keybase.io/tomeara) on keybase.
- I have a public key ASB8tH2zXZh5o8XzoKd64SvtTlipoajmu7ZCG4N9KmI-9go
To claim this, I am signing this object:
jQuery(document).ready(function() { | |
validate_contact_form('#contact_form'); | |
validate_contact_form('.productsPopup'); | |
}); | |
function validate_contact_form(form){ | |
var validation_fields = ["#first_name", "#last_name", "#company", "#phone"]; | |
jQuery.each(validation_fields, function(index, value){ | |
$(form + ' ' + value).blur(function(){ |
# Put this method in your helper file to render inline SVG | |
def inline_svg(path) | |
file = File.open("app/assets/images/#{path}", "rb") | |
raw file.read | |
end |
module AngularWaiter | |
def setup_ready | |
page.execute_script <<-JS | |
window.angularReady = false; | |
var app = $('*[ng-app]'); | |
var injector = app.injector(); | |
injector.invoke(function($browser) { | |
$browser.notifyWhenNoOutstandingRequests(function() { | |
window.angularReady = true; |
I hereby claim:
To claim this, I am signing this object:
set nocompatible | |
filetype off | |
" make sure to add vim-plug to the autoload dir | |
call plug#begin('~/.vim/bundle') | |
" Plug 'Numkil/ag.nvim' | |
Plug 'Shougo/denite.nvim' | |
Plug 'Shougo/deoplete.nvim' | |
Plug 'Shougo/neosnippet' | |
Plug 'Shougo/neosnippet-snippets' |
# Terminal colors | |
set -g default-terminal "xterm-256color" | |
# Fixes the problem with Vim/Tmux rendering | |
set-window-option -g utf8 on | |
# Set new binding | |
set -g prefix C-a | |
unbind C-b | |
bind C-a send-prefix |