How to check if Dir size changes during Watir wait.until
Vote count: 0 I have a method that waits for a chrome download to start, using Watir. However, I'd like to simplify and respecify this to the point where it simply checks if the directory size increases. I'm assuming this is going to require me to save the directory's size at the begi ing of the blo...
How to update a column from a subquery in the same table?
Vote count: 0 For caching reasons I need to write the Km (kilometers) field back to the location table, so far I was able to calculate the Km. Everything I am trying so far (update with unions, subqueries, etc) gives me the SQL Error 1093. In MySQL,how do I update the Km value back to the table? Thi...
HTML5 best practices issue
Vote count: 0 So, I've read recently some posts about HTML5 best practices and all of them have the following practice: "Use id attribute instead of name attribute" Is that right? I mean, how am I going to handle forms in PHP, for example, if not by inputs' name attribute? asked 6 mins agorolivares9...
How to style and debug Views Data Export Layout?
Vote count: 0 I try to style an xls-export made with the views data export module in Drupal 7. How can I add an image to the header and an exte al css-file? What is the best way to debug the rendered view-code and to test the css? Until now I use the template files like views-data-export-xls-header....
Pulling data from sheets
Vote count: 0 I have the following sheets: Sheet1 Code M P Z 11 14 13 6 19 14 17 1 12 7 Sheet 2 Code A B C 12 1 2 3 14 1 4 3 7 2 2 2 11 6 5 2 6 3 3 2 12 1 2 3 I want to get this table in sheet 1 Code M P Z 11 6 5 2 14 1 4 3 13 NA NA NA 6 3 3 2 19 NA NA NA 14 1 4 3 17 NA NA NA 1 NA NA NA 12 1 2 3 7 2...
How to access the Raspberry Pi Zero though SSH
Vote count: 0 So I'm trying to remotely access my Raspberry Pi Zero using SSH. The raspberry's OS is Raspbian Jessy Lite (so no desktop envio ment, only the command line). I co ected the raspberry to the Inte et using an Android phone with USB-tethering (the raspberry pi zero doesn't have an ethe et...
Get all possible regex matches in javascript [duplicate]
Vote count: 7 I'm trying to obtain all possible matches from a string using regex with javascript. It appears that my method of doing this is not matching parts of the string that have already been matched. Variables: var string = 'A1B1Y:A1B2Y:A1B3Y:A1B4Z:A1B5Y:A1B6Y:A1B7Y:A1B8Z:A1B9Y:A1B10Y:A1B11Y'...
ERROR - Unable to get OAD Metrics
Vote count: 0 We are using Sonar and for one of the projects we are ru ing it on it is failing with: ERROR - Unable to get OAD Metrics {} com.bac.gis.phalanx.oad.metrics.OADMetricsException: Could not get Application at com.bac.gis.phalanx.oad.metrics.OADMetrics.getApplication(OADMetrics.java:111) ~...
Assign array to key dictionary in python
Vote count: 0 I'm not guru in python. I don't get why I can't assign an array of values to a key for this dictio ary with this def. This is how I use the sdk definition. retu _keys_list = [] retu _keys_list.append('id') retu _keys_list.append('transaction.amount') redirect.retu Keys(retu _keys_list)...
Create new log file if it is more than 10KB size with date inside. With FixedWindowRollingPolicy works, with TimeBasedRollingPolicy - doesn't
Vote count: 0 When I write this way <configuration> <property name="SIZE" value="10"/> <conversionRule conversionWord="coloredLevel" converterClass="play.api.Logger$ColoredLevel"/> <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"> <!--<file>${application.home}/logs/appli...
Installing MAYAVI in Mac OS X
Vote count: 0 I installed Python 2.7 via Home brew and installed all other library packages using pip To install Mayavi initially, I installed VTK using brew reinstall --python --qt vtk5 Later, I did pip install mayavi but this gives out this error for me: Building wheels for collected packages: may...
How to use unwinds function in Laravel 5?
Vote count: 0 I am using laravel 5 and mongodb in my project. I use Laravel eloquent only for fetching database record. Now i want use unwinds function in my project but i confuse how to use unwinds function. I try to find this solution but not getting any kind of solution. Please give solutions. Th...
Disable Submit button unless a form option has picked
Vote count: 0 I've checked a few pages online on how to disable a submit button of a dropdown box unless an option has been selected. But can't find one that works for me. Any help on how to do that would be great! Edit: I don't want <option value="not_valid">-- select an option --</option> to be co...
Upgrade from Weblogic 10.3.6 to 12.1.3
Vote count: 0 I installed Weblogic 12.1.3 and have had nothing but problems. I didn't upgrade an existing domain. I created a new one and tried deploying the application to it. It immediately started bombing out on JSP compilation. Compilation of JSP File '/WEB-INF/pages/common/layout/MainLayout.jsp...