Skip to content

Instantly share code, notes, and snippets.

Avatar

Jaideep Padhye jpadhye

View GitHub Profile
@jpadhye
jpadhye / setup.py
Created Mar 17, 2018 — forked from ndevenish/setup.py
Replacement setup.py for py3exiv2, that allows building on OSX
View setup.py
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import sys
import os
import glob
import subprocess
from setuptools import setup, find_packages, Extension
@jpadhye
jpadhye / updatePlexChannels.sh
Last active Feb 4, 2017
Update Plex channels on Ubuntu 14.04 LTS based PlexServer
View updatePlexChannels.sh
# Execute as sudo ./updatePlexChannels.sh
set -e
set -x
#Stop PMS
service plexmediaserver stop
#This variable will work with standard installation of plex on Ubuntu 14 LTS.
#Set this correctly on other platforms and it should still work.
PLEX_HOME=/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server
@jpadhye
jpadhye / install-eclipse.sh
Last active Aug 29, 2015 — forked from excitedleigh/install-eclipse.sh
Installing the Latest Eclipse in Ubuntu
View install-eclipse.sh
#!/bin/bash
# If you're reading this on the GitHub gist, scroll down for instructions.
# If not, go to https://gist.github.com/1071034
eclipse_url="http://mirror.cc.columbia.edu/pub/software/eclipse/technology/epp/downloads/release/mars/R/eclipse-cpp-mars-R-linux-gtk-x86_64.tar.gz"
eclipse_bin="#!/bin/sh
export ECLIPSE_HOME='/opt/eclipse'
\$ECLIPSE_HOME/eclipse \$*"