Example result:
- Add your background images into a ‘background folder’
- Copy the code in an .html file next to this folder, and start a web server here.
# Extracts constant Go regular expressions from GitHub | |
# using BigQuery GitHub public dataset. | |
# To run on the entire GitHub corpus, | |
# remove the `sample_` prefix from the table names. | |
# Warning: This query processes ~2.2 TB of data, which is above BigQuery free quota. | |
SELECT | |
REGEXP_EXTRACT(pattern, r'^[\"\`](.*)[\"\`]$') as pattern, | |
COUNT(*) AS cnt, | |
FROM ( | |
SELECT |
# Analyse impact of https://github.com/golang/go/issues/21463 | |
# using BigQuery GitHub public dataset. | |
# To run on the entire GitHub corpus, | |
# remove the `sample_` prefix from the table names. | |
# Warning: This query processes ~2.2 TB of data, which is above BigQuery free quota. | |
SELECT | |
applies, | |
COUNT(*) AS cnt |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Steren Giannini, portfolio</title> | |
<meta name="description" content="Hello, WebVR! - A-Frame"> | |
<script src="https://aframe.io/releases/0.6.0/aframe.min.js"></script> | |
</head> | |
<body> | |
<a-scene> | |
<a-assets> |
public class Application extends Controller { | |
@Catch(value={Exception.class}) | |
public static void onException(Exception ex) { | |
StringWriter exceptionWriter = new StringWriter(); | |
ex.printStackTrace(new PrintWriter(exceptionWriter)); | |
Map<String, Object> payload = new HashMap<String, Object>(); | |
payload.put("message", exceptionWriter.toString()); | |
Map<String,String> serviceContextData = new HashMap<String, String>(); |
I really liked how Duminda Perera showcased her colors in "Minimalist Color Palettes 2015" https://www.behance.net/gallery/32154055/Minimalist-Color-Palettes-2015. I decided to use this palette showcase technique to with the theme of my wedding.
#!/bin/bash | |
FILE=$(echo pingstats-$(date '+%Y-%m-%d-%H-%M').csv) | |
echo "datetime,min,avg,max,stddev" > ${FILE} | |
while true | |
do | |
NOW=$(date -u +"%Y-%m-%d %H:%M:%S") | |
# retrieve data from ping: min,avg,max,stddev | |
VALUES=$(ping -c 4 steren.fr | tail -1 | awk '{print $4}' | sed 's/\//,/g') | |
echo "${NOW},${VALUES}" >> ${FILE} |
# Add this file at the root of your directory, | |
# and your static files in a public/ folder. | |
# Use 'gcloud preview app deploy .' to publish to AppEngine. | |
runtime: python27 | |
api_version: 1 | |
threadsafe: true | |
handlers: | |
- url: /(.+) |
var rows = []; | |
$('table.startups tr').each(function(i, n){ | |
var $row = $(n); | |
var connect = {}; | |
$row.find('td.connect a').each(function(j, m){ | |
var href = $(m).attr('href'); | |
var key = 'contact'; |
// Poker Tournament script | |
// by Steren Giannini http://www.steren.fr | |
// # How to use | |
// Use "=computePlayerScoreAndRank()" to generate a tournament ladder, as first argument select a column of player name, as second argument, select the cells of game | |
///////////// | |
// Variables | |
///////////// |