Skip to content

Instantly share code, notes, and snippets.

Mateus de Leon mateusdeleon

Block or report user

Report or block mateusdeleon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
mateusdeleon / gist:9b8209275a87fb65516c53d36f52c5a8
Created Sep 14, 2018 — forked from vladimirtsyupko/gist:10964772
Git force pull to overwrite local files
View gist:9b8209275a87fb65516c53d36f52c5a8
git fetch --all
git reset --hard origin/master
git pull origin master
mateusdeleon /
Created Jun 21, 2018 — forked from leocomelli/
Lista de comandos úteis do GIT



  • Modificado (modified);
  • Preparado (staged/index)
  • Consolidado (comitted);


mateusdeleon / gist:10700bac5be57a25c9c4
Last active Aug 29, 2015
Teste unitário tabela de soma.
View gist:10700bac5be57a25c9c4
this.shouldaddIntoUndefinedGroup = function () {
var sumQuery = "SELECT * from TM_LOT where lot is null";
//var sumQ2 = "SELECT * from tmovimentation_agg_delta";
var sumDsBefore = database.query(sumQuery);
var tableDs = connection.copyStructureLocalCache('tmovimentation');
for (i=0; i<= 49; i++) {
tableDs.ikey = connection.createKey();
tableDs.iclass = -1891169235;
mateusdeleon / gist:7ad028e98f51866bf83e
Last active Aug 29, 2015
Exemplo para inserção de registros no DataSet.
View gist:7ad028e98f51866bf83e
__includeOnce(-1898141835); // /products/INTEQengine/configuration/iDBCsql library.ijs
var ds = new DataSet();
ds.createField("MAE", "string", 25);
ds.createField("NOME", "string", 50);
ds.createField("CHAVE", "integer");
ds.createField("CODIGO", "integer")
for (i=0; i<= 10000; i++){
You can’t perform that action at this time.