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
{ | |
// Full list of supported options and acceptable values can be found here: | |
// https://github.com/csscomb/csscomb.js/blob/master/doc/options.md | |
"config": { | |
"always-semicolon": true, | |
"color-case": "upper", | |
"block-indent": " ", | |
"color-shorthand": true, | |
"element-case": "upper", | |
"eof-newline": true, |
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
javascript:void(function(){[].forEach.call(document.querySelectorAll("*"),function(a){a.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toString(16)}) })(); |
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
@mixin star($rays: 6){ | |
$gradients: null; | |
$angle: 360/$rays; | |
@for $item from 1 through $rays/2 { | |
$gradItem: linear-gradient(#{$angle * $item}deg, | |
$transp 49.5%, | |
black 49.5%, black 50.5%, | |
$transp 50.5%); | |
$gradients: append($gradients, $gradItem, comma); |
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
@media (max-width: 800px){ | |
body, | |
.header { | |
min-width: 0; | |
} | |
.site-search { | |
width: calc(100% - 38px); | |
margin-bottom: 1em; |
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
{ | |
"draw_white_space": "all", | |
"font_face": "Droid Sans Mono for Powerline", | |
"font_size": 15, | |
"hayaku_CSS_prefixes_disable": true, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"save_on_focus_lost": true, |
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
[ | |
{ "keys": ["alt+super+shift+a"], "command": "prompt_add_folder" } | |
] |
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
// ==UserScript== | |
// @name Customize button in new nav | |
// @namespace http://yoksel.ru/ | |
// @version 0.1 | |
// @description Add customize button to new LJ navigation | |
// @author You | |
// @include *livejournal.com* | |
// @include *livejournal.ru* | |
// @grant none | |
// ==/UserScript== |
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
// ==UserScript== | |
// @name Layers list on customize page | |
// @namespace http://yoksel.ru/ | |
// @version 0.1 | |
// @description Add customize button to new LJ navigation | |
// @author You | |
// @include *livejournal.com/customize/* | |
// @include *livejournal.ru/customize/* | |
// @grant none | |
// ==/UserScript== |
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 hexToRgb( color ) { | |
console.log('Input: ' + color ); | |
color = color.replace('#',''); | |
var rgb = ''; | |
var rgbList = []; | |
var colorList = [ | |
color.substr(0,2), | |
color.substr(2,2), | |
color.substr(4,2) | |
]; |