Skip to content

Instantly share code, notes, and snippets.

View SeanPlusPlus's full-sized avatar

Sean Stephenson SeanPlusPlus

View GitHub Profile
@SeanPlusPlus
SeanPlusPlus / App.css
Last active September 20, 2023 17:04
Interview Answer CSS
body {
margin: 0;
}
main {
font-family: 'Helvetica', 'Arial', sans-serif;
color: #111;
padding: 12px;
}
@SeanPlusPlus
SeanPlusPlus / App.jsx
Last active September 20, 2023 17:04
Interview Answer React
import { useState, useEffect } from 'react'
import './App.css'
export default function App() {
const [movies, setMovies] = useState([])
const api = 'https://simplejson.vercel.app/api/awOkOFOw'
const getData = () => {
fetch(api, {
headers: {
'Content-Type': 'application/json',
@SeanPlusPlus
SeanPlusPlus / interview.md
Last active September 20, 2023 17:49
Front End Engineering Interview Question

Front End Engineering Interview Question

  1. Hit a JSON API, get list of movies, and display in <div>s
  2. Apply initial styling to the movie <div>s (border, margin, title)
  3. Add desktop styling (background colors, 2 column) and keep initial styling for mobile

Bonus

  • Add filtering by genre
  • Add sort by year / alphabetical
@SeanPlusPlus
SeanPlusPlus / ERC_Tokens.md
Last active April 20, 2022 13:49
ERC Tokens
Abraham Ancer
Daniel Berger
Christiaan Bezuidenhout
Sam Burns
Patrick Cantlay
Paul Casey
Cameron Champ
Stewart Cink
Corey Conners
Fred Couples
<!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">
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<title>US MAP</title>
<style>
#us-map{
@SeanPlusPlus
SeanPlusPlus / top_ten.js
Created September 8, 2020 17:08
Gets 10 top riders in Le Tour
const fetch = require('node-fetch')
const cheerio = require('cheerio');
async function getData(items) {
const data = Promise.all(
items.map(async (i) => await (await fetch(i)).text())
)
return data
}
######################
### TMUX YO!!!!!! ###
######################
set-window-option -g mode-keys vi
# split panes using | and _
bind | split-window -h
bind _ split-window -v
unbind '"'
var arr = [
'James Harden, PG',
'Anthony Davis, PF',
'LeBron James, SF',
'Damian Lillard, PG',
'Giannis Antetokounmpo, PF',
'Kevin Durant, SF',
'Russell Westbrook, PG',
'Kyrie Irving, PG',
'LaMarcus Aldridge, C',