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
```json | |
{ | |
"recommendations": [ | |
{ | |
"name": "Saga", | |
"publisher": "Image Comics", | |
"reason": "Saga is a space opera with a diverse cast of characters, including many strong and complex women. It explores themes of family, war, and love in a unique and imaginative way." | |
}, | |
{ | |
"name": "Y: The Last Man", |
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
```json | |
{ | |
"answer": "Light exhibits a dual nature, behaving both as a wave and as a particle. This phenomenon is known as wave-particle duality. | |
**Wave Nature of Light:** | |
* **Diffraction and Interference:** Light waves can bend around obstacles and interfere with each other, creating patterns like those seen in a double-slit experiment. | |
* **Polarization:** Light waves can be polarized, meaning their vibrations can be restricted to a specific plane. | |
**Particle Nature of Light:** |
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
## The Nature of Light: A Duality | |
Light, that fascinating phenomenon that illuminates our world, has a complex and intriguing nature. It exhibits properties of both **waves and particles**, a concept known as **wave-particle duality**. | |
**Light as a Wave:** | |
* **Diffraction and Interference:** Light waves can bend around obstacles and interfere with each other, creating patterns like those seen in a rainbow or through a prism. This behavior is characteristic of waves and is explained by the **wave theory of light**. | |
* **Electromagnetic Spectrum:** Light is a form of electromagnetic radiation, which exists as a continuous spectrum of wavelengths, including radio waves, microwaves, infrared, visible light, ultraviolet, X-rays, and gamma rays. | |
**Light as a Particle:** |
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
There are 595 items in the log. | |
ip browser location ref time | |
======================================================================================================================================================================================== | |
76.72.11.67 Edge 123, Windows 10 Lafayette, Louisiana, United States | |
196.240.58. Vivaldi 5, Linux i686 Paris, Île-de-France, France https://www.raymondcamden.com/ | |
182 | |
196.199.40. PHP/5.3.87 |
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
export let tests = { | |
good:[], | |
bad:[] | |
} | |
tests.good.push(`Hello All! | |
Thank you all for joining us today, we hope you enjoyed the workshop! For anyone that wasn't able to make it of would like to refer back this link will take you to a recording of the event: | |
https://drive.google.com/file/d/1h1IH7ns-3ywxi00Y6cDl_TpYG7v6Y2gF/view?usp=sharing |
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
{ | |
"assetID": "urn:aaid:AS:UE1:23c30ee0-2c4d-46d6-87f2-087832fca718", | |
"documentLanguage": "en-US" | |
} |
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
{ | |
"type":"CALLBACK", | |
"data": { | |
"url":"your webhook url", | |
"headers": { | |
"name":"value" | |
} | |
} | |
} |
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
{ | |
"assetID": "urn:aaid:AS:UE1:23c30ee0-2c4d-46d6-87f2-087832fca718", | |
"documentLanguage": "en-US", | |
"notifiers": [ | |
{ | |
"type": "CALLBACK", | |
"data": { | |
"url": "https://dummy.callback.org/" | |
} | |
} |
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
async function createPDFJob(asset, webhook, token, clientId) { | |
let body = { | |
'assetID': asset.assetID, | |
'documentLanguage': 'en-US', | |
'notifiers': [ | |
{ | |
'type':'CALLBACK', | |
'data':{ | |
'url':webhook |
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
/* | |
Used to debug webhook notifications. | |
Will need to be used with ngrok. | |
Thanks to Todd Sharp for the base code I modified. | |
*/ | |
import * as http from 'http'; | |
async function handler(req, res) { | |
console.log('Entered webhook handler.'); |
NewerOlder