Skip to content

Instantly share code, notes, and snippets.

View robhrt7's full-sized avatar

Robert Haritonov robhrt7

View GitHub Profile
@olegakbarov
olegakbarov / INSTALLATION.md
Last active July 10, 2020 18:27 — forked from DenisIzmaylov/INSTALLATION.md
OS X 10.11 El Capitan: clean install

OS X 10.11 (El Capitan) / Node.js Developer Environment

Custom recipe to get OS X 10.11 El Capitan running from scratch with useful applications and Node.js Developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after fresh install.

Content

@roman01la
roman01la / nginx.conf
Last active May 18, 2019 07:00
Node.js Express Nginx
server {
listen 80;
server_name example.com;
location / {
proxy_pass http://127.0.0.1:3000;
}
location ~ ^/(images/|scripts/|styles/|robots.txt|humans.txt|favicon.ico) {
root /your/app/public/folder;
@robhrt7
robhrt7 / gist:bd857f570adaf2872c37
Created June 26, 2014 14:44
Custom Grunt script for couting CSS imports count, and seperating files before hitting IE limit of 31 imports
/*
Processing CSS @imports file, and counting how much @imports it includes.
If import count reaches the limit of 31 files (in IE8-9) and more, script will create additional CSS files:
input.css:
@import 1;
...
@import 36;
@sergejmueller
sergejmueller / ttf2woff2.md
Last active March 9, 2024 13:37
WOFF 2.0 – Learn more about the next generation Web Font Format and convert TTF to WOFF2
@XOP
XOP / ft2014_review.md
Last active September 5, 2016 09:58
Front-Trends 2014 extended review with links and stuff

DISCLAIMER:
The whole content comes "as is".
All commentaries refer to author's impression.
Some inconsistency possible as well.
The few details (mainly useful links) were added while transcribing notes.


@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 / description.css
Created February 17, 2014 20:57
Description and TODOs in CSS
/**
* author: robert.haritonov | skype : haritonov.r
* spec: http://link
* created: 05.12.13
*
* comments:
* @project class:
* @project colors:
**/
@robhrt7
robhrt7 / organisation.css
Last active August 29, 2015 13:56
CSS organisation
/*
CSS organisation principles
==============================================================================================
*/
.elem-no-rules {}
.elem-no-rules_child {
display: inline-block;
}
@robhrt7
robhrt7 / comments.css
Last active August 29, 2015 13:56
Комментарии в CSS
/*
Комментарии в CSS
==============================================================================================
*/
/*
Нужно комментировать все не однозначные свойства и значения.
*/
@robhrt7
robhrt7 / order.css
Last active August 29, 2015 13:56
CSS properties order
/*
CSS properties order
==============================================================================================
*/
.class {
position: relative;
right: 0;
left: 0;
z-index: 77;