Skip to content

Instantly share code, notes, and snippets.

View chidindu-ogbonna's full-sized avatar
👽

Promise Ogbonna chidindu-ogbonna

👽
View GitHub Profile
@chidindu-ogbonna
chidindu-ogbonna / cymath.py
Created December 14, 2018 09:22
Basic API example for https://cymath.com
"""
DISCLAIMER
I am not responsible for any actions or usage of this API, the api clearly states
"Restricted Access. We may pursue legal actions over unauthorized uses of this API."
This script is for educational purposes ONLY
"""
@chidindu-ogbonna
chidindu-ogbonna / custom-ubuntu1604.sh
Created March 25, 2018 09:40 — forked from evertontrindade/custom-ubuntu1604.sh
Things to do after install ubuntu 16.04
# First you update your system
sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get dist-upgrade -y
# Cleanup system
sudo apt-get purge account-plugin-facebook
sudo apt-get purge account-plugin-flickr
sudo apt-get purge account-plugin-google
sudo apt-get purge aisleriot
sudo apt-get purge fonts-opensymbol libreoffice libreoffice-\* openoffice.org-dtd-officedocument1.0 python\*-uno uno-libs3-\* ure ure-dbg
sudo apt-get purge gnome-terminal

Here is a non-exhaustive list of books that have influenced how I think about software.

Contributing

When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

Pull Request Process

  1. Ensure any install or build dependencies are removed before the end of the layer when doing a
@chidindu-ogbonna
chidindu-ogbonna / README-Template.md
Created March 25, 2018 09:32 — forked from PurpleBooth/README-Template.md
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@chidindu-ogbonna
chidindu-ogbonna / regex.md
Created March 24, 2018 04:08 — forked from vitorbritto/regex.md
Regex Cheat Sheet

Regular Expressions

Basic Syntax

  • /.../: Start and end regex delimiters
  • |: Alternation
  • (): Grouping
@chidindu-ogbonna
chidindu-ogbonna / install_vim.txt
Last active March 23, 2018 04:46
Install Vim 8 with Python, Python 3, Ruby and Lua support on Ubuntu 16.04
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-gui-common
sudo apt-get install liblua5.1-dev luajit libluajit-5.1 python-dev ruby-dev libperl-dev libncurses5-dev libatk1.0-dev libx11-dev libxpm-dev libxt-dev
#Optional: so vim can be uninstalled again via `dpkg -r vim`
sudo apt-get install checkinstall
sudo rm -rf /usr/local/share/vim /usr/bin/vim
cd ~
// XPath CheatSheet
// To test XPath in your Chrome Debugger: $x('/html/body')
// http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/
// 0. XPath Examples.
// More: http://xpath.alephzarro.com/content/cheatsheet.html
'//hr[@class="edge" and position()=1]' // every first hr of 'edge' class