Understanding NFTs for Babies like Me
By: Andrew-Chen-Wang
Written on 2021-12-03
['announcements', 'funny', 'AskReddit', 'gaming', 'aww', 'Music', 'pics', 'worldnews', 'science', 'movies', 'todayilearned', 'videos', 'news', 'Showerthoughts', 'Jokes', 'food', 'askscience', 'IAmA', 'EarthPorn', 'gifs', 'nottheonion', 'books', 'DIY', 'explainlikeimfive', 'LifeProTips', 'Art', 'space', 'sports', 'mildlyinteresting', 'Documentaries', 'gadgets', 'tifu', 'memes', 'photoshopbattles', 'UpliftingNews', 'GetMotivated', 'dataisbeautiful', 'listentothis', 'history', 'television', 'philosophy', 'InternetIsBeautiful', 'Futurology', 'WritingPrompts', 'OldSchoolCool', 'personalfinance', 'nosleep', 'creepy', 'TwoXChromosomes', 'wallstreetbets', 'technology', 'wholesomememes', 'AdviceAnimals', 'interestingasfuck', 'Fitness', 'politics', 'WTF', 'lifehacks', 'oddlysatisfying', 'relationship_advice', 'Minecraft', 'travel', 'NatureIsFuckingLit', 'facepalm', 'Whatcouldgowrong', 'pcmasterrace', 'nextfuckinglevel', 'leagueoflegends', 'BlackPeopleTwitter', 'me_irl', 'bestof', 'dankmemes', 'Unexpected', 'Tinder', 'd |
Understanding NFTs for Babies like Me
By: Andrew-Chen-Wang
Written on 2021-12-03
let spreadsheet = "Today's Save Plates" | |
function capitalizeFirstLetter(string) { | |
return string.charAt(0).toUpperCase() + string.slice(1); | |
} | |
function increment_char(c) { | |
return c !== 'Z' ? String.fromCharCode(c.charCodeAt(0) + 1) : 'A'; | |
} |
Shortcuts that I overrode for Excel:
Setup:
cd ~/.config/karabiner/assets/complex_modifications && touch excel.json
excel.json
""" | |
I've had to monkeypatch django-ratelimit due to slow development. | |
The patch is basically allowing Django Axes with Django ipware | |
to grab the IP address rather than taking the IP straight from | |
META attribute in the request object. | |
You can find an initial implementation here: | |
https://github.com/jsocol/django-ratelimit/pull/208 | |
but the PR lead no where due to just not knowing how |
# Henceforth arr | |
a = [ | |
[1,1,1,1], | |
[1,1,1,1], | |
[1,1,1,1], | |
[1,1,1,1] | |
] | |
def find_ones(arr): | |
b = [] |
# Generated by Django 3.1 on 2020-08-23 20:44 | |
""" | |
The SQL statement provided will convert a boolean type in PostgreSQL | |
to numeric int and then change that to a smallint type. I'm not sure | |
why I couldn't use small int for blah::smallint::numeric(1,0)... | |
1 is True and 0 is False | |
""" | |
from django.db import migrations, models |
There are some stupid things in there. I was getting pretty tired. For example, I put Barack Obama in there somewhere; not as some "objectifying someone" but more like I was thinking about JaidenAnimation's random pokemon video and I thought "what if a wild Barack Obama appeared" and started donating time :P
Other random stuff: some memey AP textbooks that I never read and some nice but non-sensical things in terms of materialism like love and time.
<!-- Verifed Icons --> | |
<span class="fa fa-stack fa-lg"> | |
<i class="fa fa-certificate fa-stack-2x" style="color: green"></i> | |
<i class="fa fa-check fa-stack-1x fa-inverse"></i> | |
</span> | |
<span class="fa fa-stack fa-lg"> | |
<i class="fa fa-certificate fa-stack-2x" style="color: red"></i> | |
<i class="fa fa-close fa-stack-1x fa-inverse"></i> | |
</span> |
exclude: 'docs|node_modules|.git|.tox' | |
default_stages: [commit] | |
repos: | |
- repo: https://github.com/pre-commit/pre-commit-hooks | |
rev: master | |
hooks: | |
- id: trailing-whitespace | |
- id: end-of-file-fixer | |
- id: check-yaml |