- Grunt
- grunt-stylus + Stylus
- grunt-imgo + imgo
- grunt-sweet (not published yet) + Sweet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function isRetina(){ | |
| return (('devicePixelRatio' in window && devicePixelRatio > 1) || | |
| ('matchMedia' in window && matchMedia("(min-resolution:144dpi)").matches)) | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // функция для определения модели Айпада | |
| function detectIPadVersion(callback, undefined) { | |
| if ('ondevicemotion' in window) { | |
| window.addEventListener('devicemotion', function self(event) { | |
| if (~navigator.platform.indexOf('iPad')) { | |
| var version = event.acceleration ? (window.devicePixelRatio === 2) + 2 : 1; | |
| } | |
| window.removeEventListener('devicemotion', self); | |
| callback(version); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Нету чейнинга | |
| this.$el.find('.js-search_city-suggest'); | |
| // Чейнинг без присваивания | |
| this.$el | |
| .find('.js-search_city-suggest') | |
| .typeahead(); | |
| // Чейнинг с присваиванием в переменную | |
| var city = this.$el |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # install homebrew's official php tap | |
| brew tap josegonzalez/homebrew-php | |
| # install homebrew-dupes (required to install zlib, php54's dependency) | |
| brew tap homebrew/dupes | |
| # install nginx + mysql + php 5.4 + php-fpm + apc + xdebug | |
| brew install nginx mysql |
Most active GitHub users (git.io/top)
The list would not be updated for now. Don't write comments.
The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 21 Sep 2022 till Thu, 21 Sep 2023.
Because of GitHub search limitations, only 1000 first users according to amount of followers are included. If you are not in the list you don't have enough followers. See raw data and source code. Algorithm in pseudocode:
githubUsers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ --> | |
| <html> | |
| <head> | |
| <title>iOS 8 web app</title> | |
| <!-- CONFIGURATION --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="l-scroll_pane-container"> | |
| <div class="l-scroll_pane-work_area"> | |
| <ul class="l-scroll_pane g-clrfix"> | |
| <li class="b-categories-item "> | |
| <input type="hidden" value="d64d7a39-3045-4206-a843-42c816ad7f04"> | |
| <div class="b-categories-image b-categories-image--object"></div> | |
| <p class="b-categories-name">Товары</p> | |
| </li> | |
| <li class="b-categories-item b-categories-item--active"> | |
| <input type="hidden" value="9c4c930a-26bd-4ec9-9fc3-727f26e0ed0f"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| forceRerenderOnWebkit: -> | |
| @el.parentNode.style.cssText += ';-webkit-transform:rotateZ(0deg)' | |
| @el.parentNode.offsetHeight | |
| @el.parentNode.style.cssText += ';-webkit-transform:none' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Fallback to localStorage | |
| **/ | |
| ;(function() { | |
| if (typeof localStorage == "undefined" && typeof FileSystem == "function") { | |
| var fileSyObj = new FileSystem(); | |
| var fileName = curWidget.id + "_localStorage.db"; | |
| var lStorage = {}; | |
| var changed = false; |