Skip to content

Instantly share code, notes, and snippets.

/* *************************************** */
/* font by http://www.dafont.com/digital-7.font */
@font-face {
font-family: 'digital-7';
src: url('http://denisx.ru/fonts/digital-webfont.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}
/* global */
.myClockJS {
margin: 2em;
}
.myClockJS b {
display: block;
width: 100%;
font-weight: normal;
}
.myClockJS .inner {
@denisx
denisx / dabblet.css
Created March 28, 2013 18:04
Untitled
body {
padding: 1em 3em;
}
ul, li, h2 {
list-style: none;
margin: 0;
padding: 0;
}
@denisx
denisx / jsdoit.css
Created March 28, 2013 18:11
2013-03-29 1st
body {
padding: 1em 3em;
}
ul, li, h2 {
list-style: none;
margin: 0;
padding: 0;
}
@denisx
denisx / tiny.sh
Last active December 12, 2019 07:21
Check images at folder, and optimize them with tinypng.com service
#!/bin/bash
# @author denisx
# find iamges at folder and optimize them
# you need a key from https://tinypng.com/developers
# system dependence: jq, curl
# ---=== settings === ---
# you need a key from https://tinypng.com/developers
dev_key="xxx"
@denisx
denisx / suggest-css-hash-len.js
Created April 27, 2020 12:35
suggest-css-hash-len.js
/*
at webpack settings:
plugins: [
...plugins,
new SuggestCssHashLen({
instance: MyShortCssClasses,
selectedHashLen: cssHashLen
})
]