Skip to content

Instantly share code, notes, and snippets.

Sergej Jevsejev sjevs

Block or report user

Report or block sjevs

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
sjevs / txt
Created Mar 3, 2018
Saulius Prūsaitis - Būkime geriausiais draugais
View txt
Būkim draugais tik šiąnakt
Galim nebūti rytoj
Mes per trumpai gyvenam
Kad per ilgai apie tai galvoti
Būkim draugais kurie neišduoda
Prašo per daug - grąžina mažai
Būkim tokie, kurie supranta paguodą
Būkim draugais ir apsikeiskim laiškais
Būkim draugais…
sjevs /
Created Jun 8, 2016 — forked from marcellodesales/
Create Environment Variables in EC2 Hosts from EC2 Host Tags, just like Beanstalk or Heroku does!
# Author: Marcello de Sales (
# Description: Create Create Environment Variables in EC2 Hosts from EC2 Host Tags
### Requirements:
# * Install jq library (sudo apt-get install -y jq)
# * Install the EC2 Instance Metadata Query Tool (
### Installation:
# * Add the Policy EC2:DescribeTags to a User
sjevs /
Created May 29, 2016 — forked from blakesmith/
Terraform setup for running
provider "aws" {
alias = "prod"
region = "us-east-1"
access_key = "${var.aws_access_key}"
secret_key = "${var.aws_secret_key}"
resource "aws_s3_bucket" "origin_blakesmith_me" {
provider = ""
sjevs / gist:63737f9472c96ff30db0
Created Nov 17, 2014
Install VBoxGuestAddtions
View gist:63737f9472c96ff30db0
sudo mkdir /media/iso
sudo mount -o loop VBoxGuestAdditions_4.3.18.iso /media/iso
cd /media/iso/
sudo ./
sjevs /
Created Nov 5, 2013
install Shairport on Ubuntu
# Sources:
sudo apt-get install build-essential libssl-dev libcrypt-openssl-rsa-perl libao-dev libio-socket-inet6-perl libwww-perl avahi-utils pkg-config
sjevs /
Last active Dec 25, 2015 — forked from neonstalwart/
how to run intern geezer self test with a local selenium standalone server
brew install selenium-server-standalone chromedriver
git clone
cd intern
git checkout geezer
npm install --production
ln -s .. node_modules/intern
curl > tests/selftest.local.intern.js
java -jar /usr/local/opt/selenium-server-standalone/selenium-server-standalone-2.35.0.jar -p 4444 &
node node_modules/intern/runner.js config=tests/selftest.local.intern
sjevs / lessJsVariables
Created Jul 21, 2012
Less.js variables inside CSS property
View lessJsVariables
// example how to use variable inside of CSS property name
#container {
sjevs / roundedCorners.less
Created Jul 21, 2012
Rounded Corners in Less.js
View roundedCorners.less
.rounded-corners (@radius: 5px) {
border-radius: @radius;
-webkit-border-radius: @radius;
-moz-border-radius: @radius;
#header {
sjevs / cssPrefixes.less
Created Jul 21, 2012
Less.js function which generates all prefixes for given CSS property
View cssPrefixes.less
/* Less.js function which generates prefixes any CSS property */
.pf(@prop, @value){
#container {
.pf('border-radius', 10px);
.pf('transform', 'rotate(7deg)');
.pf('transition','all 1s ease-in-out');
.pf('box-shadow','2px 2px 5px 0 rgba(0,0,0,.6)');
sjevs / test.js
Created Jul 15, 2012
map preview
View test.js
var mapObj = {
data: {},
_getBlock: function(i,j){
return[i * this.elW + j];
blockSize: {w:0,h:0},
width: 0,
height: 0,
You can’t perform that action at this time.