Skip to content

Instantly share code, notes, and snippets.

View tori-bot's full-sized avatar

Victoria Makena tori-bot

View GitHub Profile
@tori-bot
tori-bot / README.md
Created November 5, 2022 14:31 — forked from chrisjacob/README.md
Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").

Intro

Description: Setup GitHub Pages "gh-pages" branch and "master" branch as subfolders of a parent project folder ("grandmaster").

Author: Chris Jacob @_chrisjacob

Tutorial (Gist): https://gist.github.com/833223

The Result

@tori-bot
tori-bot / DEPLOYING-DJANGO-APPS-TO-HEROKU.md
Created June 22, 2022 10:48 — forked from newtonkiragu/DEPLOYING-DJANGO-APPS-TO-HEROKU.md
Deploying Django Applications to heoroku

How to Deploy Django Applications on Heroku

Install heroku CLI

Sign up to Heroku.

Then install the Heroku Toolbelt. It is a command line tool to manage your Heroku apps

After installing the Heroku Toolbelt, open a terminal and login to your account:

@tori-bot
tori-bot / heroku.md
Created March 29, 2022 10:25 — forked from raghubetina/heroku.md
Heroku Cheatsheet

Heroku Cheatsheet

Get the Heroku toolbelt

Sign up for a Heroku account and install the toolbelt if you haven't already.

Prepare your application

In your Gemfile, add

// Pseudocode
- As always we'll start by defining our function which takes an array as a parameter - as reviewed in the logic above: function bubbleSort(array){};
- Model the parent loop to iterate upto n-1 limits
- Model the inner loop to deduct each pass from the already set limit of the parent loop
- As we loop through the array we are going to be comparing and switching our array elements - when necessary, that is, until our largest number bubbles up to the top/end.
- With the two loops in place, we now need to build out the code to compare and switch neighbouring numbers - if necessary.
// Code