Skip to content

Instantly share code, notes, and snippets.

View finalcut's full-sized avatar

Bill Rawlinson finalcut

View GitHub Profile
@finalcut
finalcut / openpgp.md
Created November 8, 2022 15:02
Keyoxide Proof
@finalcut
finalcut / library.html
Created February 18, 2019 23:51
Library
<html>
<head>
<title>The Library</title>
</head>
<script type="text/javascript">
class LibraryItem{
// add properties to this that hold the itemType and the title..
@finalcut
finalcut / random_names.html
Last active February 13, 2019 21:25
random name generator example
<!DOCTYPE html>
<html lang='en-US'>
<head>
<title>Random Name Generator</title>
</head>
<script type='text/javascript'>
var MaleName = ['Jason', 'Michael', 'Noah', 'Liam', 'Benjamin','Bill','Justin','Ted','Joe','Steve','Chris','Charles','Craig','Duane','Sean','Chuck','Anthony','Tony'];
var FemaleName = ['Emma', 'Olivia', 'Ava', 'Isabelle', 'Mia','Lisa','Emily','Shannon','Cyndy','Amber','Shonna','Marsha','Anna','Meghan','Sunny','Emma'];
@finalcut
finalcut / assign.htm
Created February 11, 2019 17:58
final vesion of the assignment app
<html>
<head>
<script type="text/javascript">
class Student{
constructor(firstName, lastName) {
this.firstName = firstName;
this.lastName = lastName;
}
@finalcut
finalcut / random_assign.html
Created February 4, 2019 22:16
randomly assign a task to a random person
<html>
<head>
<script type="text/javascript">
// random number will return
// an integer (whole number) between 0 and maxValue-1
// so, if you have an array of six elements and you want
// a random index value to find a value in that array
// you'd pass in the array length of six and this would
// return a value between 0 and 5
@finalcut
finalcut / arrays.html
Created January 31, 2019 00:46
Some basic array information
<html>
<head>
<script type="text/javascript">
// better way to create an array
// its easier and less prone to mistakes
var betterArray = ['summer','fall'];
//console.log(betterArray);
//console.table(betterArray);
@finalcut
finalcut / strings.html
Created January 29, 2019 13:34
String Interpolation and String Concatenation Examples in javascript
<html>
<head>
<script type="text/javascript">
// define a couple strings
var myString = 'first part';
var myOtherString = 'last part';
// concatenate the strings with a space in the middle
var myLastString = myString + ' ' + myOtherString;
@finalcut
finalcut / oddeven.html
Last active January 29, 2019 13:30
Odd or Even Number Function
<html>
<head>
<script type="text/javascript">
// define a function
function isEven(numberToTest)
{
var minVal = -1000000;
var maxVal = 1000000;

Keybase proof

I hereby claim:

  • I am finalcut on github.
  • I am finalcut (https://keybase.io/finalcut) on keybase.
  • I have a public key ASA9kt5b52Uqw1FsfO_0_PcN6Mw9ajWls3FQckEUMhALLgo

To claim this, I am signing this object:

@finalcut
finalcut / AzureDeployWorkerRole.ps1
Last active October 11, 2017 20:41
Powershell Script For Deploying Worker Role to Azure
[CmdletBinding()]
Param(
[Parameter(Mandatory=$True,Position=1)]
[string]$subscription,
[Parameter(Mandatory=$True,Position=2)]
[string]$service,
[Parameter(Mandatory=$True,Position=3)]
[string]$projectName,