Skip to content

Instantly share code, notes, and snippets.

View tvpeter's full-sized avatar

Peter Tyonum tvpeter

  • Lagos
View GitHub Profile
@tvpeter
tvpeter / .py
Created January 20, 2023 02:25
Get statistics of various files on the bitcointranscripts repo
from fileinput import filename
from math import fabs
import os
import glob
import re
""" ALL THE FILES IN THE DIRECTORY"""
count = 0
for root_dir, cur_dir, files in os.walk(r'./'):

Keybase proof

I hereby claim:

  • I am tvpeter on github.
  • I am tvpeter (https://keybase.io/tvpeter) on keybase.
  • I have a public key ASDXqz0cXIH6iTjAnBOBOAejG9RW1-J8MRsyekxa5hRMVQo

To claim this, I am signing this object:

@tvpeter
tvpeter / laravel-supervisor.md
Created August 7, 2020 18:29 — forked from vrajroham/laravel-supervisor.md
Installing Supervisor on AWS Elastic Beanstalk manually.

Installing Supervisor on AWS Elastic Beanstalk manually.

This gist may help you to install supervisor Manually on AWS Beanstalk host. I was enable to install and configure referring supervisor docs. Here are the steps by which I was able to use supervisor on my project.

Note: I have performed this steps on Laravel project and my instance was Debian powered. You can change according to your requirement.


  • Check python with easy_install is installed
  • Install supervisor > $ easy_install supervisor
  • Create directory for supervisor workers > mkdir /etc/supervisor/conf.d/
@tvpeter
tvpeter / setup.sh
Created July 17, 2020 17:20 — forked from chris-sev/setup.sh
Mac Setup
# how to run this thingy
# create a file on your mac called setup.sh
# run it from terminal with: sh setup.sh
# heavily inspired by https://twitter.com/damcclean
# https://github.com/damcclean/dotfiles/blob/master/install.sh
#!/bin/bash
set -euo pipefail
@tvpeter
tvpeter / cloudSettings
Created April 12, 2020 19:49 — forked from aurawindsurfing/cloudSettings
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-07-27T19:36:28.740Z","extensionVersion":"v3.4.1"}