Skip to content

Instantly share code, notes, and snippets.

View abumalick's full-sized avatar
الحمد لله

Abdullah Hilson abumalick

الحمد لله
View GitHub Profile
abumalick /
Last active September 8, 2017 04:44 — forked from shark0der/ubuntu14.04-command-line-install-android-sdk
Ubuntu 14.04 command line install android sdk (platform & platform-tools only, no emulator)
# install java
apt-get install -y software-properties-common
apt-add-repository -y ppa:webupd8team/java
apt-get update
apt-get install -y oracle-java8-installer
# download latest android sdk
cd /opt
abumalick / customErrorES6.js
Created December 8, 2017 23:05
Custom Error with ES6 class
class MyError extends Error {
constructor(message) {
super(message); = 'MyError';
abumalick /
Created October 9, 2018 18:18
Keybase identity

Keybase proof

I hereby claim:

  • I am abumalick on github.
  • I am abumalick ( on keybase.
  • I have a public key ASC8VxAfT7lR_e0ghEaibhZu7RGfxdqA0JzAYAHRhwtNKAo

To claim this, I am signing this object:

abumalick /
Last active September 4, 2019 14:25
Bootstrap new venv with python
# Create the virtual environment
python3 -m venv .venv
# configure created venv in your shell (vscode will do this automatically if you use a new shell)
source .venv/bin/activate
# or if you are using fish shell:
. .venv/bin/
pip install -r requirements/local.txt

Here is how to kill an application that is running on a specific port on macOS

Find it:

sudo lsof -i :3000

Kill it:

abumalick / .rubocop.yml
Created August 29, 2022 17:31
Rubocop rails configuration
# .rubocop.yml
# source:
- standard
- rubocop-rails
- rubocop-rspec
standard: config/base.yml