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
<html> | |
<head> | |
<script src="https://code.jquery.com/jquery-3.6.1.slim.min.js" integrity="sha256-w8CvhFs7iHNVUtnSP0YKEg00p9Ih13rlL9zGqvLdePA=" crossorigin="anonymous"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/typeit/8.7.0/index.es.min.js" integrity="sha512-wfiZquj4Ld1EW8zxfGIRD09TcQMUl5A6QwT6zta+4B3VSYoNXCVc7dG7wq4pNcS9yf3A2pSqijULWbjFi8luVQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css" integrity="sha512-xh6O/CkQoPOWDdYTDqeRdPCVd1SpvCA9XXcUnZS2FmJNp1coAFzvtCN9BmamE+4aHK8yyUHUSCcJHgXloTyT2A==" crossorigin="anonymous" referrerpolicy="no-referrer" /> | |
<style> | |
@import 'https://cdnjs.cloudflare.com/ajax/libs/hack-font/3.3.0/web/hack.min.css'; | |
body { | |
background : #bdc3c7 ; |
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
import oci | |
import base64 | |
import os | |
import oracledb | |
from oci.config import from_file, validate_config | |
import time | |
from cryptography.hazmat.primitives.serialization \ | |
import pkcs12, Encoding, PrivateFormat, BestAvailableEncryption | |
# Wallet directory |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>QuickSQL Standalone</title> | |
<style> | |
html, body { | |
height: 100%; | |
width: 100%; | |
padding: 0; | |
margin: 0; |
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
/* | |
*** 2023-02-22 05:03:44.482 (M18VE(3)) | |
*** SESSION ID:(3405.27040) 2023-02-22 05:03:44.482 | |
*** CLIENT ID:() 2023-02-22 05:03:44.482 | |
*** SERVICE NAME:(sm18ve) 2023-02-22 05:03:44.482 | |
*** MODULE NAME:(JDBC Thin Client) 2023-02-22 05:03:44.482 | |
*** ACTION NAME:() 2023-02-22 05:03:44.482 | |
*** CLIENT DRIVER:() 2023-02-22 05:03:44.482 | |
*** CONTAINER ID:(3) 2023-02-22 05:03:44.482 | |
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
// ==UserScript== | |
// @name Raptor Web | |
// @namespace http://localhost:8080/ords/klrice/ | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author You | |
// @match http://localhost:8080/ords/klrice/* | |
// @grant none | |
// @run-at document-idle | |
// ==/UserScript== |
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 table todo(id NUMBER GENERATED by default on null as IDENTITY, todo_for varchar2(200)); | |
// | |
var DBUtil = Java.type("oracle.dbtools.db.DBUtil"); | |
var binds={}; | |
binds.name="Oliver"; | |
sql = "insert into todo(todo_for) values(:name)"; |
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
<?xml version="1.0"?> | |
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://www.eclipse.org/jetty/configure_10_0.dtd"> | |
<!-- | |
Drop this file into | |
../global/standalone/etc/jetty-accesslog.xml | |
--> | |
<!-- =============================================================== --> |
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
import http from "k6/http"; | |
import encoding from 'k6/encoding'; | |
/* | |
* | |
Run with No Auth | |
k6 run -e AUTH=NONE --vus 10 --iterations 100 k6.js | |
Run with OAuth | |
k6 run -e AUTH=OAUTH --vus 10 --iterations 100 k6.js |
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
var fetch = require('node-fetch'); | |
// | |
// generate random string | |
// | |
/* | |
Sample output | |
inserting :50000 rows | |
Rows:244,652 | |
http: 7.429s |
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
DECLARE | |
l_comp_ocid varchar2(200); | |
l_tenant_ocid varchar2(200); | |
all_buckets DBMS_CLOUD_OCI_IDENTITY_COMPARTMENT_TBL; | |
function lsComp(p_tenant_ocid varchar2, | |
p_region varchar2, | |
p_cred varchar2 default 'OCI$RESOURCE_PRINCIPAL', | |
p_page varchar2 default null) return DBMS_CLOUD_OCI_IDENTITY_COMPARTMENT_TBL | |
as |
NewerOlder