Skip to content

Instantly share code, notes, and snippets.

View v0lkan's full-sized avatar
🎸
totally rocking it 🚀.

Volkan Özçelik v0lkan

🎸
totally rocking it 🚀.
View GitHub Profile
@v0lkan
v0lkan / teachers-needed.md
Created March 29, 2017 20:37 — forked from 1Marc/workshops-planning.md
Workshop Teachers Needed

Looking for workshop teachers to teach on the following topics!

For introductions please tweet @frontendmasters, @1marc or email: marc at FrontendMasters.com. Thanks!

You can propose other topics too.

Published blog post detailing topics and allowed people to vote on priority: 2016 Frontend Masters topic poll

Bolded topics are very highly requested.

@v0lkan
v0lkan / console.extend.wtf.js
Last active August 29, 2015 14:07 — forked from anonymous/console.extend.wtf.js
A shim for the console.wtf functionality (hoping that somebody natively implements that feature in the future ;))
// ## Every console needs a WTF prompt.
//
// Usage:
//console.wtf('This should not have happened AT ALL!', param1, param2);
// Check if `console.wtf` is natively supported.
if (!console.wtf) {
console.wtf = function() {
console.warn.apply(console,
// ## Every console needs a WTF prompt.
// Method:
console.wtf = function() {
console.warn.apply(console,
['(W)hat a (T)errible (F)ailure »» '].concat(
Array.prototoype.slice.call(arguments)
)
);
};
@v0lkan
v0lkan / _contrast_mixin.scss
Created September 27, 2011 11:00 — forked from aaronrussell/_contrast_mixin.scss
Sass function and mixin for setting contrasting background and foreground colors
$contrasted-default-dark: #000;
$contrasted-default-light: #fff;
@mixin contrasted($bg, $dark:$contrasted-default-dark, $light:$contrasted-default-light){
background-color: $bg;
color: get_contrast_yiq($bg, $dark, $light);
}