I hereby claim:
- I am webkod3r on github.
- I am webkod3r (https://keybase.io/webkod3r) on keybase.
- I have a public key whose fingerprint is BF81 3595 6374 D781 97CB 16D5 76E9 E96F 0949 58D3
To claim this, I am signing this object:
<?php | |
add_action( 'after_setup_theme', 'bootstrap_setup' ); | |
if ( ! function_exists( 'bootstrap_setup' ) ): | |
function bootstrap_setup(){ | |
add_action( 'init', 'register_menu' ); | |
function register_menu(){ | |
register_nav_menu( 'top-bar', 'Bootstrap Top Menu' ); | |
} |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
https://css-tricks.com/snippets/wordpress/ |
# Before Script | |
before_script: | |
- composer self-update | |
- composer install --prefer-dist > /dev/null | |
- cp .env.example .env | |
- php artisan key:generate | |
- php artisan migrate:refresh | |
# Services | |
services: |
git branch --merged | grep -v "\*" | xargs -n 1 git branch -d |
<?php | |
/** | |
* A helper file for Laravel 5, to provide autocomplete information to your IDE | |
* Generated for Laravel 5.4.11 on 2017-02-14. | |
* | |
* @author Barry vd. Heuvel <barryvdh@gmail.com> | |
* @see https://github.com/barryvdh/laravel-ide-helper | |
*/ | |
namespace { | |
exit("This file should not be included, only analyzed by your IDE"); |
parse_git_branch() { | |
git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/ (\1)/' | |
} | |
PS1='\[\033[0;33m\]\u\[\033[0m\]@\[\033[0;32m\]\h\[\033[0m\]:\[\033[0;34m\]\w\[\033[0m\]$(parse_git_branch)\$ ' |
I hereby claim:
To claim this, I am signing this object:
SELECT @@global.time_zone, @@session.time_zone; | |
-- change the mysql server time zone | |
SET GLOBAL time_zone = '-05:00'; | |
set time_zone = '-05:00'; | |
-- other option to change the configuration | |
-- In the file "my.cnf" in the [mysqld] section | |
-- default-time-zone='-05:00' |
<?php | |
namespace App\Libraries\Queue; | |
use Illuminate\Events\Dispatcher; | |
use Illuminate\Queue\DatabaseQueue; | |
use Illuminate\Support\Str; | |
use Laravel\Horizon\Events\JobDeleted; | |
use Laravel\Horizon\Events\JobPushed; | |
use Laravel\Horizon\Events\JobReleased; |