See Sublime’s full documentation for more shortcuts and helpers.
⌘+C | copy current line (if no selection) |
⌘+X | cut current line (if no selection) |
⌘+⇧+K | delete line |
⌘+↩ | insert line after |
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "ListObjectsInBucket", | |
"Effect": "Allow", | |
"Action": ["s3:ListBucket"], | |
"Resource": ["arn:aws:s3:::bucket-name"] | |
}, | |
{ |
<!DOCTYPE html> | |
<html lang="en" class="no-js"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Unique page title - My Site</title> | |
<script type="module"> | |
document.documentElement.classList.remove('no-js'); |
# Local Dev Files # | |
################### | |
.env | |
.phpunit.result.cache | |
docker-compose.override.yml | |
npm-debug.log | |
yarn-error.log | |
# Compiled source # | |
################### |
<?php | |
namespace App\Traits; | |
use Ramsey\Uuid\Uuid; | |
trait UuidModel | |
{ | |
/** | |
* Hook into the boot method to catch creating and saving events |
<?php | |
namespace App; | |
use Illuminate\Support\Str; | |
use Illuminate\Console\GeneratorCommand; | |
use Symfony\Component\Console\Input\InputOption; | |
class SomethingMakeCommand extends GeneratorCommand | |
{ |
body { | |
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; | |
} | |
/* Define the "system" font family */ | |
@font-face { | |
font-family: system; | |
font-style: normal; | |
font-weight: 300; | |
src: local(".SFNSText-Light"), local(".HelveticaNeueDeskInterface-Light"), local(".LucidaGrandeUI"), local("Ubuntu Light"), local("Segoe UI Light"), local("Roboto-Light"), local("DroidSans"), local("Tahoma"); |
### Node ### | |
# Logs | |
logs | |
npm-debug.log* | |
yarn-debug.log* | |
yarn-error.log* | |
# Optional npm cache directory | |
.npm |
{ | |
"name": "yabpack", | |
"version": "1.0.0", | |
"description": "YabPack is a reference starter kit for setting up webpack", | |
"main": "index.js", | |
"scripts": { | |
"dev": "webpack", | |
"watch": "webpack --watch", | |
"production": "NODE_ENV=production webpack" | |
}, |
See Sublime’s full documentation for more shortcuts and helpers.
⌘+C | copy current line (if no selection) |
⌘+X | cut current line (if no selection) |
⌘+⇧+K | delete line |
⌘+↩ | insert line after |
const path = require('path'); | |
const glob = require('glob'); | |
const webpack = require('webpack'); | |
const PurifyCSSPlugin = require('purifycss-webpack'); | |
const WebpackNotifierPlugin = require('webpack-notifier'); | |
const CleanWebpackPlugin = require('clean-webpack-plugin'); | |
const BrowserSyncPlugin = require('browser-sync-webpack-plugin'); | |
const ExtractTextPlugin = require('extract-text-webpack-plugin'); | |
let isProduction = process.env.NODE_ENV === 'production'; |