Skip to content

Instantly share code, notes, and snippets.

View btg5679's full-sized avatar
🎯
Focusing

bg btg5679

🎯
Focusing
View GitHub Profile
looking at so-called molecular hydrogen water, which sounds very fancy and esoteric
and almost um a little wacky, but it turns out, has largely to do with the amount of
magnesium and calcium and the pH of that water. So if you are somebody who has a
very low budget or simply just wants to spend a very small amount of money and try and
still drink tap water, there is absolutely a way to do that safely, but it does require a few
of these steps.
01:48:13 Tool: “Hard Water”; Magnesium, Calcium & Cardiovascular Health
So, on the topic of magnesium and calcium, this relates, as I mentioned earlier, to the
quote: unquote hardness of water. So what of the hardness of water? You know? Is it
better to have more magnesium and calcium in your water or less some people? Don'T
@btg5679
btg5679 / exampleSynth.json
Created May 10, 2023 20:54
synth model example
{
_id: "some-guid",
minutesToRead: 6,
keyIdeas: [
{
tokenCount: 202,
title: "The Importance of Strength Training for Bone Health",
htmlContent:
"Strength training is essential for promoting bone health, as it puts sheer force on the bones, activating osteoblasts which help build bone. This is particularly important for females as the bone density achieved during their early years sets the trajectory for the rest of their lives. The use of steroid inhalers or corticosteroids during the critical window of bone development can impair this process, making it crucial to focus on activities that put stress on bones. <br /> <br /> Although there is a key window for bone development, strength training remains beneficial for individuals in their 30s, 40s, and beyond as it can help prevent the decline in bone mineral density. The type of strength training that is effective for bone health involves heavy loads and low repetition ranges. It is important to train the whole body as the e
@btg5679
btg5679 / reactHomePage.tsx
Created March 25, 2023 15:24
reactjs homepage with a lot of classes
import jumpSvg from "../../images/jump.svg";
import NavBar from "../../components/NavBar/navbar";
import AmazonSvg from "../../images/check-green.svg";
import NewSvg from "../../images/new.svg";
import BookSvg from "../../images/book.svg";
import HomePillContainer from "../../components/HomePillComponent/homePillComponent";
const HomePage = () => {
return (
<body className="flex flex-col justify-center m-0 p-0 overflow-hidden">
Component Design
ColonyDAO Treasury Gnosis Safe
Governance Emoji Votes and Gnosis Snapshot
Governance Token WOOD
Gnosis Safe Owner Multi-Sig
Voting All members must vote
component,design
ColonyDAO Treasury,Gnosis Safe
Governance,Emoji Votes and Gnosis Snapshot
Governance Token,WOOD
Gnosis Safe Owner,Multi-Sig
Voting, All members must vote
function Node(task) { // www.ja v a 2 s .com
this.name = task.name;
this.uri = task.uri
this.nextTask = undefined;
}
function LinkedList() {
this.head = new Node({name:"head"});
this.find = find;
this.insert = insert;
function TaskNode(task) {
this.taskName = task.name;
this.taskUri = task.id
this.nextTask = null;
this.previousTask = null;
}
function WorkflowTaskLinkedList() {
this.head = new TaskNode({name:"head",id:'http://123'});
this.find = find;
function* favBeer() {
const reply = yield "What is your favorite type of beer?";
console.log(reply);
if (reply !== "ipa") return "No soup for you!";
return "OK, soup.";
}
{
const it = favBeer();
const q = it.next().value; // Iterator asks question
function* sample() {
yield "simple";
yield "generator";
}
var it = sample();
console.log(it.next()); // {value: 'simple, done: false}
console.log(it.next()); // {value: 'generator, done: false}
console.log(it.next()); // {value: undefined, done: true}
@btg5679
btg5679 / simpleIterator.js
Created July 11, 2018 00:52
Simple Iterator
function makeIterator(array) {
var nextIndex = 0;
console.log("nextIndex =>", nextIndex);
return {
next: function() {
return nextIndex < array.length
? { value: array[nextIndex++], done: false }
: { done: true };
}