Let's say you want to host domains first.com
and second.com
.
Create folders for their files:
<public:attach event="ondocumentready" onevent="CSSHover()" /> | |
<script> | |
/** | |
* Whatever:hover - V3.11 | |
* ------------------------------------------------------------ | |
* Author - Peter Nederlof, http://www.xs4all.nl/~peterned | |
* License - http://creativecommons.org/licenses/LGPL/2.1 | |
* | |
* Special thanks to Sergiu Dumitriu, http://purl.org/net/sergiu, | |
* for fixing the expression loop. |
web: (bash ./start.sh) & vendor/bin/heroku-php-nginx public/ |
import asyncio | |
import random | |
q = asyncio.Queue() | |
async def producer(num): | |
while True: | |
await q.put(num + random.random()) | |
await asyncio.sleep(random.random()) |
<template> | |
<div class="row text-center"> | |
<div class="col-md-12 mb-3"> | |
<label>Upload your resume</label> | |
<small>(.pdf or .docx file please)</small> | |
</div> | |
<div class="col-4 offset-4 text-center mb-3"> | |
<!-- Upload resume button. Trigger function on browser file upload --> | |
<input type="file" name="resume" @change="uploadResume" class="form-control-file"> | |
</div> |
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
<!DOCTYPE HTML> | |
<html> | |
<head><title>Sample HTML Select for Alpha-2 Country Codes</title></head> | |
<body> | |
<p> | |
This is a sample of the generated output of a Country Code utility class that I created - as part of a larger utility library that I use for client projects. | |
</p> | |
<p> |
Step 1 | |
Install using composer this package | |
composer require kopokopo/k2-connect-php | |
Step 2 | |
Get production credentials from your KopoKopo account. Feed the requisite parameters and you are ready to go. |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet"> | |
<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected]/dist/alpine.min.js" defer></script> | |
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script> | |
<title>Alpine and axios</title> | |
</head> |