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
| 0|server | Error | |
| 0|server | at api.alterarStatusCarga.then.catch (/home/ec2-user/server/src/modOferecimento/controllers/OferecerController.js:685:29) | |
| 0|server | at <anonymous> | |
| 0|server | at runMicrotasksCallback (internal/process/next_tick.js:121:5) | |
| 0|server | at _combinedTickCallback (internal/process/next_tick.js:131:7) | |
| 0|server | at process._tickCallback (internal/process/next_tick.js:180:9) | |
| 0|server | TypeError: Cannot read property 'length' of undefined | |
| 0|server | at Object.api.alterarStatusCarga (/home/ec2-user/server/src/modOferecimento/controllers/OferecerController.js:632:48) | |
| 0|server | at api.oferecer (/home/ec2-user/server/src/modOferecimento/controllers/OferecerController.js:679:19) | |
| 0|server | at <anonymous> |
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
| INSTALAÇÃO ORACLE INSTANT CLIENT - UBUNTU | |
| 01 - BAIXAR NO SITE DA ORACLE OS ARQUIVO RPM: | |
| oracle-instantclient12.2-basic-12.2.0.1.0-1.x86_64.rpm | |
| oracle-instantclient12.2-sqlplus-12.2.0.1.0-1.x86_64.rpm | |
| oracle-instantclient12.2-devel-12.2.0.1.0-1.x86_64.rpm | |
| 02 - INSTALAR OS 2 PACOTES | |
| sudo apt-get install libaio1 | |
| sudo apt-get install alien |
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
| showAlertError(error) { | |
| console.log('showAlert'); | |
| console.log(error); | |
| $('div.error').text(error); | |
| $('div.error').removeAttr('hidden'); | |
| } | |
| errorSend(err) { | |
| var user = JSON.parse(window.localStorage.getItem('user')); | |
| //var errJson = ""; |
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
| { | |
| "transportadora": { | |
| "-dthratualizacao": "06/12/2017 11:39", | |
| "notasfiscais": { | |
| "origem": [ | |
| { | |
| "-cnpj": "60744463005078", | |
| "notafiscal": [ | |
| { | |
| "-numero": "84229849", |
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
| $(function () { | |
| "use strict"; | |
| // for better performance - to avoid searching in DOM | |
| var content = $('#content'); | |
| var input = $('#input'); | |
| var status = $('#status'); | |
| // my color assigned by the server | |
| var myColor = false; |
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
| {"id_agente":"1","port":"/dev/ttyUSB0","mysql_user":"fairtek","mysql_pass":"FSNjMZNhL6PzhTSR", | |
| "mysql_url":"jdbc:mysql://oficina.hml.oficina5.com.br:3306/fairtek?serverTimezone=UTC&useSSL=false" | |
| } |
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
| module.exports = { | |
| copyAssets: { | |
| src: ['{{SRC}}/assets/**/*'], | |
| dest: '{{WWW}}/assets' | |
| }, | |
| copyIndexContent: { | |
| src: ['{{SRC}}/index.html', '{{SRC}}/manifest.json', '{{SRC}}/service-worker.js'], | |
| dest: '{{WWW}}' | |
| }, | |
| copyFonts: { |
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
| //cria pasta do projeto | |
| $ mkdir todolist | |
| $ cd todolist | |
| //inicia npm package | |
| $ npm init | |
| //instalar dependencias | |
| $ npm i --save mysql2 |
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
| #!/bin/bash | |
| killall Xcode | |
| xcrun -k | |
| xcodebuild -alltargets clean | |
| rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache" | |
| rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang.$(whoami)/ModuleCache" | |
| rm -rf ~/Library/Developer/Xcode/DerivedData/* | |
| rm -rf ~/Library/Caches/com.apple.dt.Xcode/* | |
| open /Applications/Xcode.app |
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
| 18/06/2018 15:14:25 ERROR: uncaughtException: Cannot read property 'query' of undefined | |
| {"date":"Mon Jun 18 2018 15:14:25 GMT-0300 (BRT)","process":{"pid":32563,"uid":1002,"gid":1002,"cwd":"/var/www/manual/madiba-server","execPath":"/usr/bin/nodejs","version":"v7.10.1","argv":["/usr/bin/nodejs","/usr/local/lib/node_modules/pm2/lib/ProcessContainerFork.js"],"memoryUsage":{"rss":76550144,"heapTotal":47005696,"heapUsed":43150120,"external":2399096}},"os":{"loadavg":[1.8759765625,2.1611328125,1.51220703125],"uptime":1133595},"trace":[{"column":87,"file":"/var/www/manual/madiba-server/controllers/projetos.controllers.js","function":null,"line":357,"method":null,"native":false},{"column":9,"file":"/var/www/manual/madiba-server/node_modules/mysql/lib/Pool.js","function":"Handshake.onConnect [as _callback]","line":58,"method":"onConnect [as _callback]","native":false},{"column":24,"file":"/var/www/manual/madiba-server/node_modules/mysql/lib/protocol/sequences/Sequence.js","function":"Handshake.Sequence.end","line":8 |