Skip to content

Instantly share code, notes, and snippets.

View hs0ucy's full-sized avatar
💭
"Hyperlinks subvert (hack) hierarchy"

Hugo Soucy hs0ucy

💭
"Hyperlinks subvert (hack) hierarchy"
View GitHub Profile
@hs0ucy
hs0ucy / openpgp.md
Last active November 21, 2020 01:07
Keyoxide github proof
### Keybase proof
I hereby claim:
* I am hs0ucy on github.
* I am hs0ucy (https://keybase.io/hs0ucy) on keybase.
* I have a public key ASAEUScDcPRY4sLVJ-rs36ZLDzND_ZlYfYfk-Rp_WictOgo
To claim this, I am signing this object:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
.js-drawer-isopen, .js-drawer-isclose {
background: yellow;
height: auto;
@hs0ucy
hs0ucy / index.html
Created March 1, 2018 15:14
Tests d'accordeon // source https://jsbin.com/gagomiv
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Tests d'accordeon</title>
</head>
<body>
<h1 hidden="">Tests d'accordeon</h1>
<button id="btn1">Btn 1</button>
@hs0ucy
hs0ucy / index.html
Created November 20, 2014 15:50
Validating a form with error handling // source http://jsbin.com/fejur
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Validating a form with error handling</title>
<style id="jsbin-css">
.frm-lbl {display:block;}
.frm-error-strg,
.frm-error-msg {
@hs0ucy
hs0ucy / gist:8171858
Last active January 1, 2016 16:39
Personnal .gitignore sample.
_.htaccess
.htaccess
# Emacs
auto-save-list
backups
*~
session.*
tramp
elpa
@hs0ucy
hs0ucy / media-queries-samples.css
Created September 21, 2012 17:48
Media Queries for Standard Devices
/*
* From css-tricks.com
* http://css-tricks.com/snippets/css/media-queries-for-standard-devices/
*/
/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
/* Styles */
@hs0ucy
hs0ucy / regEx.image.type.js
Created September 13, 2012 12:35
RegEx image type: Expression régulière qui cible les chaînes se terminant par .jpg, .png ou .gif
var $that = $(this), //Object $imgLnk
imgURL = $that.attr("href"), //Récupérer l'URL de ce lien.
imgFormat = /\.(jpg|jpeg|png|gif)$/ig;
imgURL.match(imgFormat);