Skip to content

Instantly share code, notes, and snippets.

View Qvatra's full-sized avatar

Oleksandr Zinchenko Qvatra

View GitHub Profile
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/SyntaxHighlighter
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
*
* @version
* 3.0.83 (July 02 2010)
*
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/SyntaxHighlighter
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
*
* @version
* 3.0.83 (July 02 2010)
*
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/SyntaxHighlighter
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
*
* @version
* 3.0.83 (July 02 2010)
*
/**
* SyntaxHighlighter
* http://alexgorbatchev.com/SyntaxHighlighter
*
* SyntaxHighlighter is donationware. If you are using it, please donate.
* http://alexgorbatchev.com/SyntaxHighlighter/donate.html
*
* @version
* 3.0.83 (July 02 2010)
*
<link rel='import' href='../../../bower_components/polymer/polymer.html'>
<link rel='import' href="../../../bower_components/iron-icons/iron-icons.html">
<link rel='import' href="../../../bower_components/iron-validatable-behavior/iron-validatable-behavior.html">
<link rel='import' href="../../../bower_components/iron-form-element-behavior/iron-form-element-behavior.html">
<link rel='import' href="../../../bower_components/paper-ripple/paper-ripple.html">
<!--
Custom Polymer element.
Element mimics material design UI of the Polymer iron-input.
Element is validatable, read only and has flexible width (width would be determined by selected item).
<link rel='import' href="../../../bower_components/polymer/polymer.html">
<link rel='import' href="../../../bower_components/paper-menu-button/paper-menu-button.html">
<link rel='import' href="../../../bower_components/paper-item/paper-item.html">
<link rel='import' href="../../../bower_components/iron-icons/iron-icons.html">
<link rel='import' href="../../../bower_components/paper-material/paper-material.html">
<link rel='import' href="../../../bower_components/iron-selector/iron-selector.html">
<link rel='import' href="../rg-paper-input-search.html">
<link rel='import' href="rg-select-input.html">
<!--
@Qvatra
Qvatra / slidershow.css
Last active August 29, 2015 14:18
Slidershow for famo.us css
.projects-assets-nav-button {
text-align: center;
color: rgba(255,255,255,0.8);
cursor: pointer;
font-size: 4em;
line-height: 1em;
}
.projects-assets-nav-button:hover {
color: rgb(252, 236, 60);
@Qvatra
Qvatra / Slidershow.js
Created March 30, 2015 09:15
Slide Show for famo.us
define(function (require, exports, module) {
'use strict';
var Surface = require('famous/core/Surface');
var StateModifier = require('famous/modifiers/stateModifier');
var Transform = require('famous/core/Transform');
var EventHandler = require('famous/core/EventHandler');
var OptionsManager = require('famous/core/OptionsManager');
var View = require('famous/core/View');
var ContainerSurface = require('famous/surfaces/ContainerSurface');
@Qvatra
Qvatra / FixedMasonryLayout.js
Created March 26, 2015 10:50
fixed masonry layout for famous-flex LayoutController
/**
* This Source Code is licensed under the MIT license. If a copy of the
* MIT-license was not distributed with this file, You can obtain one at:
* http://opensource.org/licenses/mit-license.html.
*
* @author: Oleksandr Zinchenko (Qvatra)
* @license MIT
*/
/*global console*/
@Qvatra
Qvatra / gist:db825eae720c70c0c88a
Created December 8, 2014 13:56
ionic development: build.js
var fs = require('fs');
var path = require('path');
var exec = require('child_process').exec;
var archiver = require('archiver'); //npm install archiver
var prompt = require('prompt'); //npm install prompt
var appVersion;
var androidStoreVersion;
var device;
var mode;