Skip to content

Instantly share code, notes, and snippets.

🏅

Philip Sahli philipsahli

🏅
Block or report user

Report or block philipsahli

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Mongoblog
```python
import findspark
findspark.init("/usr/local/Cellar/apache-spark/2.2.1/libexec/")
```
```python
sc
@philipsahli
philipsahli / Imaging-1.1.7_setup.patch
Created Oct 12, 2011
Imaging installation under ubuntu needs a patch
View Imaging-1.1.7_setup.patch
# Usage:
# wget http://effbot.org/downloads/Imaging-1.1.7.tar.gz
# tar -zxvf Imaging-1.1.7.tar.gz
# cd Imaging-1.1.7
# patch -p1 -i ../patch
# # continue with installation
Only in Imaging-1.1.7-patched: build
Only in Imaging-1.1.7-patched: patch
diff -crB Imaging-1.1.7/setup.py Imaging-1.1.7-patched/setup.py
@philipsahli
philipsahli / tests.py
Created Oct 5, 2011
XML Webservice in Django for Debugging
View tests.py
from django.test import TestCase
from django.test.client import Client
import logging
logging.disable("debug")
class XMLWebserviceTest(TestCase):
c = Client()
def setUp(self):
You can’t perform that action at this time.