Skip to content

Instantly share code, notes, and snippets.

View princed's full-sized avatar
🏗️
Building

Eugene Datsky princed

🏗️
Building
View GitHub Profile

List direct dependencies' licenses

Setup

git clone https://gist.github.com/83a5a68afd284fbb5940a2b2464b7a08.git list-licences
cd list-licences
npm install
npm link
@princed
princed / nix-fishgen.py
Created July 16, 2018 01:51 — forked from sebastien/nix-fishgen.py
Python script that converts Nix's profile bash script to Fish
#!/usr/bin/env python3
import re, sys, os
"""
Converts the Nix profile SH script to a Fish-compatible profile using a
simple line-by-line replace algorithm.
"""
# Regular expressions for things we need to rewrite
RE_TEST = re.compile("\[([^\]]+)\]")
@princed
princed / .csscomb.json
Created August 19, 2014 07:53
Element-case with selector interpolation test case
{
"element-case": "lower"
}
@princed
princed / .csscomb.json
Last active August 29, 2015 14:05
Sort-order-fallback and leftovers with two properties with interpolation test case
{
"sort-order-fallback": "abc",
"sort-order": [
["..."]
]
}
@princed
princed / Gruntfile.js
Last active August 29, 2015 14:04
grunt-sass clean test case
module.exports = function(grunt) {
grunt.initConfig({
sass: {
options: {
// Comment this option to avoid bug
sourceComments: 'map'
},
'tst.css': 'tst.scss'
}
@princed
princed / dabblet.css
Created July 19, 2012 11:01 — forked from tyv/dabblet.css
списки и счетчики
/*
списки и счетчики
http://clck.ru/d/_DP820mM15kId
http://clck.ru/d/W3EGMhVZ15kIl
http://clck.ru/d/yvjcixu815kJJ
*/
.multilevel,
.multilevel ol
{
counter-reset: list;
@princed
princed / dabblet.css
Created July 19, 2012 10:44 — forked from tyv/dabblet.css
Страница карточек шаг 3
/*
* Страница карточек шаг 3
* http://clck.ru/d/UwKTkih_14p1p
* http://clck.ru/d/TyYG2nfR14p1H
*/
body
{
text-align: justify;
}
@princed
princed / dabblet.css
Created July 18, 2012 21:23 — forked from tyv/dabblet.css
Страница карточек шаг 2
/*
* Страница карточек шаг 2
* http://clck.ru/d/OkAGYhJd14p0D
*/
/*
* Страница карточек
* http://clck.ru/d/UABmzLuo14p-h
*/
@princed
princed / dabblet.css
Created July 18, 2012 20:27 — forked from tyv/dabblet.css
Страница карточек
/*
* Страница карточек
* http://clck.ru/d/UABmzLuo14p-h
*/
.card
{
border: 1px solid #ccc;
margin-bottom: 5px;
}
@princed
princed / dabblet.css
Created July 18, 2012 16:46 — forked from tyv/dabblet.css
Сделать объемную надпись
/*
Сделать объемную надпись
http://clck.ru/d/wF6GyFCC14CDp
*/
html, body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;