Skip to content

Instantly share code, notes, and snippets.

View walosha's full-sized avatar
💭
Available for Hire

Olawale Afuye walosha

💭
Available for Hire
View GitHub Profile
@walosha
walosha / awsCopyPaste.txt
Created March 22, 2025 22:54 — forked from RivaanRanawat/awsCopyPaste.txt
All AWS Copy Paste material related to the video tutorial
AWS SQS Queue Access Policy to Store data to S3 RAW VIDEOS:
{
"Version": "2012-10-17",
"Id": "__default_policy_ID",
"Statement": [
// existing data... add the statement below
{
"Effect": "Allow",
"Principal": {
@walosha
walosha / app.js
Created January 28, 2025 06:37 — forked from prof3ssorSt3v3/app.js
Introduction to Service Workers code from video
const APP = {
SW: null,
init() {
//called after DOMContentLoaded
if ('serviceWorker' in navigator) {
// 1. Register a service worker hosted at the root of the
// site using the default scope.
navigator.serviceWorker
.register('/sw.js', {
scope: '/',
@walosha
walosha / accounting.sql
Created October 14, 2023 22:56 — forked from NYKevin/accounting.sql
Basic double-entry bookkeeping system, for PostgreSQL.
CREATE TABLE accounts(
id serial PRIMARY KEY,
name VARCHAR(256) NOT NULL
);
CREATE TABLE entries(
id serial PRIMARY KEY,
description VARCHAR(1024) NOT NULL,
amount NUMERIC(20, 2) NOT NULL CHECK (amount > 0.0),
-- Every entry is a credit to one account...

Firebase Setup For House Marketplace

  1. Create Firebase Project
  2. Create "web" app within firebase to get config values"
  3. Install firebase in your project "npm i firebase
  4. Create a config file in your project
  5. Add authentication for email/password and Google
  6. Create a user from Firebase
  7. Enable Firestore
  8. Add rules for firestore
@walosha
walosha / ssh.md
Created December 28, 2022 02:03 — forked from bradtraversy/ssh.md
SSH & DevOps Crash Course Snippets

SSH Cheat Sheet

This sheet goes along with this SSH YouTube tutorial

Login via SSH with password (LOCAL SERVER)

$ ssh [email protected]

Create folder, file, install Apache (Just messing around)

$ mkdir test

$ cd test

@walosha
walosha / django_deploy.md
Last active December 28, 2022 02:12 — forked from bradtraversy/django_deploy.md
Django Deployment - Digital Ocean
@walosha
walosha / deploy-mern.md
Created November 21, 2022 17:51 — forked from rmiyazaki6499/deploy-mern.md
Deploying a Production ready React-Express app on AWS EC2 with CI/CD

Deploying a Production ready React-Express app on AWS

In this tutorial, I will be going over to how to deploy a Javascript app from start to finish using AWS and EC2. Recently, my partner Tu and I launched our app AlgoAcademy (a resource for reviewing algorithms and data structures) and we wanted to share with other developers some of the lessons we learned along the way.

Following this tutorial, you will have an application that has:

  • A React frontend, Express backend
  • An AWS EC2 server configured to host your application
  • SSL-certification with Certbot
  • A custom domain name
@walosha
walosha / backend-architectures.md
Created February 14, 2021 02:18 — forked from ngocphamm/backend-architectures.md
Backend Architectures
var mediaJSON = { "categories" : [ { "name" : "Movies",
"videos" : [
{ "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ],
"subtitle" : "By Blender Foundation",
"thumb" : "images/BigBuckBunny.jpg",
"title" : "Big Buck Bunny"
},
{ "description" : "The first Blender Open Movie from 2006",
"sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ],