Skip to content

Instantly share code, notes, and snippets.

View argoyal's full-sized avatar

Arpit Goyal argoyal

View GitHub Profile
@argoyal
argoyal / XPS-15 9560 Getting Nvidia To Work on KDE Neon
Created November 24, 2017 23:21 — forked from whizzzkid/XPS-15 9560 Getting Nvidia To Work on KDE Neon
Making Nvidia Drivers + CUDA 8 + Bumblebee work together on XPS 15 Early 2017 9560 kabylake. Ubuntu, KDE Neon, Linux Mint, debian.
# Instructions for 4.13 and cuda 9.0 RC
# If upgrading from 4.11 and cuda 8.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-8.0/
# Install Intel Graphics Patch Firmwares (This should reboot your system):
bash -c "$(curl -fsSL http://bit.ly/IGFWL-install)"
@argoyal
argoyal / parser_api.py
Last active January 20, 2019 16:08
parser api for https://github.com/antonydeepak/ResumeParser. Runs a flask server at port 9100
#! /bin/python
# A python flask api for running the resume parser provided
# @ https://github.com/antonydeepak/ResumeParser. This will run
# only inside the Docker. You can use docker pull <>
#
# Author: Arpit Goyal (Github: https://github.com/argoyal)
import os
import json
@argoyal
argoyal / init
Last active August 26, 2023 18:44
set clipboard=unnamed
if has('win32') || has('win64')
let g:plugged_home = '~/AppData/Local/nvim/plugged'
else
let g:plugged_home = '~/.vim/plugged'
endif
" Plugins List
call plug#begin(g:plugged_home)
@argoyal
argoyal / box-folder-downloader.py
Created September 18, 2021 11:48
This is the box folder download script
from boxsdk import DevelopmentClient
import os
# Replace with your folder id to download
FOLDER_ID = ""
# Replace with the folder name in which to download
FOLDER_NAME = ""
client = DevelopmentClient()