Skip to content

Instantly share code, notes, and snippets.

View stephanie-walter's full-sized avatar
🦊

Stéphanie Walter stephanie-walter

🦊
View GitHub Profile
Hi,
To be compliant with GDPR, I request a copy of all my personal data that is linked to the email address you used here ( mail@mail.com ) (article 15, right of access: https://www.dataprotection.ie/en/individuals/know-your-rights/right-access-information).
Then I would also like you to withdraw, all said data, once you sent it, from all your databases, to not use this data anymore. (article 17 and 19 https://www.dataprotection.ie/en/individuals/know-your-rights/right-erasure-articles-17-19-gdpr)
This includes all the designs I've uploaded on your site, and the reviews I've left.
If you're not the right person to do so, please forward this information to your DPO.
Have a lovely day,
var gulp = require('gulp');
// Load the packages
var autoprefixer = require('gulp-autoprefixer');
var minifycss = require('gulp-minify-css');
var uglify = require('gulp-uglifyjs');
var less = require('gulp-less');
var livereload = require('gulp-livereload');
#target Photoshop
app.bringToFront();
main();
function main(){
if(!documents.length) return;
//iterate 5 loops incase of nested layersets
for(var t = 0; t<1;t++){
var LayerSetLayers=[];
var lSets = getLayerSets();
for(var z in lSets){
@stephanie-walter
stephanie-walter / togleClass.rawJS
Created June 10, 2013 13:00
Toggle class in Raw JS that works with document.getElementsByClassName
var changeClass = function (r,className1,className2) {
var regex = new RegExp("(?:^|\\s+)" + className1 + "(?:\\s+|$)");
if( regex.test(r.className) ) {
r.className = r.className.replace(regex,' '+className2+' ');
}else{
r.className = r.className.replace(new RegExp("(?:^|\\s+)" + className2 + "(?:\\s+|$)"),' '+className1+' ');
}
return r.className;
};
.ie67 .elem {
display: inline;
zoom: 1;
}
@stephanie-walter
stephanie-walter / detect-svg-support
Created May 19, 2013 15:55
Detecting SVG support
function setCSS() {
var docBody = document.getElementsByTagName('body');
docBody[0].className = 'svg';
}
function SVGDetect() {
var testImg = 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNzUiIGhlaWdodD0iMjc1Ij48L3N2Zz4%3D';
var img = document.createElement('img');
img.setAttribute('src', testImg);
@stephanie-walter
stephanie-walter / logo-base-64
Created May 19, 2013 15:51
Logo base 64 image
<a href="/" class="site-logo">
<img src="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==" alt=" " class="logo ">
</a>
@stephanie-walter
stephanie-walter / Append Class
Created May 18, 2013 13:51
Append class to an existing one in raw JS
document.body.className += ' hasJS'
@stephanie-walter
stephanie-walter / AddClass Raw JS
Created May 18, 2013 13:50
Add class to element
document.body.className = 'hasJS';
@stephanie-walter
stephanie-walter / this.value
Created May 18, 2013 13:50
retrieve a value from an input element
this.value