Skip to content

Instantly share code, notes, and snippets.

View Nitive's full-sized avatar

Maxim Samoilov Nitive

View GitHub Profile
@Nitive
Nitive / shri.js
Last active August 29, 2015 14:27 — forked from verkholantsev/shri.js
/**
* Реализация API, не изменяйте ее
* @param {string} url
* @param {function} callback
*/
function getData(url, callback) {
var RESPONSES = {
'/countries': [
{name: 'Cameroon', continent: 'Africa'},
{name :'Fiji Islands', continent: 'Oceania'},
@Nitive
Nitive / fonts.styl
Last active November 12, 2015 08:57 — forked from diogomoretti/fonts.styl
// font-face mixin
font-url(file)
return 'fonts/' + file
webfont(family, file, weight = normal)
@font-face
font-family family
file += '/' + file
src url(font-url(file + '.eot')),
url(font-url(file + '.woff')) format('woff'),