Skip to content

Instantly share code, notes, and snippets.

@jshuadvd
jshuadvd / 1_Storage.sol
Created March 28, 2021 00:22
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.6.12+commit.27d51765.js&optimize=false&runs=200&gist=
pragma solidity >=0.4.22 <0.7.0;
/**
* @title Storage
* @dev Store & retrieve value in a variable
*/
contract Storage {
uint256 number;
@jshuadvd
jshuadvd / README.md
Created August 22, 2018 02:28 — forked from vasco3/data.js
Meal Planner

Meal Planner

Script in Javascript to automate meal planning in order to hit daily calories and protein.

@jshuadvd
jshuadvd / customizing-vs-code.md
Created August 19, 2018 01:25 — forked from rzvdaniel/customizing-vs-code.md
Customizing VS Code for Two Fonts.

Customizing VS Code

I followed the instructions in this blog post Multiple Fonts: Alternative to Operator Mono in VSCode, but did not see any changes made to VS Code. After digging a bit, I discovered that all the CSS class names had changed. They’re now e.g. .mtk13, .mtk16 { … }.

Gotchas

  • Ensure it’s a file URL e.g. { "vscode_custom_css.imports": [ "file:///Users/Brian/Desktop/vscode-style.css" ] }
  • If you move the location of your file and update your user settings with the new location, you will need to disable and enable custom CSS cmd+shift+p.
  • Also, anytime you change the style in your custom CSS file, you need to disable, then re-enable the extension.

For reference

<!DOCTYPE html>
<html>
<head>
<!-— facebook open graph tags -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://wran.gl/" />
<meta property="og:title" content="Wrangl" />
<meta property="og:description" content="Get everyone on the same page." />
<meta property="og:image" content="https://res.cloudinary.com/wrangl/image/upload/v1499470375/choice_image/esidaahsc9sbegkev1ji.png" />
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
@jshuadvd
jshuadvd / WebGL Simplex Noise - Sphere.markdown
Created February 19, 2016 09:09
WebGL Simplex Noise - Sphere