This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var gulp = require('gulp'); | |
| var watch = require('gulp-watch'); | |
| var sftp = require('gulp-sftp'); | |
| var elixir = require('laravel-elixir'); | |
| var credentials = { | |
| host: '', | |
| port: 22, | |
| user: '', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Laravel App1 | |
| Listen 81 | |
| NameVirtualHost *:81 | |
| <VirtualHost *:81> | |
| DocumentRoot "D:\0m\src\www\yop\core-optic\public" | |
| <Directory "D:\0m\src\www\yop\core-optic\public"> | |
| Options Indexes FollowSymLinks Includes ExecCGI | |
| AllowOverride All | |
| Require all granted | |
| </Directory> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function() { | |
| var stopPlayAt = 10, // Stop play at time in seconds | |
| stopPlayTimer; // Reference to settimeout call | |
| // This code loads the IFrame Player API code asynchronously. | |
| var tag = document.createElement("script"); | |
| tag.src = "//www.youtube.com/iframe_api"; | |
| var firstScriptTag = document.getElementsByTagName("script")[0]; | |
| firstScriptTag.parentNode.insertBefore(tag, firstScriptTag); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <snippet> | |
| <content><![CDATA[ | |
| .col-md-${5:2}.col-label | |
| label.control-label(for="in-${1:name}") ${2:label} | |
| .col-md-${6:3} | |
| if hasWriteAccess | |
| input#in-${1:name}.form-control(name="${1:name}" placeholder="${4}" value=(oldInput.${1:name} || data${3}.${1:name})) | |
| else | |
| p.form-control-static= data${3}.${1:name} | |
| ]]></content> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "\eOD": backward-word | |
| "\e[1;5D": backward-word | |
| "\eOC": forward-word | |
| "\e[1;5C": forward-word | |
| "\e[1~": beginning-of-line | |
| "\e[4~": end-of-line |