<?php | |
namespace Tests\Feature; | |
use Illuminate\Foundation\Testing\RefreshDatabase; | |
use Illuminate\Foundation\Testing\WithFaker; | |
use Tests\TestCase; | |
use App\User; | |
use Illuminate\Support\Facades\DB; |
<?php | |
namespace Tests\Feature; | |
use Illuminate\Foundation\Testing\RefreshDatabase; | |
use Illuminate\Foundation\Testing\WithFaker; | |
use Tests\TestCase; | |
use App\User; | |
use Illuminate\Foundation\Testing\WithoutMiddleware; |
internal/modules/cjs/loader.js:883 | |
throw err; | |
^ | |
Error: Cannot find module 'C:\Users\oscar\Desktop\node\03- bases node\helpers\app.js' | |
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15) | |
at Function.Module._load (internal/modules/cjs/loader.js:725:27) | |
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) | |
at internal/main/run_main_module.js:17:47 { | |
code: 'MODULE_NOT_FOUND', |
//if the port is open it closes | |
if ol_mscomm.object.PortOpen then | |
ol_mscomm.object.PortOpen = false | |
end if | |
//port reading process | |
try | |
ol_mscomm.object.CommPort = as_puerto | |
ol_mscomm.object.Settings = as_config_puerto | |
ol_mscomm.object.Handshaking= 0 |
//this module corresponds to an OleCustomControl object of powerbuilder, the read COM port function is called, which is also among my GIST | |
String ls_car | |
integer peso | |
// the object is read until a 6-digit result is obtained if the ascci character 10 is detected | |
if MSCOMM_LEER_PESO_LO.object.CommEvent = 2 then | |
ls_car = MSCOMM_LEER_PESO_LO.object.Input | |
if Asc(ls_car) = 13 then Return |
These instructions are meant to address the error generated by PowerBuilder when used with Oracle 9i, which does not recognize the Oracle TNSNames when creating a data profile. This bug is fixed in Oracle 11.
-
Install the Oracle 9i client:
- Begin by installing the Oracle 9i client in the usual manner.
-
Run PowerBuilder Installer:
- Run the PowerBuilder installer and follow the provided instructions.
// call the function "f_envia_smtp_pbni" with the following parameters | |
string ls_recipient = 'Oscar Tristan <oscar_tristan_13@hotmail.com>' | |
string ls_subject = 'This is a message sent from PBNI' | |
string ls_message = 'Hello, I sent this message from PB' | |
string ls_attach = 'My file path' | |
f_envia_smtp_pbni(ls_recipient,ls_subject,ls_message,ls_attach) |
Un gist es una forma que se tiene para poder compartir código usando GitHub.
Cuando tenemos un código que no es lo suficientemente grande para crear un repositorio, entonces creamos un gist. Aunque gist funciona básicamente cómo un repositorio, ya que se le puede hacer un fork o clonarlo. Así mismo se puede editar y las personas pueden comentar el gist.
Muchas personas usan gist cómo un portapapeles. Para subir código que siempre sueles usar en diferentes proyectos. También se suele usar cómo una forma de hacer posts. Cómo este que estas viendo.
// This class receives as parameters a sql query and a field which brings us the result of the query and saves it in a string | |
// | |
using Oracle.ManagedDataAccess.Client; | |
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
namespace ssh_CShP | |
{ |