Skip to content

Instantly share code, notes, and snippets.

View panukettu's full-sized avatar
🎯
Focusing

panu panukettu

🎯
Focusing
View GitHub Profile
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;
// Used in the `name()` function
// "Yul Token"
bytes32 constant nameLength = 0x0000000000000000000000000000000000000000000000000000000000000009;
bytes32 constant nameData = 0x59756c20546f6b656e0000000000000000000000000000000000000000000000;
// Used in the `symbol()` function
// "YUL"
@AarneHuttunen
AarneHuttunen / workflow.wflow
Created February 3, 2017 12:59
Simple applescript workflow to open specific Google profile in Chrome and open a fixed set of urls.
activate application "Google Chrome"
tell application "System Events"
tell process "Google Chrome"
click menu item "Name of your profile" of menu 1 of menu bar item "People" of menu bar 1
end tell
open location "http://example.com"
open location "http://anotherexample.com"
end tell
@tracker1
tracker1 / 01-directory-structure.md
Last active July 25, 2024 14:04
Anatomy of a JavaScript/Node project.

Directory structure for JavaScript/Node Projects

While the following structure is not an absolute requirement or enforced by the tools, it is a recommendation based on what the JavaScript and in particular Node community at large have been following by convention.

Beyond a suggested structure, no tooling recommendations, or sub-module structure is outlined here.

Directories

  • lib/ is intended for code that can run as-is
  • src/ is intended for code that needs to be manipulated before it can be used