Skip to content

Instantly share code, notes, and snippets.

@yoksel
yoksel / userscript.js
Created May 14, 2014 17:17
Some Developers Stuff for Livejournal.com
// ==UserScript==
// @name Some Developers Stuff for Livejournal.com
// @namespace http://yoksel.ru/
// @description The script adds titles on the journal style settings pages and link to customize your journal style
// @include *livejournal.com*
// @include *livejournal.ru*
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_listValues
// @grant GM_addStyle
@yoksel
yoksel / SassMeister-input.scss
Created June 13, 2014 14:12
Generated by SassMeister.com.
// ----
// Sass (v3.3.8)
// Compass (v1.0.0.alpha.19)
// ----
HTML, BODY {
height: 100%;
}
$out: orangered, gold;
@yoksel
yoksel / SassMeister-input.scss
Created June 13, 2014 15:26
Generated by SassMeister.com.
// ----
// libsass (v0.8.6)
// ----
$transp: rgba(255,255,255,0);
$colors-warm: violet, teal, steelblue, skyblue, yellowgreen, yellow, gold, orange, crimson, purple;
$warm: (
colors: $colors-warm,
@yoksel
yoksel / s2-layer-functions-list.js
Created June 14, 2014 20:53
S2-layer functions list backup from userscripts
// ==UserScript==
// @name S2-layer functions list
// @namespace http://yoksel.ru/
// @description Add the functions list to page with layer source.
// @include *layersource.bml*
// @require https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// ==/UserScript==
GM_addStyle(" \
#funcIndex{ \
@yoksel
yoksel / CLoversHelper.js
Created June 14, 2014 20:54
CLoversHelper backup from userscripts
// ==UserScript==
// @name CLoversHelper
// @namespace http://yoksel.ru/
// @description A little thing for colourlovers
// @include *colourlovers.com*
// @require https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// ==/UserScript==
GM_addStyle(" \
div.html-btns .customButtons { \
@yoksel
yoksel / lj-dev-stuff.js
Last active August 29, 2015 14:02
Some Developers Stuff for Livejournal.com backup from userscripts
// ==UserScript==
// @name Some Developers Stuff for Livejournal.com
// @namespace http://yoksel.ru/
// @description The script adds titles on the journal style settings pages and link to customize your journal style
// @include *livejournal.com*
// @include *livejournal.ru*
// @grant GM_getValue
// @grant GM_setValue
// @grant GM_listValues
// @grant GM_addStyle
@yoksel
yoksel / gist:229cc29a79cb704463ae
Last active August 29, 2015 14:06
CSScomb.sublime-settings
{
// 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,
javascript:void(function(){[].forEach.call(document.querySelectorAll("*"),function(a){a.style.outline="1px solid #"+(~~(Math.random()*(1<<24))).toString(16)}) })();
@yoksel
yoksel / gist:738082fb67e6a3ec2dd3
Created October 5, 2014 15:52
Mixin for gradient star
@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);