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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Shadow</title> | |
<script> | |
function addShadow() { | |
const theDiv = document.getElementById("theDiv2") | |
const shadowRoot = theDiv.attachShadow({mode: 'open'}) | |
const para = document.createElement("p") |
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
const fs = require("fs") | |
const AWS = require('aws-sdk'); | |
const bucketPath | |
const main = (imgPath) => { | |
fs.stat(imgPath, function(err, stats) { | |
if (!stats.isDirectory()) { | |
throw new Error(`"${imgPath}" is not a directory.`) | |
} |
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
#!/usr/bin/env python3 | |
##### | |
import argparse | |
import sys | |
class MyToys: | |
@classmethod | |
def setup_args(cls, subparsers): |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Server</title> | |
</head> | |
<body> | |
<h1>Server</h1> | |
<p>This is a test.</p> | |
</body> |
OlderNewer