Skip to content

Instantly share code, notes, and snippets.

@huguesalary
huguesalary / README.md
Last active February 28, 2018 21:31
Exported from Popcode. Click to import: https://popcode.org/?gist=9235e37688df204dde18101756e9d850

Introduction

In this exercise, we will be creating a webpage asking a user some personnal information like their "First Name", "Last Name", "Date Of Birth", "Place Of Birth", "Eye Color", "Gender", "Street Number", "Street Name", "Zip Code", "State" and "Country".

When the user is done typing their information, they will click on a button "Print my driver license!".

When the button "Print my driver license!" is clicked, we will display on the page, under "Driver License Output", the information the user typed.

Discovery

@huguesalary
huguesalary / README.md
Last active February 28, 2018 05:18
Exported from Popcode. Click to import: https://popcode.org/?gist=9fca89bb8d0d29d30920e852458f0e21

Goal of this exercise

This exercise, will teach you 2 new things:

1st, you will learn how to create an HTML input box.

An HTML input box allows you to ask ask questions to the user of your webpage.

2nd, you will learn how to retrieve the value the user typed in the input box and display it on the page.

@huguesalary
huguesalary / # percona-xtrabackup - 2017-12-05_15-36-39.txt
Created December 5, 2017 23:39
percona-xtrabackup on macOS 10.13.1 - Homebrew build logs
Homebrew build logs for percona-xtrabackup on macOS 10.13.1
Build date: 2017-12-05 15:36:39
<!DOCTYPE html>
<html>
<head>
<title>HireMe! Barack Obama</title>
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed" rel="stylesheet">
</head>
<body>
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/8d/President_Barack_Obama.jpg/220px-President_Barack_Obama.jpg">
<h1>Barack Obama</h1>
<p>Former President of the United States.</p>
### Keybase proof
I hereby claim:
* I am huguesalary on github.
* I am huguesalary (https://keybase.io/huguesalary) on keybase.
* I have a public key ASDQcKKgAlYfFRYnba7JzZwUqSfzdsJjPTtk0AV-XdcpFwo
To claim this, I am signing this object:
@huguesalary
huguesalary / a-
Last active August 29, 2015 14:09
Varnish Crash with long regex
$ uname -a
Linux proxy_newvarnish 3.13-1-amd64 #1 SMP Debian 3.13.10-1 (2014-04-15) x86_64 GNU/Linux
$ varnishd -V
varnishd (varnish-4.0.2 revision bfe7cd1)
Copyright (c) 2006 Verdens Gang AS
Copyright (c) 2006-2014 Varnish Software AS
$ varnishd -a :80 \
-T localhost:6082 \