Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Nikita Dudnik Nek

🎯
Focusing
View GitHub Profile
View gist:1de3e0aa16fd4c3979c267399e15d761
I am attesting that this GitHub handle nek is linked to the Tezos account tz1SG66LHjWadhJXj7WKUsa2uaxpNndNvpQ8 for tzprofiles
sig:edsigu3xgjuxKnLfTxrJ6xDUwJM9TdVu7kmzJBjzXXZptrk7pPUJXuB2MRh9DLxTSPDR2QfJCg8nUrArh9A4qiRAKjwZMAfAtAn
View gist:fe5575884129bc82c744c67057cb0f2d
I am attesting that this GitHub handle nek is linked to the Tezos account tz1SG66LHjWadhJXj7WKUsa2uaxpNndNvpQ8 for tzprofiles
sig:edsigu3xgjuxKnLfTxrJ6xDUwJM9TdVu7kmzJBjzXXZptrk7pPUJXuB2MRh9DLxTSPDR2QfJCg8nUrArh9A4qiRAKjwZMAfAtAn
View machine.js
// Available variables:
// - Machine
// - interpret
// - assign
// - send
// - sendParent
// - spawn
// - raise
// - actions
@Nek
Nek / hic_et_nunc_basic_scraper.py
Created May 7, 2021 — forked from Quasimondo/hic_et_nunc_basic_scraper.py
This is a very basic no-frills scraper to retrieve the metadata and digital assets from all tokens minted on hicetnunc.xyz. I share this as a starting point for people who want to experiment with building alternative views on the works created on the platform or preserve the data. Feel free to improve upon this or add additional features.
View hic_et_nunc_basic_scraper.py
import requests
import os
import ipfsApi
api = ipfsApi.Client(host='https://ipfs.infura.io', port=5001)
url = "https://better-call.dev/v1/contract/mainnet/KT1RJ6PbjHpwc3M5rw5s2Nbmefwbuwbdxton/tokens"
r = requests.get(url)
data = r.json()
@Nek
Nek / hic_et_nunc_basic_scraper.py
Created May 7, 2021 — forked from Quasimondo/hic_et_nunc_basic_scraper.py
This is a very basic no-frills scraper to retrieve the metadata and digital assets from all tokens minted on hicetnunc.xyz. I share this as a starting point for people who want to experiment with building alternative views on the works created on the platform or preserve the data. Feel free to improve upon this or add additional features.
View hic_et_nunc_basic_scraper.py
import requests
import os
import ipfsApi
api = ipfsApi.Client(host='https://ipfs.infura.io', port=5001)
url = "https://better-call.dev/v1/contract/mainnet/KT1RJ6PbjHpwc3M5rw5s2Nbmefwbuwbdxton/tokens"
r = requests.get(url)
data = r.json()
@Nek
Nek / uninstall_homebrew.sh
Last active Aug 23, 2020 — forked from mxcl/uninstall_homebrew.sh
Uninstall Homebrew
View uninstall_homebrew.sh
#!/bin/sh
# Just copy and paste the lines below (all at once, it won't work line by line!)
# MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY!
function abort {
echo "$1"
exit 1
}
set -e
View keybase.md

Keybase proof

I hereby claim:

  • I am nek on github.
  • I am dudnik (https://keybase.io/dudnik) on keybase.
  • I have a public key ASC8jl5ig4G_4A4GN2ZtqUiL1EjlFd5ShfXpRTKvnL2B-go

To claim this, I am signing this object:

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.

License.

@Nek
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": [
"prettier"
],
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