Creating a new PHPExcel Object.
$this->PHPExcel = new PHPExcel();
Creating a new sheet:
#include <stdio.h> | |
#include <stdlib.h> | |
#include <unistd.h> | |
#include <string.h> | |
#include <sys/types.h> | |
#include <sys/socket.h> | |
#include <netinet/in.h> | |
#include <netdb.h> | |
<?php | |
define('APACHE_MIME_TYPES_URL','http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types'); | |
function generateUpToDateMimeArray($url){ | |
$s=array(); | |
foreach(@explode("\n",@file_get_contents($url))as $x) | |
if(isset($x[0])&&$x[0]!=='#'&&preg_match_all('#([^\s]+)#',$x,$out)&&isset($out[1])&&($c=count($out[1]))>1) | |
for($i=1;$i<$c;$i++) | |
$s[]=' \''.$out[1][$i].'\' => \''.$out[1][0].'\''; | |
return @sort($s)?'$mime_types = array(<br />'.implode($s,',<br />').'<br />);':false; |
$( function(){ | |
var init_form = $('#id_form').serialize(); | |
// Result example: "name=&email=&message=" | |
// Cancel event onbeforeunload when Submit form | |
$(':submit').click(function() { | |
window.onbeforeunload = null; | |
}); | |
<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> |
<?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'); |
#!/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 |
{ | |
"name": "wiremock", | |
"version": "0.1.0", | |
"description": "wiremock", | |
"config": { | |
"wiremock_url": "http://repo1.maven.org/maven2/com/github/tomakehurst/wiremock-standalone/2.6.0/wiremock-standalone-2.6.0.jar" | |
}, | |
"watch": { | |
"wiremock:reload": "{__files,mappings}/*.json" | |
}, |
If you want to delete all your commit history but keep the code in its current state it is very safe to do it as in the following:
Checkout
git checkout --orphan latest_branch
Add all the files
Dm | |
eu | |
Am | |
tão isósceles | |
E | |
você ângulo | |
hipóteses | |
Am | |
sobre o meu tesão | |
Dm |