Skip to content

Instantly share code, notes, and snippets.

@jonnylink
Last active August 5, 2017 23:53
Show Gist options
  • Save jonnylink/f6a60a045af8ccf6dfa89f9bba34c453 to your computer and use it in GitHub Desktop.
Save jonnylink/f6a60a045af8ccf6dfa89f9bba34c453 to your computer and use it in GitHub Desktop.
Atom Prefs
atom-autocomplete-php
atom-beautify
busy-signal
color-picker
emmet
intentions
language-blade
linter
linter-php
linter-ui-default
laravel
php-hyperclick
phpunit
pigments
git-plus
'.source.php':
'Laravel migration schema (table)':
'prefix': 'lsSchema'
'body': """
Schema::create('$1', function (Blueprint $table) {
$table->increments('id')->unsigned();
$table->tinyInteger('state')->unsigned()->default(1);
$table->timestamps();
});
"""
'Laravel migration schema (int)':
'prefix': 'lsInt'
'body': "$table->integer('$1');"
'Laravel migration schema (tiny int)':
'prefix': 'lsTinyInt'
'body': "$table->tinyInteger('$1');"
'Laravel migration schema (string)':
'prefix': 'lsString'
'body': "$table->string('$1');"
'Laravel migration schema (timestamps)':
'prefix': 'lsStamps'
'body': '$table->timestamps();'
'Laravel migration schema (double)':
'prefix': 'lsDouble'
'body': "$table->double('$1');"
'Laravel migration schema (longtext)':
'prefix': 'lsLongText'
'body': "$table->longText('$1');"
'Laravel migration schema (unsigned & default 0)':
'prefix': 'lsUnsignedDefaultZero'
'body': "->unsigned()->default(0)"
atom-text-editor pigments-markers pigments-color-marker.dot, atom-text-editor pigments-markers pigments-color-marker.dot, atom-text-editor pigments-color-marker.dot{
transform: translate(0, -50%) scale(0.8);
}
.list-tree.has-collapsable-children .list-nested-item > .list-tree {
margin: 0 25px;
}
.list-tree.has-collapsable-children .list-nested-item > .list-tree > li {
margin:0;
padding: 0;
}
ul li::before {
margin-right: 10px;
}
.list-tree.has-collapsable-children .list-nested-item.collapsed > .list-item::before,
.list-tree.has-collapsable-children .list-nested-item > .list-item::before {
content:none;
}
.list-group li:not(.list-nested-item), .list-tree li:not(.list-nested-item), .list-group li.list-nested-item > .list-item, .list-tree li.list-nested-item > .list-item {
line-height: 25px;
}
.list-group .icon::before, .list-tree .icon::before {
margin-right: 2px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment