How to check if Dir size changes during Watir wait.until
◷
تاریخ انتشار: 1395/3/20 | ساعت: 4:22
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?
◷
تاریخ انتشار: 1395/3/20 | ساعت: 4:22
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...
TLS 1.1 with non-SHA-1 message authentication code (MAC) implementation?
◷
تاریخ انتشار: 1395/3/20 | ساعت: 2:44
Vote count: 0 I have a business requirement to use TLS 1.1 or greater and to not use SHA-1 (or RC4). Are there any known-secure implementations of TLS 1.1 that do not use SHA-1 for the MAC? I can't seem to find any. I am thinking I should just skip past TLS 1.1 at the moment if there are no secure M...
Windows UWP - How to programmatically scroll ListView in ContentTemplate
◷
تاریخ انتشار: 1395/3/20 | ساعت: 2:44
Vote count: 0 I want to have the MessageListView to scroll to the bottom whenever it appears or gets its data updated. How can I do this? The xaml page: <Page x:Class="MyApp.Pages.ChatsPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx...
HTML5 best practices issue
◷
تاریخ انتشار: 1395/3/20 | ساعت: 2:44
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?
◷
تاریخ انتشار: 1395/3/20 | ساعت: 1:35
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
◷
تاریخ انتشار: 1395/3/20 | ساعت: 1:35
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...
Cascading different types of files together based on singular key
◷
تاریخ انتشار: 1395/3/20 | ساعت: 1:35
Vote count: 0 I am trying to use cascading to generate a giant table that matches url's to other attributes (i.e, traffic on that page, size of that page etc). I have a list of tsv files that look like this: file1: url -> traffic file2: url -> size of page, bad words on website file3: url I have a l...
How to access the Raspberry Pi Zero though SSH
◷
تاریخ انتشار: 1395/3/20 | ساعت: 0:34
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]
◷
تاریخ انتشار: 1395/3/20 | ساعت: 0:34
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'...
Fixing a webpage so it's non–scrollable. Specifically for mobile devices
◷
تاریخ انتشار: 1395/3/20 | ساعت: 0:34
Vote count: 1 I've just finished a website which is layering a webpage over an iframe. Everything is working fine on an Inte et browser, yet on mobile when trying to scroll the background (the iframe, the content) it only scrolls the frontal fixed web icons. Is there anyway around this? Specifically...
ERROR - Unable to get OAD Metrics
◷
تاریخ انتشار: 1395/3/19 | ساعت: 23:09
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) ~...
Site doesn't load with domain all the time but with ip it works good
◷
تاریخ انتشار: 1395/3/19 | ساعت: 23:09
Vote count: 0 I am having a strange issue since last 12 hours. My website http://yopify.com doesn't open most of times but all it's subdomains works good. It works when i open it with its IP address. It is hosted on digitalocean. Support is saying they have no idea. Please help asked 59 secs agoNive...
Assign array to key dictionary in python
◷
تاریخ انتشار: 1395/3/19 | ساعت: 23:09
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)...
How to create image file in android from dataURL which is generated using JavaScript
◷
تاریخ انتشار: 1395/3/19 | ساعت: 21:57
Vote count: 0 How to create image file in android from dataURL which is generated using JavaScript data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEBLAEsAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoMDAsKCwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT.......== asked 3 mins agosaikumar Let's block ads! (Why?)
Create new log file if it is more than 10KB size with date inside. With FixedWindowRollingPolicy works, with TimeBasedRollingPolicy - doesn't
◷
تاریخ انتشار: 1395/3/19 | ساعت: 21:57
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
◷
تاریخ انتشار: 1395/3/19 | ساعت: 21:57
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?
◷
تاریخ انتشار: 1395/3/19 | ساعت: 20:14
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
◷
تاریخ انتشار: 1395/3/19 | ساعت: 20:14
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
◷
تاریخ انتشار: 1395/3/19 | ساعت: 20:14
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...