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
<script> | |
import Icon from './Icon.xht'; | |
let name = 'world'; | |
</script> | |
<Icon /> | |
<Icon class="green bold" /> | |
<br/> | |
<Icon class="aqua big" /> |
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
<script> | |
import Child from './Child.xht'; | |
let forChild = 'glob bold hovered subtext'; | |
let checked = false; | |
$runtime.addStyles('glob-css', `.glob {color:deeppink}`); | |
</script> | |
<div class="box"> |
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
<script> | |
import Button from './Button.xht'; | |
</script> | |
<Button .btn="red bold" name="Red bold" /> | |
<Button .btn="purple" name="Purple" /> | |
<Button name="Default" /> | |
<style> | |
.red {color: red;} |
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
<script> | |
import Button from './Button.xht'; | |
</script> | |
<h1>Pass class</h1> | |
<Button name="Red" class="btn" /> | |
<Button name="Default" /> | |
<style> |
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
<script> | |
import Child from './Child.xht'; | |
let cond = true; | |
</script> | |
<input type="checkbox" :checked={cond} /> | |
<Child .header="red bold" .body:italic={cond} /> | |
<style> |
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
<script> | |
import Child from './Child.xht'; | |
let cond = true; | |
</script> | |
<input type="checkbox" :checked={cond} /> | |
<Child class="red italic" class:bold={cond} /> | |
<style> |
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
<script> | |
import Icon from './Icon.xht'; | |
let name = 'world'; | |
</script> | |
<Icon /> | |
<Icon .icon="green bold" /> | |
<br/> | |
<Icon .icon="aqua big" /> |
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
import requests | |
import time | |
def main(): | |
ok = 0 | |
fail = 0 | |
for i in range(1000): | |
try: | |
r = requests.post('https://web.smscom.se/sendSms/sendSms.asmx') | |
print(i, r, r.content[:100] + b'...') |
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
<script> | |
const run = () => {}; | |
const runLots = () => {}; | |
const add = () => {}; | |
const partialUpdate = () => {}; | |
</script> | |
{#fragment:button id, name} | |
<div class="col-sm-6 smallpad"> | |
<button type="button" class="btn" id={id} @click>{name}</button> |
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> | |
<style>.x {display: grid;}</style> | |
</head> | |
<body> | |
<p><div class="x"><div></p></div> | |
<p><div class="x"><div></p></div> | |
<p><div class="x"><div></p></div> |