Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

N D Nek

🎯
Focusing
View GitHub Profile
View akai_fire.lua
-- https://github.com/Simon-L/ModScript script for interaction with Akai Fire MIDI controller
config.frameDivider = 1
config.bufferSize = 32
done = false
buttonTrig = SchmittTrigger.new()
OR, XOR, AND = 1, 3, 4
View emacs-29-compile.fish
set -gx CPATH $CPATH "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/14.0.0/include"
set -gx CPATH $CPATH "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include"
set -gx CPATH $CPATH "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include"
set -gx CPATH $CPATH "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AppKit.framework/Versions/Current/Headers"
set -gx CC /usr/bin/clang
set -gx CPATH $CPATH "/opt/homebrew/opt/libgccjit/include"
set -gx CPATH $CPATH "/opt/homebrew/opt/gcc/lib/gcc/12/gcc/aarch64-apple-darwin22/12/include"
set -gx LDFLAGS $LDFLAGS "-L/opt/homebrew/opt/libgccjit/lib/gcc/12"
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
@Nek
Nek / machine.js
Created January 27, 2022 12:18
Generated by XState Viz: https://xstate.js.org/viz
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 07:10 — 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 07:10 — 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 August 23, 2020 16:17 — 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
@Nek
Nek / keybase.md
Created September 14, 2019 06:23
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:

@Nek
Nek / countup-and-countdown.markdown
Created December 18, 2018 16:57
Countup and Countdown
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.