This file contains 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
[root@server bin]# ./pecl install oci8-2.0.12 | |
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update | |
downloading oci8-2.0.12.tar ... | |
Starting to download oci8-2.0.12.tar (1,615,360 bytes) | |
.............................................................................................................................. .............................................................................................................................. ..................................................................done: 1,615,360 bytes | |
11 source files, building | |
running: phpize | |
Configuring for: | |
PHP Api Version: 20131106 | |
Zend Module Api No: 20131226 |
This file contains 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 Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
This file contains 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
CREATE OR REPLACE PROCEDURE PLMAIL | |
is | |
l_mail_conn UTL_SMTP.connection; | |
l_boundary VARCHAR2(50) := '----=*#abc1234321cba#*='; | |
l_step PLS_INTEGER := 12000; | |
p_to varchar2(100) default 'to@mail.com' ; | |
p_from varchar2(100) default 'from@mail.com' ; | |
p_subject varchar2(200) default 'sample pl/sql using html as mail text' ; |
This file contains 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 getData(){ | |
var jqhxr = $.ajax({ | |
type: 'GET', | |
url: 'https://<-my REST endpoint->', | |
"async": true, | |
"crossDomain": true, | |
dataType: 'json', | |
"headers": { | |
"x-apikey": "<-my API key->", | |
"content-type": "application/json" } |
This file contains 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
{ | |
"Line": [ | |
{ | |
"Amount": 100.00, | |
"DetailType": "SalesItemLineDetail", | |
"SalesItemLineDetail": { | |
"ItemRef": { | |
"value": "1", | |
"name": "Services" | |
} |