Skip to content

Instantly share code, notes, and snippets.

Avatar
🏗️
Under construction

Sam Richards samajammin

🏗️
Under construction
View GitHub Profile
View keybase.md

samajammin Sam Richards Developer @ Ethereum Foundation California

Keybase proof

I hereby claim:

View build-fail.txt
10:35:26 AM: Build ready to start
10:35:28 AM: build-image version: 3571f0130496395a23bffe9820bc78b4f73a6234
10:35:28 AM: build-image tag: v3.7.0
10:35:28 AM: buildbot version: 35681551598b95548b996201c978361e7ed9f7e7
10:35:28 AM: Fetching cached dependencies
10:35:28 AM: Starting to download cache of 988.6MB
10:35:34 AM: Finished downloading cache in 5.946830304s
10:35:34 AM: Starting to extract cache
10:35:59 AM: Finished extracting cache in 24.331960581s
10:35:59 AM: Finished fetching cache in 30.702307332s
View etherscan-403.txt
5:02:40 PM: 2021-01-27T01:02:40.155Z f3ea5bd3-e9fc-4781-b698-7d7824b428b8 ERROR Error: Request failed with status code 403
at e.exports (/var/task/src/etherscan.js:1:3840)
at e.exports (/var/task/src/etherscan.js:1:5440)
at IncomingMessage.<anonymous> (/var/task/src/etherscan.js:1:24694)
at IncomingMessage.emit (events.js:326:22)
at endReadableNT (_stream_readable.js:1241:12)
at processTicksAndRejections (internal/process/task_queues.js:84:21) {
config: {
url: 'https://etherscan.io/stats_nodehandler.ashx?range=1',
method: 'get',
View gatsby-config.js
const { ApolloLink } = require(`apollo-link`)
const { createHttpLink } = require(`apollo-link-http`)
const { onError } = require("apollo-link-error")
// const fetch = require("node-fetch")
const translations = require("./src/utils/translations")
require("dotenv").config()
const supportedLanguages = translations.supportedLanguages
const defaultLanguage = `en`
View package.json
{
"name": "ethereum-org-website",
"version": "2.14.4",
"description": "Website of ethereum.org",
"main": "index.js",
"repository": "git@github.com:ethereum/ethereum-org-website.git",
"author": "Sam Richards <sam.richards@ethereum.org>",
"license": "MIT",
"private": false,
"dependencies": {
View index.js
import React, { useState } from "react"
import Layout from "../components/layout"
import SEO from "../components/seo"
import { fetchJobs } from "../api/jobs"
// TODO move this into onmount of the component (i.e. when the component loads)
const allJobs = fetchJobs()
View netlify-build-pr-1812
8:19:23 AM: Build ready to start
8:19:23 AM: The following environment variables have been removed from this build to keep them secret:
8:19:23 AM: - ALGOLIA_ADMIN_KEY
8:19:23 AM: - CAPTCHA_SECRET
8:19:23 AM: - CROWDIN_API_KEY
8:19:23 AM: - FAUCET_PRIVATE_KEY
8:19:23 AM: - GATSBY_ALGOLIA_SEARCH_KEY
8:19:23 AM: - GITHUB_TOKEN
8:19:25 AM: build-image version: 09c2cdcdf242cf2f57c9ee0fcad9d298fad9ad41
8:19:25 AM: build-image tag: v3.5.0
View Codeblock.js
import React from "react"
import styled from "styled-components"
import Highlight, { defaultProps } from "prism-react-renderer"
import CopyToClipboard from "./CopyToClipboard"
import { FakeButton } from "./SharedStyledComponents"
import Emoji from "../components/Emoji"
const CopyCode = styled(FakeButton)`
padding-top: 0.25rem;
View Emoji.js
import React from "react"
import { Twemoji } from "react-emoji-render"
import styled from "styled-components"
const Emoji = ({
size = 1.5,
text,
marginLeft = 0,
marginRight = 0,
marginBottom = 0,
View my_vscode_extensions.sh
code --install-extension abusaidm.html-snippets
code --install-extension akamud.vscode-theme-onedark
code --install-extension akamud.vscode-theme-onelight
code --install-extension AzBlockchain.azure-blockchain
code --install-extension beaugunderson.solidity-extended
code --install-extension bodil.prettier-toml
code --install-extension BriteSnow.vscode-toggle-quotes
code --install-extension bung87.rails
code --install-extension bung87.vscode-gemfile
code --install-extension bungcip.better-toml