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
git log --pretty=format:'{%n "commit": "%H",%n "author": "%an <%ae>",%n "date": "%ad",%n "message": "%f"%n},' $@ | perl -pe 'BEGIN{print "["}; END{print "]\n"}' | perl -pe 's/},]/}]/' > commits-log.JSON |
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
git log --pretty=format:\ | |
"{\ | |
%n \"commit\":\"%H\",\ | |
%n \"data\":\"%ai\",\ | |
%n \"nome\":\"%an\",\ | |
%n \"email\":\"%ae\",\ | |
%n \"commiter\":\"%cn\",\ | |
%n \"mensagem\":\"%s\"\ | |
%n}" > log4JSON.json |
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
create database lab_4_5_2015; | |
use lab_4_5_2015; | |
-- Criando tabela de Vendedores | |
create table vendedores ( | |
vn char(3) primary key, | |
vnome char(20), | |
cidade char(15) | |
); |
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
using System; | |
using System.Windows.Forms; | |
using System.Text.RegularExpressions; | |
namespace WindowsFormsApplication1 | |
{ | |
public partial class Form1 : Form | |
{ | |
public Form1() | |
{ |
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
{ | |
"Seti_SB_med": true, | |
"Seti_in_4_a_treat": true, | |
"Seti_pad_3": true, | |
"Seti_pad_5": true, | |
"Seti_sb_small_padding": true, | |
"Seti_sb_tree_med": true, | |
"Seti_tabs_small": true, | |
"caret_extra_bottom": 0, | |
"caret_extra_top": 0, |
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
// ------------------------------------------ | |
// -----------------14257042----------------- | |
// --------ROBERTO OLIVEIRA DA SILVA--------- | |
// ------------ESTRUTURA DE DADOS------------ | |
// -------------------AEDB------------------- | |
// ------------------------------------------ | |
// OBS: Esse código foi feito e testado usando Windows 10 e DEV-C++ 5.11 | |
#include <stdio.h> |
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 | |
use Illuminate\Foundation\Testing\WithoutMiddleware; | |
use Illuminate\Foundation\Testing\DatabaseMigrations; | |
use Illuminate\Foundation\Testing\DatabaseTransactions; | |
class ProdutoTest extends TestCase | |
{ | |
/** | |
* Páginas atuais que precisam de autenticação para serem acessadas |
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 | |
/** | |
* Leve em consideração que vc têm o htaccess dessa forma: | |
* RewriteEngine on | |
* RewriteCond %{REQUEST_FILENAME} !-f | |
* RewriteCond %{REQUEST_FILENAME} !-d | |
* RewriteRule ^(.+)(\?.+)?$ index.php?params=$1 [L,QSA] | |
*/ | |
/** |
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
<!DOCTYPE html> | |
<html lang="pt-br"> | |
<body> | |
<form action="http://www.aspescola.com.br/app/appAuth" method="post" name="formularioAluno" role="form"> | |
<input name="txt_CdInstituicao" type="hidden" value="277"> | |
<input id="username" name="j_username" type="hidden"> | |
<input id="password" name="j_password" type="hidden"> | |
<input name="txt_DsRespostaSecreta" type="hidden" value="277"> | |
<input name="txt_IdTipoUsuario" type="hidden" value="3"> | |
<input id="txt_IdModulo" name="txt_IdModulo" type="hidden" value="2"> |
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
using System.Data.SqlClient; | |
namespace Project.Infra | |
{ | |
// Singleton Class | |
class Connection | |
{ | |
// Connection's configuration: | |
private static string connectionString = @"YOUR-CONNECTION-STRING"; | |
private static Connection singleton; |
OlderNewer