Skip to content

Instantly share code, notes, and snippets.

@RhaDaX
RhaDaX / knob.js
Created April 9, 2017 21:41
Knob JS jauge CSS
// http://anthonyterrien.com/demo/knob/
// https://github.com/aterrien/jQuery-Knob
/*!jQuery Knob*/
/**
* Downward compatible, touchable dial
*
* Version: 1.2.12
* Requires: jQuery v1.7+
@RhaDaX
RhaDaX / animate.min.css
Created April 5, 2017 20:37
Animate.css
@charset "UTF-8";
/*!
* animate.css -http://daneden.me/animate
* Version - 3.5.1
* Licensed under the MIT license - http://opensource.org/licenses/MIT
*
* Copyright (c) 2016 Daniel Eden
*/
@RhaDaX
RhaDaX / parallax.html
Last active April 5, 2017 20:34
Parallax Bootstrap
<!--Main parallax wrapper-->
<div class="parallax">
<!--First section-->
<div id="section-1" class="parallax-section">
<!--Parallax content-->
<div class="parallax-layer parallax-layer-base">
def load
request = params[:q]
url = Url.new()
url.url = request
html = Nokogiri::HTML(open(request))
# Sélection dans la variable @url.title, de la balise h2 si la h1 est absente
if html.css('h1') == nil
url.title = html.css('h2').text
else