This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class OrgAccess(object): | |
""" Extract Region, Area, Branch, District codes from permissions | |
""" | |
def __init__(self, permissions): | |
OrgAccess.permissions = permissions | |
@classmethod | |
def regions(cls): | |
return [p[10:] for p in cls.permissions if p[0:10] == 'DashRegion'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ brew install mplayer | |
==> Installing mplayer dependency: pkg-config | |
==> Downloading http://pkg-config.freedesktop.org/releases/pkg-config-0.25.tar.gz | |
File already downloaded in /Users/jab/Library/Caches/Homebrew | |
==> ./configure --disable-debug --prefix=/usr/local/Cellar/pkg-config/0.25 --with-pc-path=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/usr/X1 | |
==> make | |
make all-recursive | |
Making all in glib-1.2.10 | |
CONFIG_FILES= CONFIG_HEADERS= CONFIG_OTHER=glibconfig.h ./config.status | |
./config.status: line 682: X: command not found |