#HTML presentation tools
There are many HTML presentation tools and they are all created for slightly different reasons. Here's an overview. Please let me know if I forgot any.
##CSSS
CSS-based SlideShow System
This gist assumes:
#!/bin/bash | |
# | |
# Implementation of BASH + NCAT chat server | |
# | |
# Author: Anastas Dancha <anapsix@random.io> | |
# Contact: anapsix@random.io | |
# | |
#debug="true" |
import java.io.File; | |
import java.io.IOException; | |
import org.apache.commons.io.FileUtils; | |
import org.apache.commons.math3.stat.descriptive.DescriptiveStatistics; | |
import org.neo4j.graphdb.Direction; | |
import org.neo4j.graphdb.DynamicLabel; | |
import org.neo4j.graphdb.DynamicRelationshipType; | |
import org.neo4j.graphdb.GraphDatabaseService; |
CREATE CONSTRAINT ON(u:User) | |
ASSERT u.id IS unique; | |
:param keysToKeep => ["name", "username", "bio", "following", "followers"]; | |
CALL apoc.load.json("https://gist.github.com/mneedham/3c6a59fb5e7d87e20a2f5f1ae4fa2920/raw/9d7c57997c09b3a105556adb6c6f1819792a4db4/query.json") | |
YIELD value | |
MERGE (u:User {id: value.user.id }) | |
SET u += value.user | |
FOREACH (following IN value.following | | |
MERGE (f1:User {id: following}) | |
MERGE (u)-[:FOLLOWS]->(f1)) |
async function racePromisesPool([ ...prs ] = []) { | |
var raceWon = false; | |
var prListeners = prs.map(function listen(pr,idx){ | |
return pr.then(function t(v){ | |
if (!raceWon) { | |
raceWon = true; | |
prs.splice(idx,1); // remove the promise from the pool since it won the race | |
return v; | |
} | |
}); |
//AppServiceProvider.php | |
Storage::disk('local')->buildTemporaryUrlsUsing(function ($path, $expiration, $options) { | |
return URL::temporarySignedRoute( | |
'local.temp', | |
$expiration, | |
array_merge($options, ['path' => $path]) | |
); | |
}); | |