Skip to content

Instantly share code, notes, and snippets.

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 Nov 7, 2022
Practice | Javascript 2
View index.html
<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()">
View index.html
<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 Nov 7, 2022
Practice | Profile CSS
View index.html
<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>
View index.html
<!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 / form-inputs.py
Created Aug 9, 2017 — forked from chrisbay/form-inputs.py
Flask handlers to display and process various form inputs
View form-inputs.py
from flask import Flask, request
app = Flask(__name__)
app.config['DEBUG'] = True
@app.route("/form-inputs")
def display_form_inputs():
return """
<style>
View Python - Project Battleship
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)
View argv0.c
#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;
View index.html
<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>
View hello-w-3-pen1.markdown