##Install Xcode command line tools
Xcode>Preferences>Downloads
Enable root if not already enabled: http://support.apple.com/kb/PH11331?viewlocale=en_US
##Apache
Apache is already installed, just not running.
import sys | |
import struct | |
def sid_to_str(sid): | |
""" Converts a hexadecimal string returned from the LDAP query to a | |
string version of the SID in format of S-1-5-21-1270288957-3800934213-3019856503-500 | |
This function was based from: http://www.gossamer-threads.com/lists/apache/bugs/386930 | |
""" | |
# The revision level (typically 1) |
##Install Xcode command line tools
Xcode>Preferences>Downloads
Enable root if not already enabled: http://support.apple.com/kb/PH11331?viewlocale=en_US
##Apache
Apache is already installed, just not running.
import pyodbc | |
import numpy as np | |
import datetime | |
import pandas | |
def processCursor(cur, dataframe=False): | |
datatypes = [] | |
colinfo = cur.description | |
for col in colinfo: | |
if col[1] == unicode: |