1- If you want reusable HTML components
<my-widget>| <snippet> | |
| <content><![CDATA[ | |
| class ${1:TABLENAME}TableSeeder extends Seeder { | |
| public function run() | |
| { | |
| \$${1} = [ | |
| ${2} | |
| ]; |
| <snippet> | |
| <content><![CDATA[ | |
| // ${1} Resource | |
| Route::get('${1}s', array('as' => '${1}s', 'uses' => '${1}s@index')); | |
| Route::get('${1}s/(:any)', array('as' => '${1}', 'uses' => '${1}s@show')); | |
| Route::get('${1}s/new', array('as' => 'new_${1}', 'uses' => '${1}s@new')); | |
| Route::get('${1}s/(:any)edit', array('as' => 'edit_${1}', 'uses' => '${1}s@edit')); | |
| Route::post('${1}s', '${1}s@create'); | |
| Route::put('${1}s/(:any)', '${1}s@update'); | |
| Route::delete('${1}s/(:any)', '${1}s@destroy'); |
| .grid-overlay:before { | |
| content: ""; | |
| position: fixed; | |
| background-color: rgba(34,102,153,0.5); | |
| background: -webkit-linear-gradient(skyblue 2px, transparent 2px), -webkit-linear-gradient(0, skyblue 2px, transparent 2px), -webkit-linear-gradient(skyblue 1px, transparent 1px), -webkit-linear-gradient(0, skyblue 1px, transparent 1px); | |
| background: -moz-linear-gradient(skyblue 2px, transparent 2px), -moz-linear-gradient(0, skyblue 2px, transparent 2px), -moz-linear-gradient(skyblue 1px, transparent 1px), -moz-linear-gradient(0, skyblue 1px, transparent 1px); | |
| background: -o-linear-gradient(skyblue 2px, transparent 2px), -o-linear-gradient(0, skyblue 2px, transparent 2px), -o-linear-gradient(skyblue 1px, transparent 1px), -o-linear-gradient(0, skyblue 1px, transparent 1px); | |
| background: -ms-linear-gradient(skyblue 2px, transparent 2px), -ms-linear-gradient(0, skyblue 2px, transparent 2px), -ms-linear-gradient(skyblue 1px, transparent 1px), -ms-linear-gradient(0, skyblue 1px, transparent 1px); | |
| background |
| Basic SEO Markup: | |
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>70 Characters Maximum</title> | |
| <meta name="description" content="Enter description here"> | |
| <link rel="author" href="https://plus.google.com/LINK-TO-GOOGLE-PLUS-PROFILE"> | |
| <link rel="canonical" href="/category/preferred-url.html"> | |
| <!-- Meta Tags for Social Media --> |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>REST API calls with Angular ngResource module</title> | |
| <link href="http://getbootstrap.com/dist/css/bootstrap.css" rel="stylesheet" type="text/css" /> | |
| <style> | |
| [ng\:cloak], | |
| [ng-cloak], |
| Git Config: | |
| ☐ git config --global user.name "John Doe" | |
| ☐ git config --global user.email [email protected] | |
| Check your config setting: | |
| You can use git config --list, or look at your ~/.gitconfig file. Local config will be in your repository's .git/config file. | |
| Configure Diff tool- ~/.gitconfig: | |
| [merge] |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>REST API calls with Angular ngResource module</title> | |
| <link href="http://getbootstrap.com/dist/css/bootstrap.css" rel="stylesheet" type="text/css" /> | |
| <style> | |
| [ng\:cloak], | |
| [ng-cloak], |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title>REST API calls with Angular $http in-built service</title> | |
| <link href="http://getbootstrap.com/dist/css/bootstrap.css" rel="stylesheet" type="text/css" /> | |
| <style> | |
| [ng\:cloak], | |
| [ng-cloak], |
| module.exports = function(grunt) { | |
| var appPath = 'app/', | |
| indexPath = appPath + 'index.html', | |
| cssFiles = [], | |
| jsFiles = []; | |
| buildNumber = Math.floor(Math.random() * 10000); | |
| function getFilesList(indexPath, appPath) { | |
| var indexContents, | |
| scriptTagsPattern, |