Skip to content

Instantly share code, notes, and snippets.

@MoatazAbdAlmageed
MoatazAbdAlmageed / killchrome
Last active December 27, 2020 13:03
kill chrome if no memory available
#add those to ~/.bashrc and call `chromekiller`
danger(){
echo "huuu!" ;
#check this for installing say https://askubuntu.com/questions/501910/how-to-text-to-speech-output-using-command-line
say "hello"
sleep 0.5
}
chromekiller(){
@pgilad
pgilad / Instructions.md
Last active March 27, 2024 12:59
Generate SSL Certificate for use with Webpack Dev Server (OSX)

Generate private key

$ openssl genrsa -out private.key 4096

Generate a Certificate Signing Request

openssl req -new -sha256 \
@ivan-loh
ivan-loh / install-watchman.sh
Last active January 27, 2022 13:02
Watchman ( 4.9.0 ) installation for Ubuntu 16.04
# checkout, compile & install
git clone https://github.com/facebook/watchman.git
cd watchman/
git checkout v4.9.0
sudo apt-get install -y autoconf automake build-essential python-dev libssl-dev libtool
./autogen.sh
./configure
make
sudo make install
#!/bin/bash
################################################################################
### OpenCV2 Installation Script ###
################################################################################
# Source code at https://github.com/arthurbeggs/scripts #
################################################################################
# #
# Feel free to copy and modify this file. Giving me credit for it is your #
# choice, but please keep references to other people's work, which I don't #