Skip to content

Instantly share code, notes, and snippets.


Nishant Arora whizzzkid

View GitHub Profile
brew install mongodb@3.2;
brew link mongodb@3.2 --force;
sudo mkdir -p /data/db;
sudo chown -R `id -un` /data/db;

Keybase proof

I hereby claim:

  • I am whizzzkid on github.
  • I am whizzzkid ( on keybase.
  • I have a public key ASDv2kD9Aa2H608leXfcOrmXha-ijjSpCOdwZonT0BjN6Ao

To claim this, I am signing this object:

whizzzkid /
Last active Aug 22, 2017
Open CV 3.2.0 complete build + install script for ubuntu
Latest installer:
whizzzkid /
Last active Jun 10, 2017
Installs all intel graphics drivers for linux. [This will reboot your machine on completion]
# To install run:
# curl -o- | bash
FW=("kblgucver914.tar.bz2" "kbldmcver101.tar.bz2" "kblhucver02001810.tar.bz2" "sklgucver61.tar.bz2" "skldmcver126.tar.bz2" "sklhucver01071398.tar.bz2" "bxtgucver87.tar.bz2" "bxtdmcver107.tar.bz2" "bxthucver01071398.tar.bz2")
echo "Starting Install..."
cd /tmp
mkdir fw
for i in "${FW[@]}"
whizzzkid /
Last active Feb 20, 2021
Installs Zoom meeting client on linux
# To install run:
# bash -c "$(curl -fsSL"
sudo apt install libglib2.0-0 libgstreamer-plugins-base0.10-0 libxcb-shape0 libxcb-shm0 libxcb-xfixes0 libxcb-randr0 libxcb-image0 libfontconfig1 libgl1-mesa-glx libxi6 libsm6 libxrender1 libpulse0 libxcomposite1 libxslt1.1 libsqlite3-0 libxcb-keysyms1 libxcb-xtest0;
cd /tmp;
sudo dpkg -i zoom_amd64.deb
whizzzkid / XPS-15 9560 Getting Nvidia To Work on KDE Neon
Last active Aug 5, 2020
[XPS 15 Early 2017 9560 kabylake] Making Nvidia Drivers + (CUDA 8 / CUDA 9 / CUDA 9.1) + Bumblebee work together on linux ( Ubuntu / KDE Neon / Linux Mint / debian )
View XPS-15 9560 Getting Nvidia To Work on KDE Neon
# Instructions for 4.14 and cuda 9.1
# If upgrading from 4.13 and cuda 9.0
$ sudo apt-get purge --auto-remove libcud*
$ sudo apt-get purge --auto-remove cuda*
$ sudo apt-get purge --auto-remove nvidia*
# also remove the container directory direcotory at /usr/local/cuda-9.0/
# Important libs required with 4.14.x with Cuda 9.X
$ sudo apt install libelf1 libelf-dev
# This is done!
size = int(raw_input())
def node():
return [0, {}, 0]
words = node()
ans = 1
for s in xrange(size):
if not ans: break
word = str(raw_input())
root = words
actions = int(raw_input())
def node():
return [0, {}]
contacts = node()
for a in xrange(actions):
action, word = map(str, raw_input().split())
cont = contacts
if action == 'add':
cont[0] += 1
for c in word: