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
# Test URI | |
# Ignore netbeans folder | |
nbproject/* | |
# Ignore private folder | |
/app/private/* | |
!/app/private/empty | |
# Ignore packed asset files | |
/app/webroot/css/packed/* |
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
.paging { | |
height: 36px; | |
margin: 18px 0; | |
} | |
.paging span{ | |
float: left; | |
padding: 0 14px; | |
line-height: 34px; | |
border-right: 1px solid; | |
border-right-color: #DDD; |
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
/***************************************************************************** | |
* __ __ _ _ ___ _ | |
* \ \/ _\ /\/\ (_)_ __ | |_ _ _ / __\ __ ___ ___| |__ | |
* \ \ \ / \| | '_ \| __| | | | / _\| '__/ _ \/ __| '_ \ | |
* /\_/ /\ \ / /\/\ \ | | | | |_| |_| | / / | | | __/\__ \ | | | | |
* \___/\__/ \/ \/_|_| |_|\__|\__, | \/ |_| \___||___/_| |_| | |
* |___/ | |
* | |
* Identifying and Eliminating Code Smells | |
* |
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
.box{ | |
z-index: 100; | |
/*css3 radius*/ | |
-webkit-border-radius: 5px; | |
-moz-border-radius: 3px; | |
border-radius: 3px; | |
/*css3 shadow*/ | |
box-shadow: 5px 5px 15px #000; | |
-webkit-box-shadow: 5px 5px 15px #000; | |
-moz-box-shadow: 5px 5px 15px #000; |
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
- teste |
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
function imageToBase64(URL) { | |
var imagem = new Image(); | |
imagem.src = URL; | |
imagem.onload = function () { | |
var canvas = document.createElement("canvas"); | |
canvas.width = this.width; | |
canvas.height = this.height; | |
var cvx = canvas.getContext("2d"); | |
cvx.drawImage(this, 0, 0); | |
var dataURL = canvas.toDataURL("image/png"); |
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
#!/bin/bash | |
NOW=$(date +"%m_%d_%Y_%s") | |
if [[ "$1" == "CORE" ]]; then | |
cd /home/Project/CORE | |
else | |
cd /home/Project/www/$1 | |
fi | |
#sudo -u administrator |
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 | |
$json = file_get_contents('php://input'); | |
$data = json_decode($json, true); | |
$branch = $data['ref']; | |
$repo = isset($_GET['repo']) ? $_GET['repo'] : ''; | |
$fs = fopen('commit_logs/' . $repo . '-commit.' . date('ymdhis') . '.log', 'a'); |
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
<div class="col-xs-12 col-sm-4"> | |
<div class="form-group col-xs-12"> | |
<label for="SECAO" class="">SEÇÃO</label> | |
<select name="secao" id="SECAO" class="col-xs-12 select"> | |
<option value="NULL">Todas as Seções</option> | |
<option value="2100">EMPREGOS</option> | |
<option value="1100">IMOVEIS ALUGUEL</option> | |
<option value="1200">IMOVEIS VENDA</option> | |
<option value="8100">MAQ. E EQUIPAMENTOS</option> | |
<option value="7100">MAT DE CONSTRUCAO</option> |
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
$( function(){ | |
var init_form = $('#id_form').serialize(); | |
// Result example: "name=&email=&message=" | |
// Cancel event onbeforeunload when Submit form | |
$(':submit').click(function() { | |
window.onbeforeunload = null; | |
}); | |