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 | |
/** | |
* ANÁLISE CHECKBOX | |
* | |
* Como fazer com que a lista de checkboxes apareça devidamente checados, | |
* sendo que a relação de opcionais estão sendo salvos como sequencia de IDs separados por vírgula (string)? | |
* | |
*/ |
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
# Auto indent file | |
'atom-text-editor': | |
'ctrl-shift-a': 'editor:auto-indent' | |
# Linter-eslint: Fix file | |
'atom-text-editor:not(.mini)': | |
'alt-F': 'linter-eslint:fix-file' | |
# Fix Emmet bug on PHP files | |
'.pane .editor:not(.mini)': |
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
git clone https://github.com/laravel/laravel.com myapp.com |
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
{!! Form::open(['url' => url('/upload'), 'method' => 'POST', 'class' => "form-horizontal", 'role' => "form", 'id'=>'uploadFile']) !!} | |
<div class="row"> | |
<label class="col-lg-2 control-label" for="fileInput">Anexos: </label> | |
<div class="col-lg-6"> | |
<div class="form-group"> | |
<input type="file" class="form-control" id="fileInput" name="file[]" placeholder="Input field" multiple> | |
</div> | |
</div> | |
<div class="col-lg-4"> |
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
# CONFIG Database | |
DB_NAME='' | |
DB_USER='' | |
DB_PASS='' | |
# MYSQL DUMP | |
mysqldump --skip-comments -u$DB_USER -p$DB_PASS $DB_NAME > $DB_NAME.sql | |
# GIT | |
/bin/sh -c 'cd $HOME && /usr/bin/git add --all' |
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 | |
tar czf ~/backups/backup_`date +%d_%m_%Y`.tgz ~/public_html | |
mysqldump -uUSUARIO -pSENHA NOMEBANCO | gzip > backups/NOMEBANCO_`date +%d_%m_%Y`.sql.gz |
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
<body class="loaded"> | |
<!-- Header --> | |
<header id="top" class="header" data-stellar-background-ratio="0.5" style="background-position: -2.08333325386047px -20px;"> | |
<div class="text-vertical-center"> | |
<div class="logo text-center"> | |
<div class="wow fade-in-logo r animated" data-wow-delay="5s" style="visibility: visible; -webkit-animation-delay: 5s;"> | |
<span>R</span> | |
</div> | |
<p class="big-text fade-blur slide1"><span>60+</span>awesome demos</p> |