This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Name is Nikita Dudnik. | |
| I'm just logging stuff! | |
| Topics are diverse. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class BackedProxy { | |
| static DEBUG = true; | |
| static WRAPPED = Symbol('Wrapped Objects accessor.'); | |
| static make = (obj, origObj) => new Proxy(obj, { | |
| get(obj, prop, receiver) { | |
| if (prop === BackedProxy.WRAPPED) return {obj, origObj}; | |
| if (BackedProxy.DEBUG) { | |
| console.log(`get ${prop.toString()})`) | |
| } | |
| const value = prop in obj ? obj[prop] : origObj[prop] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| I am attesting that this GitHub handle nek is linked to the Tezos account tz1SG66LHjWadhJXj7WKUsa2uaxpNndNvpQ8 for tzprofiles | |
| sig:edsigu3xgjuxKnLfTxrJ6xDUwJM9TdVu7kmzJBjzXXZptrk7pPUJXuB2MRh9DLxTSPDR2QfJCg8nUrArh9A4qiRAKjwZMAfAtAn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| I am attesting that this GitHub handle nek is linked to the Tezos account tz1SG66LHjWadhJXj7WKUsa2uaxpNndNvpQ8 for tzprofiles | |
| sig:edsigu3xgjuxKnLfTxrJ6xDUwJM9TdVu7kmzJBjzXXZptrk7pPUJXuB2MRh9DLxTSPDR2QfJCg8nUrArh9A4qiRAKjwZMAfAtAn |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |
NewerOlder