Skip to content

Instantly share code, notes, and snippets.


Vladimir Varbanov vladyn

Block or report user

Report or block vladyn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View mapStateToProps.js
const mapStateToProps = (state => {
const selector = formValueSelector('myForm');
return {
time: selector(state, 'select-name'), // undefined
l10n: l10nService,
formValues: getFormValues('myForm')(state), // undefined
View RandomIndex
var arr = ["one", "two", "three"];
var randomIndex = Math.floor( Math.random() * arr.length );
vladyn / dabblet.css
Created Jul 29, 2013 — forked from LeaVerou/dabblet.css
Loading animation like the one seen on with CSS
View dabblet.css
* Loading animation like the one seen on with CSS
* Caveat: Not DRY. The content needs to be repeated in a data- attribute (or directly in the CSS).
body {
background: #ccc51c;
min-height: 100%;
vladyn / gist:1994593
Created Mar 7, 2012
LESS: Useful Mixins
View gist:1994593
.text-shadow (@string: 0 1px 3px rgba(0, 0, 0, 0.25)) {
text-shadow: @string;
.box-shadow (@string) {
-webkit-box-shadow: @string;
-moz-box-shadow: @string;
box-shadow: @string;
.drop-shadow (@x: 0, @y: 1px, @blur: 2px, @spread: 0, @alpha: 0.25) {
-webkit-box-shadow: @x @y @blur @spread rgba(0, 0, 0, @alpha);
You can’t perform that action at this time.