Skip to content

Instantly share code, notes, and snippets.

Working for Yandex.Eats as a TeamLead

Vladislav Rastrusny FractalizeR

Working for Yandex.Eats as a TeamLead
View GitHub Profile
jevakallio /
Last active Jul 7, 2021
#ReactiveConf 2017 Lightning Talk Submission: JavaScript Slam Poetry

TL;DR: If you want to see me perform a spoken word poem about JavaScript in front of 1000 people (and on video), please star this gist. If you're on mobile, you'll need to request desktop site.

JavaScript Slam Poetry

Javascript! Slam! Poetry!

paulirish /
Last active Sep 27, 2022
What forces layout/reflow. The comprehensive list.

What forces layout / reflow

All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.

Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.

Element APIs

Getting box metrics
  • elem.offsetLeft, elem.offsetTop, elem.offsetWidth, elem.offsetHeight, elem.offsetParent
artzub /
Last active Mar 21, 2022
Install JetBrains Hub + YouTrack + UpSource + Nginx
apt-get install mc htop git unzip wget curl -y
echo "====================================================="
echo " WELCOME"
echo "====================================================="
echo "Hub"
paslandau / guzzle-append-requests-on-the-fly-generator-vs-retry.php
Created Apr 12, 2015
Example of appending requests on the fly using an ArrayIterator as generator and comparing that approach to $event->retry() and $client->send()
View guzzle-append-requests-on-the-fly-generator-vs-retry.php
/** CAUTION!!!
* You need to have a webserver running on localhost to make this work!
use GuzzleHttp\Client;
use GuzzleHttp\Event\AbstractRetryableEvent;
use GuzzleHttp\Message\Request;
use GuzzleHttp\Pool;
rmondello / gist:b933231b1fcc83a7db0b
Last active Sep 4, 2022
Exporting (iCloud) Keychain and Safari credentials to a CSV file
View gist:b933231b1fcc83a7db0b

Exporting (iCloud) Keychain and Safari credentials to a CSV file

Update (October 2021)

Exporting password + one-time code data from iCloud Keychain is now officially supported in macOS Monterey and Safari 15 (for Monterey, Big Sur, and Catalina). You can access it in the Password Manager’s “gear” icon (System Preferences > Passwords on Monterey, and Safari > Passwords everywhere else), or via the File > Export > Passwords... menu item). You shouldn't need to hack up your own exporter anymore.

Original, Obsolete Content (2014)

After my dad died, I wanted to be able to have access any of his online accounts going forward. My dad was a Safari user and used iCloud Keychain to sync his credentials across his devices. I don’t want to have to keep an OS X user account around just to access his accounts, so I wanted to export his credentials to a portable file. >

addyosmani /
Last active Sep 18, 2022 — forked from 140bytes/LICENSE.txt
108 byte CSS Layout Debugger

CSS Layout Debugger

A tweet-sized debugger for visualizing your CSS layouts. Outlines every DOM element on your page a random (valid) CSS hex color.

One-line version to paste in your DevTools

Use $$ if your browser aliases it:

~ 108 byte version


React Element Factories and JSX

You probably came here because your code is calling your component as a plain function call. This is now deprecated:

var MyComponent = require('MyComponent');

function render() {
 return MyComponent({ foo: 'bar' }); // WARNING
SchumacherFM / magento-virgin-tables-
Created Apr 10, 2014
Magento DB Dump from version and for comparison
View magento-virgin-tables-
-- MySQL dump 10.13 Distrib 5.5.34, for osx10.6 (i386)
-- Host: localhost Database: magento-virgin
-- ------------------------------------------------------
-- Server version 5.5.34
/*!40101 SET NAMES utf8 */;
cameron /
Last active Aug 1, 2017
initialize a CoreOS vm with the latest docker and DNS service discovery via skydock
This gist is old. Check out
gruber / Liberal Regex Pattern for Web URLs
Last active Sep 15, 2022
Liberal, Accurate Regex Pattern for Matching Web URLs
View Liberal Regex Pattern for Web URLs
The regex patterns in this gist are intended only to match web URLs -- http,
https, and naked domains like "". For a pattern that attempts to
match all URLs, regardless of protocol, see:
# Single-line version: