Skip to content

Instantly share code, notes, and snippets.

View neodaoist's full-sized avatar
💙
building

neodaoist neodaoist

💙
building
View GitHub Profile
@dnegstad
dnegstad / initializer
Created December 9, 2014 03:07
Keeping link-to from blowing up with webcomponent.js polyfills
import Ember from 'ember';
Ember.LinkView.reopen({
layoutName: 'components/link-view'
});
export default {
name: 'link-to',
initialize: function() {}
};
@lukas-h
lukas-h / license-badges.md
Last active July 16, 2025 20:21
Markdown License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • The badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.

Translations: (No guarantee that the translations are up-to-date)

@devtooligan
devtooligan / return a string the Seaport way
Last active June 10, 2023 17:01
Returning a string in Huff, the "Seaport" way
Goal:
0x00: 0000000000000000000000000000000000000000000000000000000000000020 (offset)
0x20: 0000000000000000000000000000000000000000000000000000000000000003 (length)
0x40: 544b4e0000000000000000000000000000000000000000000000000000000000 (“TKN”)
Normal way:
Step 1)
0x20 0x00 MSTORE
Memory layout:
@0x-stan
0x-stan / BAMM.py
Last active December 17, 2023 17:26
a demo of BAMM
"""
This is a demo of BAMM. Frax's recent article introduced BAMM, which is quite intriguing.
As the article didn't provide more details, I wanted to create a simple model for better understanding and simulation.
This includes some of my personal speculations on implementation details.
If there are any inaccuracies, feel free to point them out!
original article link: <https://flywheeldefi.com/article/bamm-revolutionary-primative>
"""