Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block wunnle

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 allEmails.js
let allMails = [
date: '23 Jan',
from: 'Susanne',
subject: 'About holiday at July',
mail: 'Dear Leyda,as you probably know...',
isFavorited: false,
date: '22 Jan',
View return-parameter-excercise.js
// 1. returnNumber
// bir sayi alip onu return eden bir function yaz.
// test: console.log(returnNumber(5)) yapildiginda console'da 5 olmali
// 2. doubleNumber
// bir sayi alip onun iki katini return eden bir function yaz
// test: console.log(doubleNumber(5)) yapildiginda console'da 10 olmali
// 3. total
// iki sayi alip bu ikisinin toplamini return eden bir function yaz
View toggle3.scss
.toggle-checkbox {
// visually hidden but accessible
position: absolute;
overflow: hidden;
clip: rect(0 0 0 0);
height: 1px;
width: 1px;
margin: -1px
View toggle2.scss
.toggle-checkbox:checked + .toggle {
background: #4079F5;
transition: background 0.5s ease;
.toggle-pill {
margin-left: calc(100% - 12px);
.toggle-checkbox:focus + .toggle {
wunnle / regex.js
Created Mar 13, 2019
Regex for capturing data-attribute and innerHTML
View regex.js
<.+ data-lang="(\S+)".*>(.+)<\/.+>
View toggle1.scss
.toggle-checkbox + .toggle {
display: block;
width: 30px;
height: 16px;
background: #B7BABF;
border-radius: 26px;
opacity: 1;
padding: 2px;
box-sizing: border-box;
margin: auto;
View toggle1.html
<label for="checkbox">
<input type="checkbox" class="toggle-checkbox" id="checkbox">
<div class="toggle">
<div class="toggle-pill"></div>
View test-gist.js
function testGist() {
return 'this is another test gist'
View index.html
this is a test gist
wunnle / redirector.json
Created Nov 14, 2018 — forked from enverarslan/redirector.json
Chrome Redirector Extension Redirects
View redirector.json
"createdBy": "Redirector v3.2",
"createdAt": "2018-09-08T00:00:00.000Z",
"redirects": [
"description": "",
"exampleUrl": "",
"exampleResult": "",
"error": null,
"includePattern": "*",
You can’t perform that action at this time.