Skip to content

Instantly share code, notes, and snippets.

Luis Espinosa de los Monteros lem93

Block or report user

Report or block lem93

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keymap.cson
# Your keymap
# Atom keymaps work similarly to style sheets. Just as style sheets use
# selectors to apply styles to elements, Atom keymaps use selectors to associate
# keystrokes with events in specific contexts. Unlike style sheets however,
# each selector can only be declared once.
# You can create a new keybinding in this file by typing "key" and then hitting
# tab.
View Regular Form Field (with validation errors)
<div class="form-group{{ $errors->has('field') ? ' has-error': '' }}">
<lable for="field">Field</label>
<input type="text" class="form-control" name="field" value="{{ old('field') ? old('field') : $object->field }}">
@if ($errors->has('field'))
<div class="help-block">
{{ $errors->first('field') }}
lem93 / countries.js
Created Sep 16, 2016
List of countries
View countries.js
let countries = [
{'key' : 'AF', 'label' : 'Afghanistan'},
{'key' : 'AX', 'label' : 'Aland Islands'},
{'key' : 'AL', 'label' : 'Albania'},
{'key' : 'DZ', 'label' : 'Algeria'},
{'key' : 'AS', 'label' : 'American Samoa'},
{'key' : 'AD', 'label' : 'Andorra'},
{'key' : 'AO', 'label' : 'Angola'},
{'key' : 'AI', 'label' : 'Anguilla'},
{'key' : 'AQ', 'label' : 'Antarctica'},
You can’t perform that action at this time.