Skip to content

Instantly share code, notes, and snippets.

View rijkerd's full-sized avatar
🇹🇿
Available

Ricardo Rushatsi rijkerd

🇹🇿
Available
View GitHub Profile
@duonghuuphuc
duonghuuphuc / install-python3-on-macos-10.15-and-later.md
Last active May 23, 2024 16:04
Install Python3 on macOS 10.15 and later

Install Python3 on macOS 10.15 and later

This tutorial will show you how to install Python3 on a macOS system. To demonstrate the installation process, I will present the steps on macOS Catalina (Version 10.15). Instead of installing Python3 via the installer from the Python website, this tutorial will use brew which is the most popular Package Manager for macOS.

1/ Install brew

Installing brew on your system is straightforward, you just need to copy-and-paste the following command to the Terminal:

@rmiyazaki6499
rmiyazaki6499 / deploy-mern.md
Last active June 24, 2024 15:47
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
@rijkerd
rijkerd / getImageDimensions.js
Last active June 2, 2023 21:46
Get dimension of an image object uploaded to firebase storage
const functions = require('firebase-functions');
const mkdirp = require('mkdirp-promise');
const admin = require('firebase-admin');
const { execFile } = require('child-process-promise');
const path = require('path');
const os = require('os');
const fs = require('fs');
admin.initializeApp();
@alexcasalboni
alexcasalboni / amazon-rekognition.md
Last active October 11, 2024 16:44
Amazon Rekognition - Python Code Samples

Amazon Rekognition - Python Code Samples

  1. Labels Detection
  2. Faces Detection
  3. Faces Comparison
  4. Faces Indexing
  5. Faces Search
@JonathanMH
JonathanMH / create-conflict.sh
Created June 24, 2015 09:05
Create a merge conflict in git
#!/bin/bash
mkdir git-repo
cd git-repo
git init
touch my_code.sh
git add my_code.sh
echo "echo Hello" > my_code.sh
git commit -am 'initial'
git checkout -b new_branch
echo "echo \"Hello World\"" > my_code.sh
@egasimus
egasimus / Readme.md
Last active January 5, 2021 08:55
A few remarks on the Django REST Framework

A few remarks on the Django REST Framework

For a good while, I've been interested in the topic of automatically generating and routing views. For my last project, I built a haphazard implementation which ran using an elaborate scheme of mixins and decorators. A veritable monstrosity, it was - and the cognitive load of working with it wasted over a month of my time, allowing the project to slowly descend into limbo. I eventually ended up re-writing the heaps of class-based views by hand. Even though making good use of inheritance helped me tremendously, it was still a chore, and my interest in a tool that would save me some boilerplate code for standard CRUD apps remained.

When I first got a glimpse of the Django REST Framework, I was quite impressed by the browsable API; a quick look at the documentation got me hooked onto the concept of ViewSets and Routers. A few days ago, I decided to finally get my feet wet with the DRF and use it in my latest project. I honestly believed that it would b