Skip to content

Instantly share code, notes, and snippets.

Durgé Seerden dsdeur

Block or report user

Report or block dsdeur

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View VSCode console.time wrapping snippet
// javascript.json
{
/* A VSCode snippet that makes it easy to time some lines of Javascript code.
*
* Usage:
* 1. Cut the lines you want to time: select, cmd + x
* 2. Type `ctime` and press enter/tab/whatever your autocomplete key is.
*/
"Wrap console time": {
"prefix": "ctime",
@dsdeur
dsdeur / DDraggable.js
Created Jul 5, 2014
Touch x-draggable
View DDraggable.js
var DDraggable = function(element, options) {
var base = this;
base.el = element;
var offset = null;
var temp_offset = 0;
var first = true;
var y = 0;
base.init = function() {
base.el.addEventListener('touchstart', touchStart, false);
@dsdeur
dsdeur / DWPGallery.css
Last active Aug 29, 2015
Make The WordPress Gallery awesome
View DWPGallery.css
.DWPG_selectedImg {
width:100%;
background:#efefef;
text-align: center;
}
.DWPG_selectedImg {
position:relative;
}
You can’t perform that action at this time.