Skip to content

Instantly share code, notes, and snippets.

View modster's full-sized avatar

EM Greeff modster

View GitHub Profile
@modster
modster / p256verify.sh
Created February 8, 2024 04:10 — forked from ulerdogan/p256verify.sh
Testing command for RIP-7212
RPC="https://polygon-mumbai.blockpi.network/v1/rpc/public"
P256VERIFY="0x0000000000000000000000000000000000000100"
CALLDATA="4cee90eb86eaa050036147a12d49004b6b9c72bd725d39d4785011fe190f0b4da73bd4903f0ce3b639bbbf6e8e80d16931ff4bcf5993d58468e8fb19086e8cac36dbcd03009df8c59286b162af3bd7fcc0450c9aa81be5d10d312af6c66b1d604aebd3099c618202fcfe16ae7770b0c49ab5eadf74b754204a3bb6060e44eff37618b065f9832de4ca6ca971a7a1adc826d0f7c00181a5fb2ddf79ae00b4e10e"
echo "testing RIP-7212 on Mumbai"
cast call --rpc-url ${RPC} ${P256VERIFY} --data ${CALLDATA}
@modster
modster / app1.js
Created June 13, 2023 20:20 — forked from prof3ssorSt3v3/app1.js
Express JS Routing examples for YouTube video series on Express
//Starter version of the main app.js file
"use strict";
const express = require("express");
const app = express();
const port = process.env.port || 4444;
app.get("/", (req, res) => {
//handle root
});
@modster
modster / index.html
Created June 13, 2023 02:36 — forked from prof3ssorSt3v3/index.html
Code from video about using the chrome dev tools console
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap" rel="stylesheet" />
@modster
modster / index.html
Created June 12, 2023 13:45 — forked from prof3ssorSt3v3/index.html
Code from Video on building Custom Response Objects
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<script src="response.js" async defer></script>
<title>Custom Response</title>
</head>
@modster
modster / index.html
Created June 11, 2023 07:05 — forked from prof3ssorSt3v3/index.html
Code from video about generating UUIDs with JavaScript
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
html {
font-size: large;
@modster
modster / hello.js
Last active April 25, 2023 21:26
hello
export default hi = "hello"
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Injecting Strings into DOM as HTML</title>
<style>
p {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
@modster
modster / index.html
Created April 24, 2023 05:18 — forked from prof3ssorSt3v3/index.html
Code from video on color-scheme and prefers-color-scheme
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>color-scheme and prefers-color-scheme</title>
<meta name="color-scheme" content="light dark" />