Skip to content

Instantly share code, notes, and snippets.

View epszaw's full-sized avatar

epszaw

  • Here's not here
View GitHub Profile
@epszaw
epszaw / scopes.txt
Created August 24, 2019 15:57 — forked from iambibhas/scopes.txt
Sublime Text 2: Snippet scopes
Here is a list of scopes to use in Sublime Text 2 snippets -
ActionScript: source.actionscript.2
AppleScript: source.applescript
ASP: source.asp
Batch FIle: source.dosbatch
C#: source.cs
C++: source.c++
Clojure: source.clojure
CoffeeScript: source.coffee

Sharec flow

Подготовка конфига

  1. Пользователь создает пустую репу.
  2. Инициализирует в ней npm.
  3. Ставит sharec.
  4. Создает директорию configs и добавляет sharec в postinstall.
  5. Сваливает все, что нужно пошарить, в т.ч. package.json с нужной конфигурацией в configs.
  6. Публикует свой конфиг или оставляет, в зависимости от того, откуда будет тянуться пакет.
@epszaw
epszaw / a.md
Last active May 17, 2019 20:40
sharec demo

Sharec – the secret weapon against "bloat" configs

Minify and support your big configs with extraction to external package with share.

Just move all configuration (include file) to another package, install sharec and distribute it through projects!

{
  "name": "my-awesome-project",
  "version": "1.0.0",
@epszaw
epszaw / theme.md
Created April 9, 2019 11:58
City lights slack theme

City lights slack theme

City lights slack theme adopted for Slack.

#1D252C,#2A333D,#2A333D,#FFFFFF,#4A5664,#6E899E,#008B94,#59C5FF

Keybase proof

I hereby claim:

  • I am lamartire on github.
  • I am lamartire (https://keybase.io/lamartire) on keybase.
  • I have a public key ASByFoEqdaxDjlRuB7M4KWkwUemr9b1a2EeuNGbWYs-_3wo

To claim this, I am signing this object:

]q(X external_idqXcommandqXtsqe.K.}q(K}q(XcommandqXselectqX__id__qKXtsqcdatetime
datetime
qC
 03uqqRq X external_idq
Xclojureq X __version__q KuK}q (XcommandqX"Hello "qX __version__qKXtsqhC
  00qqRqX external_idqXclojureqX__id__qKuK}q(XcommandqXuseqXtsqhC
 '
,qqRqX__id__qKX external_idq Xclojureq!X __version__q"KuK}q#(hXC(use 'clojure.pprint :as pp)
(pp/pprint {:method "GET" :foo "bar"})q$hhC
 ''bq%q&Rq'hKh h!h"KuK}q((hXE((use 'clojure.pprint :as pp)
@epszaw
epszaw / alabaster-slack-theme.md
Last active November 6, 2018 14:31
Alabaster theme for Slack sidebar
@epszaw
epszaw / README.md
Created October 25, 2018 19:45 — forked from lopspower/README.md
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

All hex value from 100% to 0% alpha:

@epszaw
epszaw / semantic-commit-messages.md
Created September 29, 2018 08:39 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@epszaw
epszaw / manual.md
Last active September 20, 2018 09:16
Pug/Jade classnames (cn) "native" implementation

Pug/Jade classnames (cn) "native" implementation

External modules

Install module for working with elements classes and pass it in pug locales (option at loader, gulp plugin, pug module).

const classnames = require('classnames')

pug({