Skip to content

Instantly share code, notes, and snippets.

ralphotowo /
Created Apr 30, 2021 — forked from abdallahokasha/
Install Robo3t on Ubuntu18.04 and make a desktop icon for it

Install Robo3t On Ubuntu 18.04

Download the package form Robo3t or using wget
Extract here using

tar -xvzf robo3t-1.2.1-linux-x86_64-3e50a65.tar.gz

View MySql-5.6-installation

MySQL Download URL

Open the terminal and follow along:

  • Uninstall any existing version of MySQL
sudo rm /var/lib/mysql/ -R
ralphotowo /
Created Oct 29, 2020 — forked from grahamb/
SFU's Canvas LMS infrastructure and ugprade

🎓 Canvas at SFU

Simon Fraser University is a mid-sized comprehensive university with three campuses in the Greater Vancouver area of British Columbia, Canada. We are a trimester school, with a Fall, Spring and Summer term. We have approximately 25,000 undergraduate FTEs.

SFU chose Canvas as its new LMS during a selection process in 2011/2012. We went into production in 2012. As of this writing, our enrollment counts in Canvas are:

  • Students: 25250
  • Teachers: 1070
  • TAs: 865
ralphotowo / nginx.conf
Created Sep 14, 2020 — forked from meanevo/nginx.conf
Nginx dynamic matching document root by host(accessing domain name) /*USE AT YOUR OWN RISK*/
View nginx.conf
server {
listen default_server;
listen [::]:80 default_server;
server_name _;
server_tokens off;
## Document root
set $base_path "/usr/share/nginx";
set $domain_path "${host}";
View Deep Linking on Facebook 2.html
<html prefix="og:">
<title>The Rock (1996)</title>
<meta property="og:title" content="The Rock" />
<meta property="og:type" content="" />
<meta property="og:url" content="" />
<meta property="og:image" content="" />
<meta property="al:ios:app_store_id" content="342792525" />
<meta property="al:ios:url" content="imdb://title/tt0117500" />
ralphotowo / d7adp72.Dockerfile
Created Dec 31, 2019 — forked from Biker93/d7adp72.Dockerfile
Biker Drupal 7 Dockerfile
View d7adp72.Dockerfile
# docker build -t drupal:d7adp72 -f d7adp72.Dockerfile .
# docker image tag drupal:d7adp72 .../drupal:d7adp72
# docker push .../drupal:d7adp72
FROM php:7.2-apache
# install the PHP extensions we need
RUN set -ex; \
if command -v a2enmod; then \
ralphotowo /
Last active Jul 5, 2018
Raspberry Pi Auto-launch Video Loop
sudo apt-get update && sudo apt-get install omxplayer -y
# echo "@point-rpi" >> $AUTOSTART_FILE
echo "@lxterminal -e omxplayer --loop --no-osd /home/pi/autostart.mp4" >> $AUTOSTART_FILE

How to download your Udemy course videos using youtube-dl

$ youtube-dl --list-extractors | grep udemy


  1. Get link to the course to download. e.g.
  2. Login into udemy website, save the cookie from chrome using Chrome (Cookie.txt)[1] export extension. Save it to file udemy-cookies.txt
  3. Get the link of the video that you want to download. usually in format. Use the command provided below where you have to replace the {course_link} and {path_to_cookies_file} with respective paths.
$ youtube-dl {course_link} --cookies {path_to_cookies_file}
ralphotowo / gist:7d6f85cefaf129a89448a37b506c16c6
Created Jan 24, 2018 — forked from hroling/gist:85f36e86d48285f08161
Apache 2.4 SSL config for A+ on
View gist:7d6f85cefaf129a89448a37b506c16c6
OS: Ubuntu 14.04 LTS, Apache 2.4.7, OpenSSL 1.0.1f
SSL Labs: A+ (RSA2048, SHA256 certificate)
Certificate: 100%
Protocol Support: 95%
Key Exchange: 90%
Cipher Strength: 90%
#### In the SSL.CONF file
ralphotowo / Git push deployment in 7 easy
Created Oct 16, 2017 — forked from thomasfr/Git push deployment in 7 easy
7 easy steps to automated git push deployments. With small and configurable bash only post-receive hook
View Git push deployment in 7 easy