Skip to content

Instantly share code, notes, and snippets.


Nikita Dudnik Nek

Block or report user

Report or block Nek

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View countup-and-countdown.markdown

Countup and Countdown

A countdown to a specific date that animates up from 0 and then starts the countdown.

A Pen by Nikita Dudnik on CodePen.


Nek / eslint.json
Last active Jan 2, 2019
JS support in Emacs
View eslint.json
// Part of package.json with eslint configuration I use.
// You'll need eslint-plugin-prettier in your dev dependencies
// and probably a bunch of other things. Eslint will complain.
// Just install what it asks for.
"eslintConfig": {
"extends": "react-app",
"plugins": [
View bash_to_fish.txt
setting variables
bash: var=value
fish: set var value
function arguments
bash: "$@"
fish: $argv
function local variables
bash: local var
Nek / stuff.txt
Last active Dec 29, 2018
stuff to install
View stuff.txt
/usr/bin/ruby -e "$(curl -fsSL"
brew install cask
brew cask install alfred
brew cask install karabiner-elements
brew cask install gitup
brew cask install telegram
brew cask install google-chrome
brew cask install google-chrome-canary
brew cask install omnifocus
brew cask install selfcontrol
View init.el
(require 'package)
(setq package-archives '(("gnu" . "")
("melpa" . "")
("marmalade" . "")
("org" . "")
("sunrise" . "")))
(defun package-install-if-not (package)
"Install PACKAGE if it's not installed yet."
/usr/bin/ruby -e "$(curl -fsSL"
brew install fish
brew install wget
brew install gnutls
brew install git
brew install jq
brew install rlwrap
# clojure
brew install leiningen
# js stuff
Nek / .emacs
Last active Jan 4, 2018
Dot files
View .emacs
(require 'package)
(setq package-archives '(("gnu" . "")
("melpa" . "")
("marmalade" . "")
("org" . "")
("sunrise" . "")))
(defun package-install-if-not (package)
"Install PACKAGE if it's not installed yet."

Keybase proof

I hereby claim:

  • I am nek on github.
  • I am dudnik ( on keybase.
  • I have a public key ASC57RR_69F8qvhhY8yuthFpZnCOqbag8o0WinDppaNMmgo

To claim this, I am signing this object:

Nek /
Last active Dec 21, 2017
Shell tricks

Files changed in current branch relatively to some other branch:

git checkout <notMainDev>
git diff --name-only <mainDev>

Take .js and .jsx file names from log and feed them to prettier rewiting them with output:

Nek / .spacemacs
Last active May 17, 2017
My .spacemacs files
View .spacemacs
;; -*- mode: emacs-lisp -*-
;; This file is loaded by Spacemacs at startup.
;; It must be stored in your home directory.
(defun dotspacemacs/layers ()
"Configuration Layers declaration.
You should not put any user code in this function besides modifying the variable
;; Base distribution to use. This is a layer contained in the directory
You can’t perform that action at this time.