This file contains 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
{ | |
"require": { | |
"kitetail/zttp": "^0.6.0" | |
} | |
} |
This file contains 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
{ | |
"trailingComma": "es5", | |
"tabWidth": 2, | |
"vueIndentScriptAndStyle": true | |
} |
This file contains 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
root = true | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
insert_final_newline = true | |
indent_style = space | |
indent_size = 4 | |
trim_trailing_whitespace = true |
This file contains 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
Show hidden characters
{ | |
"scope": "source.*", | |
"completions": [ | |
{ "trigger": "container", "contents": "container" }, | |
{ "trigger": "sr-only", "contents": "sr-only" }, | |
{ "trigger": "not-sr-only", "contents": "not-sr-only" }, | |
{ "trigger": "focus:sr-only", "contents": "focus:sr-only" }, | |
{ "trigger": "focus:not-sr-only", "contents": "focus:not-sr-only" }, | |
{ "trigger": "appearance-none", "contents": "appearance-none" }, | |
{ "trigger": "bg-fixed", "contents": "bg-fixed" }, |
This file contains 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
import Vue from 'vue'; | |
const files = require.context('./', true, /\.vue$/i) | |
files.keys().map(key => Vue.component(key.split('/').pop().split('.')[0], files(key).default)) | |
new Vue({ | |
el: "#app", | |
}) |
This file contains 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
<?php | |
use App\User; | |
use Faker\Factory; | |
use Illuminate\Support\Str; | |
use Illuminate\Database\Seeder; | |
use Illuminate\Support\LazyCollection; | |
class DatabaseSeeder extends Seeder | |
{ |
This file contains 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
sudo openssl genrsa -out "/etc/ssl/your-domain-name.key" 2048 | |
# Generate a CSR using the private key for encryption | |
sudo openssl req -new -key "/etc/ssl/your-domain-name.key" -out "/etc/ssl/your-domain-name.csr" | |
sudo openssl x509 -req -days 365 \ | |
-in "/etc/ssl/your-domain-name.csr" \ | |
-signkey "/etc/ssl/your-domain-name.key" \ | |
-out "/etc/ssl/your-domain-name.crt" |
This file contains 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
@servers(['web' => 'me']) | |
@setup | |
$date = date('YmdHis'); | |
$repo = '[email protected]:username/repo.git'; | |
$app_dir = 'your/host/path'; | |
$releases = '/var/www/releases'; |
This file contains 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
<?php | |
$finder = PhpCsFixer\Finder::create() | |
->exclude('somedir') | |
->notPath('src/Symfony/Component/Translation/Tests/fixtures/resources.php') | |
->in(__DIR__) | |
; | |
return PhpCsFixer\Config::create() | |
->setUsingCache(false) |
This file contains 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
<?php | |
namespace App\Http\Controllers; | |
use Log; | |
use Illuminate\Http\Request; | |
use Symfony\Component\Process\Process; | |
use Laravel\Lumen\Routing\Controller as BaseController; | |
class WebhookController extends BaseController |
NewerOlder