Skip to content

Instantly share code, notes, and snippets.

@adaroobi
adaroobi / vb-guest-additions.sh
Last active June 27, 2022 16:57
Install Oracle VirtualBox Guest additions via terminal CentOS7
# Find the appropriate version here http://download.virtualbox.org/virtualbox/
sudo VBOX_VERSION=6.0.4
sudo rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo rpm -Uvh http://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/d/dkms-2.6.1-1.el7.noarch.rpm
sudo yum -y install wget perl gcc dkms kernel-devel kernel-headers make bzip2
wget http://download.virtualbox.org/virtualbox/${VBOX_VERSION}/VBoxGuestAdditions_${VBOX_VERSION}.iso
sudo mkdir /media/VBoxGuestAdditions
@adaroobi
adaroobi / slack-ar-bookmarklet.js
Last active April 6, 2017 13:21
Fix Arablic layout for Slack Chat. Just add the following snippet as a bookmark and run it while in slack chat page.
javascript:(function() {
document.head.innerHTML += '<style type="text/css">.message_body { direction: rtl !important;text-align: left !important; }</style>';
})();