These rules are adopted from the AngularJS commit conventions.
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
| version: '3.1' | |
| services: | |
| db: | |
| image: postgres | |
| restart: always | |
| environment: | |
| POSTGRES_PASSWORD: example |
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
| /*1482118385,,JIT Construction: v2746767,en_US*/ | |
| /** | |
| * Copyright Facebook Inc. | |
| * | |
| * Licensed under the Apache License, Version 2.0 | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| */ | |
| try { | |
| (function(win, doc, location, history) { | |
| 'use strict'; |
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
| version: 2 | |
| jobs: | |
| build: | |
| working_directory: /var/www/html | |
| docker: | |
| - image: php:7.3.5-apache | |
| environment: | |
| - APP_ENV=testing | |
| - APP_KEY=base64:xxx+xxx= |
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
| <?php | |
| namespace App\Http\Middleware; | |
| use App\Helpers\Base64Image; | |
| use Closure; | |
| use Illuminate\Http\Request; | |
| use Illuminate\Support\Str; | |
| use Symfony\Component\HttpFoundation\File\UploadedFile; |
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
| <?php | |
| // Class extends Migration | |
| use Illuminate\Support\Facades\Schema; | |
| // add fields | |
| Schema::create('video_channel_keywords', function (Blueprint $table) { | |
| // $table->bigIncrements('id'); | |
| }); |
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
| #!/bin/bash | |
| for i in {1..50} | |
| do | |
| echo "Welcome $i times" | |
| wget -O $i.jpg http://lorempixel.com/300/300 | |
| done |
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
| Reset all colors and change link color | |
| This resets all text and background colors so you’re back at square one with black text. Then it changes the color and style of links to distinguish from regular text and make them apparent that they’re links – change the color and styling to whatever you want. | |
| * { | |
| color: black !important; | |
| background-color: white !important; | |
| background-image: none !important; | |
| } | |
| a:link { |
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
| #!/usr/bin/env python3 | |
| import unittest | |
| import sys | |
| from TestAPI import TestAPI | |
| # run TestAPI | |
| suite = unittest.TestLoader().loadTestsFromTestCase(TestAPI) | |
| re = unittest.TextTestRunner(verbosity=2).run(suite) |
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
| server { | |
| listen 80; ## listen for ipv4; this line is default and implied | |
| server_name munin.example.com; | |
| location / { | |
| alias /var/cache/munin/www/; | |
| } | |
| location ^~ /munin-cgi/munin-cgi-graph/ { |
NewerOlder