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 _decToHex($dec) { | |
| $h2: $dec % 16; | |
| $h1: ($dec - $h2) / 16; | |
| @if $h1 > 9 { | |
| $h1: nth((a b c d e f), $h1 - 9); | |
| } | |
| @if $h2 > 9 { | |
| $h2: nth((a b c d e f), $h2 - 9); | |
| } |
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(global) { | |
| //////////////////////////////////////////////////////// | |
| var symbols = { | |
| nbsp: ' ' | |
| } | |
| var common = { | |
| spaces: function(text) { |
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
| /** | |
| * Window | |
| */ | |
| .sh-window { | |
| opacity: 0; | |
| position: absolute; | |
| top: 33%; | |
| left: 50%; | |
| -webkit-transform: scale(.6) translate(-50%,-50%); | |
| -moz-transform: scale(.6) translate(-50%,-50%); |
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
| var counters = { | |
| promises: {}, | |
| fetch: function(service, url) { | |
| if (!counters.promises[service]) counters.promises[service] = {}; | |
| var servicePromises = counters.promises[service]; | |
| if (servicePromises[url]) { | |
| return servicePromises[url]; | |
| } | |
| else { |
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
| ON TIMER(666) GOSUB timeroff | |
| TIMER ON | |
| ON KEY(7) GOSUB kadr | |
| KEY(7) ON | |
| ON KEY(8) GOSUB prosmotr | |
| KEY(8) ON | |
| ON KEY(4) GOSUB nazhatienazvonock | |
| KEY(4) ON | |
| ON KEY(10) GOSUB exitt | |
| KEY(10) ON |
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
| /** | |
| * <option data-label-male="Dude" data-label-female="Dudette">Dude</option> | |
| */ | |
| $.fn.changeSelectLabels = function(key) { | |
| key = 'label-' + key; | |
| return $(this).each(function() { | |
| $(this).find('option').each(function() { | |
| var option = $(this), | |
| label = option.data(key); | |
| if (label) |
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
| .ಠ_ಠ { | |
| color:red; | |
| } |
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
| <?php | |
| /** | |
| * Foursquare last checkin proxy | |
| * | |
| * Setup: | |
| * Create file .token with your OAuth token. (You can get it here: https://elie.im/foursquare) | |
| * | |
| * Usage: | |
| * //example.com/whereami.php?callback=func | |
| * |
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
| #!/usr/bin/env python | |
| # | |
| # Magic project opener | |
| # © 2012 Artem Sapegin (sapegin.me) | |
| # | |
| #coding=utf-8 |
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
| <a href="#">I am link!</a> |