Posts

Android: Is it possible to have same-signature app modules, but only one is on Google Play? -

android documentation says multiple apps having same signature can seen system single app made of modules, can upgraded independently. i know if happens when 1 app distributed via google play , distributed in independent way, provided signature same.

siliding image css and html only -

i want pic slide left , top side , and not straight foward, using css , html without javascript. and there simple code take make "dropdown" li go down , push rest of categories? thanks fot helping guys ! nav{ background-color: #fff; width:150px; height: 667px; float:right; } nav h1{ padding: 20px; color: #777; font: 20px tahoma,times,serif; } ul { position: relative; margin: 0; padding: 0; list-style: none; width: 150px; text-align: right; } ul li { position: relative; } li ul { position: absolute; right: 149px; top: 0; display: none; } ul li { display: block; text-decoration: none; color: #777; background: #fff; padding: 5px; border-bottom: 0; } ul { margin: 0; padding: 0; list-style: none; width: 150px; } li:hover ul { display: block; } * { margin: 0; padding: 0; } body { background: #333; background: url("images/3.jpg...

sms - Reflect Twilio Opt Outs/Blacklist Requests in My App -

not finding (any) info on subject, thought go ahead , post question. reflect blacklist sms requests/responses in application instead of letting twilio handle it. there mechanism accessing account's twilio sms blacklist? or message status on responses? or need parse every single response keywords? that depends on if using 10 digit number or shortcode. twilio addresses handling stop, help, , other keywords here https://www.twilio.com/help/faq/sms/can-you-customize-the-helpstop-messages-for-sms-filtering the stop keyword sets blacklist described here https://www.twilio.com/help/faq/sms/why-am-i-seeing-the-message-fromto-pair-violates-a-blacklist-rule you may want read this https://www.twilio.com/help/faq/sms/does-twilio-support-stop-block-and-cancel-aka-sms-filtering i know read somewhere request twilio not handle them could, may have applied short codes previously. need contact twilio support

python - ImportError: No module named pytz, even though sys.path says it's there -

trying use pandas python 2.7.6 , can't seem load pytz module. here's have leading error: matts-macbook-pro-2:~ mattrosenthal$ python /library/frameworks/python.framework/versions/2.7/bin/python matts-macbook-pro-2:~ mattrosenthal$ python python 2.7.6 (v2.7.6:3a1db0d2747e, nov 10 2013, 00:42:54) [gcc 4.2.1 (apple inc. build 5666) (dot 3)] on darwin type "help", "copyright", "credits" or "license" more information. >>> import sys >>> print sys.version 2.7.6 (v2.7.6:3a1db0d2747e, nov 10 2013, 00:42:54) [gcc 4.2.1 (apple inc. build 5666) (dot 3)] >>> print sys.path #(added newlines readability) ['', '/library/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages/cython-0.20.1-py2.7-macosx-10.6-intel.egg', '/library/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages/python_dateutil-1.5-py2.7.egg', '/library/python/2.7/site-packages/setuptools-3....

Python - inner class is not defined? -

i have unrolled linked list 1 of classes. i'm new python, not programming, , reason cannot around little problem! i have class node node object used within unrolled linked list. unrolled linked list class performs operations on node class. class unrolledlinkedlist(object): """ inner node class """ class node(object): def __init__(self): self.array = [] self.next_node = none """ end node class """ def __init__(self, max_node_capacity=16): self.max_node_capacity = max_node_capacity self.head = node() """ other functions of unrolledlinkedlist class """ the problem comes @ last line of unrolledlinkedlist class' init function: "global name node not defined". double checked indentation , looked on internet examples of this, couldn't find any. mind explaining me what's wrong? methods do n...

php - Unexpected result while joining two tables in doctrine2 -

i performing join operation on 2 tables demand , inventory . 2 records in demand table [demand1, demand2] correspond same record in inventory table [inventory1] . $em = $this->getdoctrine()->getentitymanager(); $countquery = $em->createquerybuilder() ->select('d,i') ->from('apibundle:demand', 'd') ->innerjoin('apibundle:inventory', 'i', join::with, 'd.inventoryid = i.inventoryid') i expecting query return [demand1, inventory1, demand2, inventory1] query returns [demand1, inventory1, demand2] can please tell me doing wrong?

swift - Assigning an array of structs to an array of protocols -

let's have following: protocol myprotocol { } struct mystruct: myprotocol { } var s1 = mystruct() var s2 = mystruct() var s3 = mystruct() var structarray = [s1, s2, s3] when try assign array of structs array of protocols (that each struct in structarray conforms to): var protocolarray:[myprotocol] = structarray i error: cannot convert array of type '[mystruct]' specified type '[myprotocol]' i expect since each object in array conforms protocol ok "an array of structs conform protocol" assignable expects "an array of conforms protocol". maybe doesn't apply when type "an array of " vs "thing", if makes sense. for example, valid: var p1:myprotocol = s1 because s1 conforms myprotocol . if use arrays doesn't seem hold anymore. incidentally, seems work too: var p1array:[myprotocol] = [s1, s2, s3] presumably because type of array determined [myprotocol] , isn't predetermined previous variabl...