Skip to content

Instantly share code, notes, and snippets.

View kcelsi's full-sized avatar
😶‍🌫️

Kirill Grigorev kcelsi

😶‍🌫️
View GitHub Profile
@kcelsi
kcelsi / .eslintignore
Created October 25, 2021 09:44
⚙️ Settings for repo
node_modules
public
@kcelsi
kcelsi / settings.json
Last active September 28, 2020 08:02
Windows terminal 20.09.2020 | Settings
// This file was initially generated by Windows Terminal Preview 1.2.2022.0
// It should still be usable in newer versions, but newer versions might have additional
// settings, help text, or changes that you will not see unless you clear this file
// and let us generate a new one for you.
// To view the default settings, hold "alt" while clicking on the "Settings" button.
// For documentation on these settings, see: https://aka.ms/terminal-documentation
{
"$schema": "https://aka.ms/terminal-profiles-schema",
@kcelsi
kcelsi / svg-project-2.svg
Created July 12, 2020 10:53
svg frontend project 2
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kcelsi
kcelsi / .bashrc
Last active May 20, 2021 09:29
Aliases
alias gs='git status '
alias ga='git add '
alias gb='git branch '
alias gc='git commit'
alias gd='git diff'
alias gco='git checkout '
alias gsw='git switch '
alias gp='git push '
alias gpl='git pull'
alias gf='git fetch '
@mixin adaptive-font ($min-font, $min-width, $max-font, $max-width) {
// https://habr.com/ru/company/mailru/blog/315196/
// 110px - 28px = 82px
$different-fonts: $max-font - $min-font;
// 1920 - 320px = 1600px
$different-width: $max-width - $min-width;
// 82 / 1600 = 0.05px
$coefficient-px: $different-fonts / $different-width;
// 28 - 0.05 * 320 = 12
$coefficient: $min-font - $coefficient-px * $min-width;
// Future versions of Hyper may add additional config options,
// which will not automatically be merged into this file.
// See https://hyper.is#cfg for all currently supported options.
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 16,
// font family with optional fallbacks
<link href="style.css" rel="stylesheet" >
<script src="script.js" defer=""></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>