Posts

php - localhost working fine but phpmyadmin is not -

i have installed wamp server 2.4. installation goes fine. able log the localhost. works fine (includes sqlbuddy , webgrind), except phpmyadmin page. can please me out might causing problem. attaching apache access log here: 127.0.0.1 - - [17/jul/2013:17:20:43 +0530] "get /phpmyadmin/ http/1.1" 500 - 127.0.0.1 - - [17/jul/2013:17:20:43 +0530] "get /favicon.ico http/1.1" 404 209 when try log phpmyadmin page, displays http 500 internal server error. tried reinstalling already. same problem persists xampp. tried too. did start mysql service? i'm using xampp don't know how done in wamp, in xampp have go xampp control panel , press start next mysql.

How to keep the javascript running when the browser tab is not active -

this code: <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script> <script> var myseconds = 20; var mycolor = 'rgba(255, 100, 0, 0.8)'; //alert('you have '+math.floor(myseconds/60)+' minutes , '+myseconds%60+' seconds finish. press “ok” begin.'); $(function(){ $('div#pie_to_be').pietimer({ seconds: myseconds, color: mycolor }, function(){ $('#caspioform').submit(); });}); (function($){jquery.fn.pietimer=function(options,callback){var settings={'seconds':10,'color':'rgba(255, 255, 255, 0.8)','height':this.height(),'width':this.width()};if(options){$.extend(settings,options);}this.html('<canvas id="pie_timer" width="'+settings.height+'" height="'+settings.height+'">'+settings.seconds+'</canvas>');var val=360;interval=setinterval(timer,40);function timer(){var can...

.net - Web Management Service failing at random -

so have custom deploy script looks similar this msdeploy.exe ^ -source:manifest='path_to_manifest' ^ -dest:auto,computername="https://host:port/msdeploy.axd?site=sitename",username='domain\user',password='muhpass',includeacls='false',authtype='basic' ^ -verb:sync ^ -enablerule:donotdeleterule ^ -disablelink:apppoolextension ^ -disablelink:contentextension ^ -disablelink:certificateextension ^ -setparamfile:"path_to_the_file" ^ -allowuntrusted ^ -usechecksum ^ -retryattempts=2 ^ -presync:runcommand="path_to_script",waitinterval=60000 ^ -postsync:runcommand="path_to_script",waitinterval=60000 i have removed of values, can assume they're correct, because scripts deploys app successfully, not every time. step fails: performing '-presync'... info: using id '7bb88177-4329-4b66-a7b9-a563811edca3'...

ssl - What kind of private key is located in a PKC12 pfx file? -

can clarify me kind of "private key" located in pfx file ? i asking because after having read quite lot on digital certification still bit confuse on private key part, when certificate authority involved. the part missing said private key kept secret on ca side if go in personal certificate store , try export certificate, able export private key in it. is private key same private key not supposed know ? if talking ssl-certificates , ssl think mean x509 -certificates in common. let me make clear first: passwords of private keys different . the magic here chaining of certificates, i.e. root certificate ca intermediate certificate ca (for instance class 2) your certificate if @ ssl-certificate, find structure. every certificate within hierarchy can seen certificate own. can find more information within msdn article . briefly description point of view: the certifcates within chain can seen separate certificates. own ability sign information priv...

database - how to implement aggregated tables in vertica -

how implement aggregated table in vertica database? vertica provide inbuilt options. if not possible, alternative ? want avoid overhead of updating in both fact table , aggregated table. for aggregated table, have rolled own in past. using sort of script running via cron , keeping track of aggregated. i highly recommend setting projection(s) tuned types aggregate query desire. if done properly, can see pretty results.

IOS Get if a telephone number is iphone or android -

i developing ios app , want know in adressbook numbers have iphone. know ios use function enable or disable communicate facetime other contacts. any suggestion? well there no way can list of iphone users phone numbers. , talking facetime....i think maintaining database of facetime users phone numbers or emails. and if want this...you need register users of app numbers , emails , verify them well... update: when calling using email address, must verify email address use facetime , signed in apple id account. please refer article

mysql - Quiz layout improvement -

i'm simple quiz. wan't print questions out in 1 page, formatted layout like: question 1 answer 1 answer 2 question 2 answer 1 answer 2 i'm working on following code: $get_qa = $mysqli->query(" select a.question question, a.id qid, b.answer answer, b.qid aqid (related to: question id) rw_questions left outer join rw_qanswers b on a.id = b.qid"); while($qa = $getqa->fetch_assoc()){ echo $qa['question'].$qa['answer']; } this result in messy list. how improve like, wrote @ top? cool! guess need improve foreach or that? build 2 arrays, 1 of them 2-dimensional like: questionid question answer 1 sky has color? blue 1 sky has color? red 2 is? answer 1 .... save in array this: $questions[1] = "sky has color?"; $answers[1][0] = "blue"; $answers[1][1] = "red"; $questions[2] = "what is?"; $answers...