Skip to content

Instantly share code, notes, and snippets.

@KadeStroude
KadeStroude / fcc-technical-documentation.markdown
Created April 12, 2022 17:06
FCC Technical Documentation
<!--
Deleted the intro message.
A lot of this is reinterpreted code from the template (https://codepen.io/freeCodeCamp/pen/zNqgVx) , but I have still written it line-by-line. Ultimately, this is how I began coding, way before this bootcamp, leveraging open-source technologies and ammending them to achieve my desired result. Therefore I felt no need to come up with a website idea completely from scratch. This is just an exercise consolidating my knowledge from the tutorials.
-->
<main id="main">
<h1 id="title"> Kade Stroude</h1>
<h2 id="subtitle"> FCC: Tribute Page Submission</h2>
<p>A brief history of yet another self-taught developer</p>
<figure id="img-div">
@KadeStroude
KadeStroude / vpn.md
Created March 31, 2022 14:06 — forked from joepie91/vpn.md
Don't use VPN services.

Don't use VPN services.

No, seriously, don't. You're probably reading this because you've asked what VPN service to use, and this is the answer.

Note: The content in this post does not apply to using VPN for their intended purpose; that is, as a virtual private (internal) network. It only applies to using it as a glorified proxy, which is what every third-party "VPN provider" does.

  • A Russian translation of this article can be found here, contributed by Timur Demin.
  • A Turkish translation can be found here, contributed by agyild.
  • There's also this article about VPN services, which is honestly better written (and has more cat pictures!) than my article.
@KadeStroude
KadeStroude / Solidity Part 1a.sol
Last active February 14, 2022 02:29
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.8.11+commit.d7f03943.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
contract Score {
constructor () {
owner = msg.sender;
}
// I have added a constructor - a function that is only executed once when the contract is deployed on the Ethereum blockchain. Here I have defined the contract owner.
uint score = 5;
// Friendly reminder that Solidity is a statically typed language, so you always need to declare the variable type. Anyways...
mapping(address => uint) score_list;
@KadeStroude
KadeStroude / HelloWorld.sol
Created December 25, 2021 18:56
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.8.11+commit.d7f03943.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
contract HelloWorld {
string public message;
constructor(string memory initialiseMessage) {
message = initialiseMessage;
}
function update (string memory newMessage) public{