Posts

Featured post

android - Automated my builds -

i have multiple app , android project want automated in build , release sequence. have ant script build , create apk of app. want have 1 script or ant file start build sequence app. maybe don't konw search, can't find easy documentation on ant. the point of use jenkins ant (or maven, i'm not sure of difference between them now) automated build sequence when people commit on project. any int appreciated maven dependencies (over ant) don't need pass around jars. recommend maven on ant day. syntax , overall process easier understand, @ end of both build tools. if able to, more recommend upgrading gradle. easy create different build types , create them ./gradlew assemble here project jake wharton can see power of gradle. there release , debug build, can make lot more if like. https://github.com/jakewharton/u2020 here android docs gradle http://tools.android.com/tech-docs/new-build-system/user-guide . if can't find looking here, check out main grad...

laravel - Parse error: syntax error, unexpected T_STRING in /var/sites/s/example.co.uk/artisan on line 46 -

i'm trying create (laravel) migration on shell of production shared hosting server. in shell, run following: /usr/bin/php artisan migrate:make mydatabase and receive following error: warning: unexpected character in input: '\' (ascii=92) state=1 in /var/sites/s/example.co.uk/artisan on line 46 parse error: syntax error, unexpected t_string in /var/sites/s/example.co.uk/artisan on line 46 the error references line 46 $artisan = illuminate\console\application::start($app); it doesn't seem backslashes, part of original config? don't understand. furthermore, no matter try artisan /usr/bin/php artisan --version warning: unexpected character in input: '\' (ascii=92) state=1 in /var/sites/s/example.co.uk/artisan on line 46 parse error: syntax error, unexpected t_string in /var/sites/s/example.co.uk/artisan on line 46 what missing? check php version php -v , if it's less 5.3 should update because namespaces introduced in php 5...

html - JSTL c:if statement not working -

i want able send alert if query string exists, dont need know value returns, exists. i tried this, doesnt work: <% request.setattribute("appinfo", request.getparameter("appinfo")); %> <c:if test="${appinfo}"> <script> alert("${appinfo}"); </script> </c:if> i tried (with url being ?appinfo=88) , worked. <% request.setattribute("appinfo", request.getparameter("appinfo")); %> <c:if test="${appinfo == 88}"> <script> alert("${appinfo}"); </script> </c:if> i dont understand why solution 2 works 1 doesnt, ideas? c:if doesn't work javascript if, non-null values regarded "truthy". c:if need result true or false. can do <c:if test="${appinfo != null}"> to check if value there.

import com.google.android.gms.drive.model.File undefined Android -

i want use "webcontentlink" read data of publicly shared file other's google drive. since part of file package imported package in app. eclipse not recognizing import , giving error. added "google-api-java-client" library in eclipse. other package working fine except one(com.google.android.gms.drive.model.file). please me how fix sorry poor english.

jquery - Open lightbox link outside of iframe window -

i have iframe in photo links. i'm trying enable lightbox go parent display photos @ moment confined within iframe itself. i tried using <base target="_parent" works navigating links doesn't seem work lightbox. the lightbox using jquery based. nyromodal v2 :: jquery plugin . i have searched google , found 1 apparent solution on windows-addict.com doesn't work. switched the exact same lightbox using in example in case mistake on end. i'm pretty sure there simple explaination knows lightbox , iframes i've exhausted of ideas @ point! does know solution? edit code: this call in <head> : <!-- lightbox --> <link rel="stylesheet" href="http://static.tumblr.com/wlao44f/cdln5ocfk/nyromodal.css" type="text/css" media="screen" /> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <scri...

reporting services - Native SSRS user security -

in order allow users run ssrs reports in native mode, must add them users? right now, seems need have access report in ssrs report manager , access ssrs report server (being added user on server). have ad group can run reports, giving adding of them user on server seems overkill, if none of them ever log in. am missing something, or normal? generally, when deploy reports ssrs instance use "reportadmin" user secure password. set projects configurations deploy multiple servers. in setup ssrs servers have 2 window user accounts, "reportadmin" , "reportuser". 2 user added ssrs instances roles, 1 has admin rights , other view rights. clients report consumption use "reportuser" role.

ruby - Trying to reach rails app on shared server via subdomain, how? -

i trying run rails app (rails 4.0.0 , ruby 2.1.2p95) on shared server. app in "~/myapp" folder. had overcome problems runtime js. managed , able start app, without problems. rails s -p 12001 => booting webrick => rails 4.0.0 application starting in development on http://0.0.0.0:12001 => run `rails server -h` more startup options => ctrl-c shutdown server [2014-05-16 09:35:33] info webrick 1.3.1 [2014-05-16 09:35:33] info ruby 2.1.2 (2014-05-08) [x86_64-linux] [2014-05-16 09:35:33] info webrick::httpserver#start: pid=27965 port=12001 i able reach app , see working, if add in ~/public_html/.htaccess file rewriteengine on rewritecond %{http_host} ^mydomain.com$ [or] rewritecond %{http_host} ^www.mydomain.com$ rewriterule ^(.*)$ "http://0.0.0.0:12001%{request_uri}" [p,qsa,l] however redirects whole domain rails app. how subdomain? eg. mysubdomain.mydomain.com thanks :)