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
{ | |
"kind": "ApiConnection", | |
"splitOn": "@triggerBody()['rows']", | |
"inputs": { | |
"schema": { | |
"type": "object", | |
"properties": { | |
"rows": { | |
"type": "array", | |
"items": { |
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
'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. |
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
query PenEmbed($id: ID!, $token: ID) { | |
pen(id: $id, token: $token) { | |
id | |
url | |
token | |
private | |
title | |
urls { | |
id | |
embed |
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 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) { |
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
win1 = window.open("https://www.example.com"); | |
timer1 = setInterval(function(){win1.location.href="https://www.example.com"},10*60*1000); |
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
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.
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
/******************************************************************************* | |
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 | |
********************************************************************************/ |
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
<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 --> |
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 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.') | |
}; | |
} |
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
<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 --> |