Skip to content

Instantly share code, notes, and snippets.

View DioVayne's full-sized avatar

Dio Vayne DioVayne

  • Netherlands
View GitHub Profile
/*!
* imagesLoaded PACKAGED v4.1.4
* JavaScript is all like "You images are done yet or what?"
* MIT License
*/
!function (e, t) { "function" == typeof define && define.amd ? define("ev-emitter/ev-emitter", t) : "object" == typeof module && module.exports ? module.exports = t() : e.EvEmitter = t() }("undefined" != typeof window ? window : this, function () { function e() { } var t = e.prototype; return t.on = function (e, t) { if (e && t) { var i = this._events = this._events || {}, n = i[e] = i[e] || []; return n.indexOf(t) == -1 && n.push(t), this } }, t.once = function (e, t) { if (e && t) { this.on(e, t); var i = this._onceEvents = this._onceEvents || {}, n = i[e] = i[e] || {}; return n[t] = !0, this } }, t.off = function (e, t) { var i = this._events && this._events[e]; if (i && i.length) { var n = i.indexOf(t); return n != -1 && i.splice(n, 1), this } }, t.emitEvent = function (e, t) { var i = this._events && this._events[e]; if (i && i.length) { i = i.slice(0), t = t || []; for (var n = this._once
@DioVayne
DioVayne / radial-pulse.css
Created June 13, 2018 11:45
radial-pulse
@keyframes radial-pulse {
0% {
box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.5);
}
100% {
box-shadow: 0 0 0 30px rgba(0, 0, 0, 0);
}
}
@DioVayne
DioVayne / sql.mysql
Last active October 5, 2017 04:32
find and replace in mysq database
UPDATE `Kolom` k
LEFT JOIN `Rij` r ON k.rowId = r.rowId
SET `columnText` = replace(columnText, '140-142', '140')
WHERE INSTR(columnText, '140-142') > 0 AND r.siteId = 23;
@DioVayne
DioVayne / radio.html
Created September 26, 2017 07:49
radiobuttons styled
<div class="radio">
<input id="radio-1" name="radio" type="radio" checked>
<label for="radio-1" class="radio-label">Checked</label>
</div>
@DioVayne
DioVayne / randomize-content.js
Last active February 18, 2016 13:28
Randomize content and frustrate your design!
// ==UserScript==
// @name Randomize content
// @namespace https://www.blokblok.nl/
// @version 0.4
// @description Frustrate your design!
// @author Dio Vayne
// @match *://*/*
// @grant none
// ==/UserScript==
@DioVayne
DioVayne / googlegod.user.js
Last active December 9, 2015 10:45
Google logo changes into God
// ==UserScript==
// @name Google God
// @namespace http://diovayne.nl/
// @version 0.1
// @description Always watching.
// @author Dio Vayne
// @match https://www.google.nl/*
// @grant none
// @require http://code.jquery.com/jquery-latest.js
// ==/UserScript==
@DioVayne
DioVayne / MarktplaatsCleaner.user.js
Last active August 29, 2015 14:24
MarktplaatsCleaner.user.js
// ==UserScript==
// @name Marktplaats Cleaner
// @namespace http://diovayne.nl/
// @version 0.2
// @description Remove commercial adverts on marktplaats
// @author Dio Vayne
// @match http://www.marktplaats.nl/*
// @grant none
// ==/UserScript==
// ==UserScript==
// @name What CD video/ last.fm search
// @namespace http://diovayne.nl/
// @version 0.31
// @description To directly search for video on google of the album or artist on last.fm
// @author Dio Vayne
// @match https://what.cd/*
// @grant none
// ==/UserScript==
@DioVayne
DioVayne / .master
Last active December 31, 2015 02:58
Hoe pagina's site-wide te koppelen
<agn:Paragraphs ID="parRechterKolom" Location="[#rechterKolom#]" runat="server" LoadType="Manual">
<Header>
<div class="rechterKolom">
</Header>
<Paragraph/>
<Footer>
</div>
</Footer>
</agn:Paragraphs>
@DioVayne
DioVayne / arrow.css
Created November 27, 2013 09:46
Css arrow
div:after{
content:'';
border-style: solid;
border-width: 9px;
border-color: #f7f7f7 rgba(255,255,255,0) rgba(255,255,255,0) rgba(255,255,255,0);
position:absolute;
right:10px;
top:50%;
margin-top:-4px;
}