Skip to content

Instantly share code, notes, and snippets.

View Mfstat27's full-sized avatar

Tracey Thomas Mfstat27

View GitHub Profile
@Mfstat27
Mfstat27 / markdown-details-collapsible.md
Created August 2, 2022 12:55 — forked from pierrejoubert73/markdown-details-collapsible.md
How to add a collapsible section in markdown.

A collapsible section containing markdown

Click to expand!

Heading

  1. A numbered
  2. list
    • With some
    • Sub bullets
@Mfstat27
Mfstat27 / password.elm
Created November 16, 2021 14:52 — forked from moonlightdrive/password.elm
Password Validation Exercises from the Elm Architecture Tutorial
{- Implementation of the Exercises for the Forms section of the Elm Architecture Tut
- http://guide.elm-lang.org/architecture/user_input/forms.html
-
- Elm Platform 0.17.1
-}
import Html exposing (..)
import Html.App as Html
import Html.Attributes exposing (..)
import Html.Events exposing (onInput, onClick)
@Mfstat27
Mfstat27 / pow.js
Created March 17, 2021 14:21
Implementing my own Math.pow()
const myPow = (x, n) => {
//return Math.pow(x, n)
if(n === 0){
return 1
}
let pow = x;
if(!(n >= -2147483648)){
return n=0
}
if(!(n <= 2147483647-1)){