Skip to content

Instantly share code, notes, and snippets.

View ki11ua's full-sized avatar

Georgios Papadimitrou ki11ua

  • the world is my playground
View GitHub Profile
@anthonyholmes
anthonyholmes / bootstrap-sass-mixin-cheatsheet.scss
Created October 10, 2014 08:13
Bootstrap Sass Mixin Cheatsheet
// Alerts
@include alert-variant($background, $border, $text-color);
// Background Variant
@include bg-variant($parent, $color);
// Border Radius
@include border-top-radius($radius);
@include border-right-radius($radius);
@include border-bottom-radius($radius);
@ki11ua
ki11ua / Super simple background image slideshow.css
Last active November 29, 2018 18:53 — forked from mhulse/Super simple background image slideshow.css
Super simple jQuery background-image serial slideshow (using CSS3 for the transition and gets the image paths via HTML5 `data` attribute).
[data-slides] {
background-image: url(../../uploads/banner1.jpg); /* Default image. */
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
-webkit-transition: all 0.7s ease;
-moz-transition: all 0.7s ease;
-ms-transition: all 0.7s ease;
-o-transition: all 0.7s ease;
transition: all 0.7s ease;
@ki11ua
ki11ua / biss.css
Last active April 2, 2016 12:53
Background Image Simple Slideshow using CSS3 + jQuery Multiple from HTML5 data element with variable transition time + onload image.
.img{
height: 100%;
background-image: url('img/content/slide1.jpg');
background-repeat: no-repeat;
background-position: center center;
background-size: cover;
-webkit-transition: all 1.2s ease;
-moz-transition: all 1.2s ease;
-ms-transition: all 1.2s ease;
-o-transition: all 1.2s ease;
@ki11ua
ki11ua / SuperSimpleWeather.css
Last active April 23, 2016 06:58
Super Simple JQuery Weather Widget
.weatherfeed{
color: rgba( 255, 255, 255, 1);
text-align: right;
font-size: 16px;
max-width:350px;
line-height: 1.43em;
background-position: 25% -50%;
background-repeat: no-repeat;
}
@taitems
taitems / plate-snitch.js
Created August 20, 2017 03:56
(Extract) Check the status of a vehicle registration and scrape results.
// Open form and submit enquire for `rego`
function getInfo(rego) {
horseman
.userAgent('Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0')
.open(url)
.type('#registration-number-ctrl input[type=text]', rego)
.click('.btn-holder input')
.waitForSelector('.ctrl-holder.ctrl-readonly')
.html()
.then(function(body) {
@ki11ua
ki11ua / bootstrap_modal_fixed.css
Created November 29, 2017 11:11
Fix for jump on top ( Bootstrap Modal - Fixed 100% height + width)
html{
overflow-x: hidden
}
body.modal-open{
overflow: visible !important
padding-right: 0 !important
}
.modal.full-size {