This file contains hidden or 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
use mc; | |
ALTER TABLE `code_report` | |
ADD COLUMN `utm_x` REAL NULL DEFAULT NULL, | |
ADD COLUMN `utm_y` REAL NULL DEFAULT NULL, | |
ADD COLUMN `utm_zone_id` INTEGER NULL DEFAULT NULL; | |
ALTER TABLE `codes_raw_report` | |
ADD COLUMN `utm_x` REAL NULL DEFAULT NULL, |
This file contains hidden or 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
use mining_control; | |
ALTER TABLE materials_map | |
ADD is_destination INTEGER NULL DEFAULT 1; | |
ALTER TABLE code_report | |
ADD utm_x REAL DEFAULT NULL, | |
utm_y REAL NULL, | |
utm_zone_id INTEGER NULL; |
This file contains hidden or 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
# deb cdrom:[Ubuntu 18.04.1 LTS _Bionic Beaver_ - Release amd64 (20180725)]/ bionic main restricted | |
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
# newer versions of the distribution. | |
deb http://br.archive.ubuntu.com/ubuntu/ bionic main restricted | |
# deb-src http://br.archive.ubuntu.com/ubuntu/ bionic main restricted | |
## Major bug fix updates produced after the final release of the | |
## distribution. | |
deb http://br.archive.ubuntu.com/ubuntu/ bionic-updates main restricted |
This file contains hidden or 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
#include <utils/notification_manager.h> | |
#include <utils/ar2gems_base_object.h> | |
#include <utils/data_service.h> | |
#include <utils/string_manipulation.h> | |
using namespace ar2tech; | |
/* Object notifications */ | |
std::string add_notification_signal() { return "add"; } | |
class Add_notification : public Notification { |
This file contains hidden or 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
/* | |
Mining Control | |
MINING FLOWCHART INFO | |
(c) 2015-2016, Escrito por Péricles Lopes Machado <[email protected]> | |
*/ | |
#pragma once |
This file contains hidden or 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
//================================= | |
GsTLAppli_Python_initialize::GsTLAppli_Python_initialize() | |
{ | |
Py_InitializeEx(1); | |
PyEval_InitThreads(); | |
} | |
GsTLAppli_Python_initialize::~GsTLAppli_Python_initialize() | |
{ | |
Py_Finalize(); |
This file contains hidden or 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
AsyncTask<ResultType> task = new AsyncTask<>(); | |
task | |
.setTask(new Task() { | |
void run() { | |
doSomething(); | |
} | |
}) | |
.setResultListener(new ResultListener<ResultType>() { | |
void onResult(ResultType v) { |
This file contains hidden or 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
#include "common/values.h" | |
#include "clients/client.h" | |
struct MyContext { | |
std::string filename; | |
void execute(Response& r) { save_response_on_file(filename, r); } | |
}; | |
void execute_a_complex_task() { | |
//create a node connection |