Skip to content

Instantly share code, notes, and snippets.

View steven-barkley's full-sized avatar
💭
Organizing work to follow value.

Steven Reginald Barkley steven-barkley

💭
Organizing work to follow value.
View GitHub Profile
@steven-barkley
steven-barkley / index.html
Created February 14, 2017 21:04
Tribute page -pen2
<html>
<body style="background-color: silver;">
<center>
<h1 style="background-color: white;">The Natural Philosopher and Original Sin.</h1>
<h2 style="background-color: black; color: white;">Sir Issac Newton</h2>
</center>
<p> <ol>
<left><ul><b>I can calculate the motion of heavenly bodies, but not the madness of people.</b></ul>
<img src="http://smart-learning.co.uk/teachers-club/wp-content/uploads/2015/05/scientist-biography-issac-newton.jpg" alt="SirIssacNewton" align= "left">
</p>
@steven-barkley
steven-barkley / hello-w-3-pen1.markdown
Last active February 14, 2017 21:16
Hello W(3) - pen1
@steven-barkley
steven-barkley / argv0.c
Created February 20, 2017 01:25
argv0.c practice
#include <cs50.h>
#include <stdio.h>
#include <string.h>
int main (int argc, string argv[])
{
if( argc != 2)
{
printf("Missing command-line arguments\n");
return 1;
from random import randint
board = []
for x in range(5):
board.append(["O"] * 5)
def print_board(board):
for row in board:
print " ".join(row)
@steven-barkley
steven-barkley / form-inputs.py
Created August 9, 2017 08:59 — forked from chrisbay/form-inputs.py
Flask handlers to display and process various form inputs
from flask import Flask, request
app = Flask(__name__)
app.config['DEBUG'] = True
@app.route("/form-inputs")
def display_form_inputs():
return """
<style>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
<style id="jsbin-css">
button {
color: #ff3;
background: #000;
@steven-barkley
steven-barkley / index.html
Created November 7, 2022 13:53
Practice | Profile CSS
<div class="profile-header rcorners2">
<h1>Custom profile header</h1>
</div>
<article>
<h2> Process 09/11/2022</h2>
<ol>
<li>Watched <a href="https://www.youtube.com/watch?v=W-TKiiJ_SjE">Video</a></li>
<li>Used inspect element; Scrolled to find "profile-header" class</li>
<li>Used CSS to selection background-color; Google searched yellow green hex code "#9acd32"</li>
@steven-barkley
steven-barkley / index.html
Created November 7, 2022 13:55
Practice | Links
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1.0">
<title>index</title>
<link rel="stylesheet" href="css/standardize.css">
<link rel="stylesheet" href="css/index-grid.css">
<link rel="stylesheet" href="css/index.css">
</head>
@steven-barkley
steven-barkley / index.html
Created November 7, 2022 13:55
Practice | Javascript 2
<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>Functions</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h2>My First JavaScript</h2>
<button type="button" onclick="document.getElementById('demo').innerHTML = Date()">