Instantly share code, notes, and snippets.

View gist:9b8209275a87fb65516c53d36f52c5a8
git fetch --all
git reset --hard origin/master
git pull origin master
View git.md

#GIT

Estados

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

Ajuda

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.append();
tableDs.ikey = connection.createKey();
tableDs.iclass = -1891169235;
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")
ds.create();
for (i=0; i<= 10000; i++){