Skip to content

Instantly share code, notes, and snippets.

View ChrisOwen101's full-sized avatar
:octocat:

Christopher Owen ChrisOwen101

:octocat:
View GitHub Profile
name website
ByteAcademy https://academy.byteorbit.com/
CiTi CapaCiTi https://www.citi.org.za/capaciti
Code4CT http://code4ct.com
CodeCollege https://codecollege.co.za
CoderDojo Cape Town https://t.co/yZhFpSrxuM
Codespace https://www.codespace.co.za
ColorCode http://colorcode.org.za
GirlHype http://girlhype.co.za
HyperionDev https://www.hyperiondev.com

Tasks for students

Do these now. Follow the rules in the first document.

TASK: Make a spin-off of this project "box and ribbon".

TASK: Add a comment with your name at the top.

TASK: Save the project..

Endpoints

How to use this document

Under each title you'll find

  • The type of method request
  • See here for how to use different method requests using Fetch

Chris Owen

Introduction

My name is Chris

  • Apple
  • Banana
  • Orange
@ChrisOwen101
ChrisOwen101 / SigmaSetup.md
Last active July 16, 2021 13:09
Getting Setup at Sigma Labs

Getting Setup at Sigma Labs

If you're reading this page, that means you've been accepted as a student of Sigma Labs. Congratulations! 🎉

We're going to be working together as a team, closely for the next 12 weeks and then over the next two years. To make sure you're as ready as possible to get started please read through this guide and make sure you've completed all of the steps.

1) Background Knowledge

We expect that you join the course with some pre-existing knowledge. It's important that

@ChrisOwen101
ChrisOwen101 / updatecoursework.md
Last active July 29, 2021 20:57
How to Batch Update All Coursework Repos

This is a really hacky way to update all of the Coursework Repos from the Template repo. It involves:

  1. Cloning every coursework repo
  2. cd into each of them
  3. Add the template repo as a remote
  4. Fetch, pull and marge everything in a slightly unsafe way
  5. push everything
  6. cd out

This methodology follows a single core principle:

import { Application } from 'https://deno.land/x/abc@v1.3.1/mod.ts'
/*
!!!!!!!
THIS IS BAD CODE. DO NOT CREATE AN API LIKE THIS.
This example should only be used for teaching purposes.
Do not mimic any of techniques found in this example.
import { DB } from "https://deno.land/x/sqlite@v2.5.0/mod.ts";
import { Application } from "https://deno.land/x/abc@v1.3.3/mod.ts";
import AsciiTable from "https://deno.land/x/ascii_table/mod.ts";
import { createTable, createData, apiInstructions } from "./data.js";
let db;
// This is a functioning back-end.
// Everything is set up except for the database connections
const app = new Application();

Meshed Words

You will be given an array of strings. The words in the array should mesh together where one or more letters at the end of one word will have the same letters (in the same order) as the next word in the array. But, there are times when all the words won't mesh.

Examples of meshed words:

  • "apply" and "plywood"
  • "apple" and "each"
  • "behemoth" and "mother"

Data Analysis Assessment Task

Purpose

This task has been designed to assess the following areas:

  • SQL
  • Python
  • Data extraction and manipulation
  • Data visualisation