Skip to content

Instantly share code, notes, and snippets.

View robhrt7's full-sized avatar

Robert Haritonov robhrt7

View GitHub Profile
@robhrt7
robhrt7 / MySQL_5-7_macOS.md
Last active February 28, 2024 03:48 — forked from nrollr/MySQL_macOS_Sierra.md
Install MySQL 5.7 on macOS using Homebrew

This is a fork of original gist https://gist.github.com/nrollr/3f57fc15ded7dddddcc4e82fe137b58e, with slight changes on pointing to 5.7 version branch, instead of 8 (latest default of MySQL in Hombrew).

Install MySQL 5.7 on macOS

This procedure explains how to install MySQL using Homebrew on macOS (Sierra 10.12 and up)

Install Homebrew

  • Installing Homebrew is effortless, open Terminal and enter :
    $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Note: Homebrew will download and install Command Line Tools for Xcode 8.0 as part of the installation process.
@robhrt7
robhrt7 / devshelf.sh
Last active August 7, 2021 21:06
Ubuntu init.d service example for nodeJS app with forever
#!/bin/bash
#
# description: DevShelf service
# processname: node
# pidfile: /var/run/devshelf.pid
# logfile: /var/log/devshelf.log
#
# Based on https://gist.github.com/jinze/3748766
#
# To use it as service on Ubuntu:
@robhrt7
robhrt7 / dabblet.css
Created September 4, 2012 08:30
Подборка багов CSS Анимаций и их решений
/**
* Подборка багов CSS Анимаций и их решений
*/
/*1*/
.no_sec {transition: opacity 1s, box-shadow 0; box-shadow: 0 0 5px 5px #000;}
.no_sec:hover {opacity: 0; box-shadow: none;}
/*2*/
.pseudo {position: relative; transition: opacity 1s;}
@robhrt7
robhrt7 / config.yaml
Created May 5, 2020 21:16
Example of workflow based/parallel CircleCI build and deploy to Netlify conig
aliases:
- &deps
- "Dependencies"
- &allSites
- "reactSummit"
- "JSNation"
- "JSNationLive"
- "NodeDayUK"
- &dependencies
- checkout
@robhrt7
robhrt7 / dabblet.css
Created September 9, 2012 12:29
Transition and animation bug collection
/**
* Transition and animation bug collection
*/
/*1*/
.no_sec {transition: opacity 1s, box-shadow 0; box-shadow: 0 0 5px 5px #000;}
.no_sec:hover {opacity: 0; box-shadow: none;}
/*2*/
.no_sec.shadow {transition: opacity 1s, box-shadow .3s;box-shadow: 0 0 5px 5px blue;}
@robhrt7
robhrt7 / preprocessors-cheatsheet.scss
Last active June 25, 2019 05:18
Preprocessors style guide cheatsheet
//
// Preprocessors style guide cheatsheet
// =============================================================================================
//
// Level 1
// ----------------------------------------------------------------------------------
.somecode {
@robhrt7
robhrt7 / dabblet.css
Created November 13, 2012 17:55
Пример разной анимации в обе стороны
/**
* Пример разной анимации в обе стороны
*/
div {
height: 1.5em;
background: orange;
line-height: 1.5;
}

Port Forwarding in Mavericks (80 to 8080)


Guide to add localhost:80 to localhost:8080 forwarding.

Since Mavericks stopped using the deprecated ipfw (as of Mountain Lion), we'll be using pf to allow port forwarding.

####1. anchor file

@robhrt7
robhrt7 / Fronteers_2013_text_ru.md
Last active December 26, 2015 03:49 — forked from h4/1.fronteers.dump.md
Структурированная версия текстовой трансляции c Fronteers 2013 от @webstandards_up

Текстовая трансляция с Fronteers 2013

Большое спасибо @webstandards_up за текстовую трансляцию!

Вступление

Тест Мы начинаем текстовую трансляцию Fronteers 2013, двухдневной конференции в Амстердаме — http://t.co/QB5SYQ3cMx

Пол Айриш из Google открывает шестую конференцию Fronteers. Россия на шестом месте по количеству участников, например.

@robhrt7
robhrt7 / dabblet.css
Created September 7, 2013 15:28
Untitled
.item {display:block}
.item_rank_0 { display: none; }
.item:last-of-type { font-weight: bold; }