Skip to content

Instantly share code, notes, and snippets.

{
"kind": "ApiConnection",
"splitOn": "@triggerBody()['rows']",
"inputs": {
"schema": {
"type": "object",
"properties": {
"rows": {
"type": "array",
"items": {
'use strict';
// We start by accepting an input string of code, and we're gonna set up two
// things...
function tokenizer(input) {
// A `current` variable for tracking our position in the code like a cursor.
let current = 0;
// And a `tokens` array for pushing our tokens to.
@rxctionzz
rxctionzz / penEmbed.gql
Created January 6, 2023 17:16
codepen embed graphql
query PenEmbed($id: ID!, $token: ID) {
pen(id: $id, token: $token) {
id
url
token
private
title
urls {
id
embed
function init() {
var sName
var i
try {
sName = unescape(location.href)
i = sName.lastIndexOf(.)
if (i >= 0) {
sName = sName.substring(1 i = sName.lastIndexOf(/)
if (i >= 0) {
sName = sName.substring(i + 1 document.title = sName; document.getElementById(tdName).innerText = sName; sDescription = document.getElementById(docprops).innerHTML; i = sDescription.indexOf(escription > ) if (i >= 0) {
win1 = window.open("https://www.example.com");
timer1 = setInterval(function(){win1.location.href="https://www.example.com"},10*60*1000);
class Clock {
constructor({ template }) {
this.template = template;
}
render() {
let date = new Date();
let hours = date.getHours();
if (hours < 10) hours = "0" + hours;
This file has been truncated, but you can view the full file.
/*******************************************************************************
Chinook Database - Version 1.4
Script: Chinook_Sqlite.sql
Description: Creates and populates the Chinook database.
DB Server: Sqlite
Author: Luis Rocha
License: http://www.codeplex.com/ChinookDatabase/license
********************************************************************************/
@rxctionzz
rxctionzz / index.html
Created December 23, 2022 23:14
JSON to Table (No Dependencies)
<div class="container">
<div class="page-header">
<h1>JSON to Table</h1>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="data">Data</label>
<textarea name="data" id="data" rows="20" class="form-control"></textarea>
</div><!-- form-group -->
function ajax(settings) {
if (typeof XMLHttpRequest === 'undefined') {
XMLHttpRequest = function() {
try { return new ActiveXObject('Msxml2.XMLHTTP.6.0') } catch ( e ) {}
try { return new ActiveXObject('Msxml2.XMLHTTP.3.0') } catch ( e ) {}
try { return new ActiveXObject('Msxml2.XMLHTTP') } catch ( e ) {}
throw new Error('This browser does not support XMLHttpRequest.')
};
}
@rxctionzz
rxctionzz / index.html
Created December 20, 2022 03:47
JSON to Table (No Dependencies)
<div class="container">
<div class="page-header">
<h1>JSON to Table</h1>
</div>
<div class="row">
<div class="col-md-6">
<div class="form-group">
<label for="data">Data</label>
<textarea name="data" id="data" rows="20" class="form-control"></textarea>
</div><!-- form-group -->