Link Juice Prioritize www. and domain name
◷
تاریخ انتشار: 1395/4/12 | ساعت: 3:49
Vote count: -1 Our company ran a site audit on a very basic one-page website and is receiving this wa ing. "Normally, a webpage can be accessed with or without adding www.to its domain name. If you haven't specified which version should be prioritized, search engines will crawl both versions, and th...
Tune SQL query in SQL server
◷
تاریخ انتشار: 1395/4/12 | ساعت: 3:49
Vote count: -1 How would I go about tuning the following t-sql query? The execution plan looks ok (i.e it is using index seeks, index scans). asked 1 min agoAjit Goel Let's block ads! (Why?)
How to write "callback chain" in an Android Bluetooth Low Energy app
◷
تاریخ انتشار: 1395/4/12 | ساعت: 1:57
Vote count: 0 I want to write an Android Bluetooth Low Energy app that involves multiple GATT characteristic read and write (e.g., firmware over-the-air update). The timing and sequence of the operations is crucial, meaning that the next read/write should be initiated after the previous read/write i...
separate fields for a string
◷
تاریخ انتشار: 1395/4/12 | ساعت: 1:57
Vote count: 0 I have a string that is parsed using regex groups. One group contains 7 characters. However, I don't want to have the user input all 7 characters on the same field. Instead, I want them to be able to enter 3 of those characters into one field and the remaining 4 in another one. Is this...
How do I move my ServiceStack API from HTTP to HTTPS selectively
◷
تاریخ انتشار: 1395/4/12 | ساعت: 1:57
Vote count: 0 I followed the tutorial deploy and run Service Stack application on Ubuntu Linux and I got my API quickly up and ru ing. So far it's all plain-text though. I'd like to secure the API with SSL, especially the service receiving use ame and password, but maybe everything. I'm using the re...
Get image and insert another div be Jquery?
◷
تاریخ انتشار: 1395/4/12 | ساعت: 0:42
Vote count: 0 First, thanks for helping me. My English is not very good. How to grab image of the first swiper-slide to insert tt1? Only image of first .swiper-slide ! Ex: <div class="tt1"></div> <div class="ss1">...</div> <div class="ee1"> <div class="ee2"> <div class="swiper-slide"> <img src="/ima...
Calculating path using linear and angular velocity published by odometry
◷
تاریخ انتشار: 1395/4/12 | ساعت: 0:42
Vote count: 0 I have the message type nav_msgs/Odometry constantly publishing linear and angular velocity. I am calculating linear distance by taking Velocity at X and Y, multiply them by 1/rate(Hz) and summing them together. Is this calculation right? Also, I am a bit skeptical about calculating th...
How to efficiently retrieve an Appoinment Ocurrence's index in EWS
◷
تاریخ انتشار: 1395/4/12 | ساعت: 0:42
Vote count: 0 Appointment.BindToOcurrence takes the following arguments: service, ItemId, and Index. However, there doesn't seem to be an efficient way to get said index, given an occurrence, without looping over every single item in the series. If I want to store some information that will allow me...
update height of iframe on chrome (android)
◷
تاریخ انتشار: 1395/4/11 | ساعت: 17:47
Vote count: 0 We have javascript widget which dynamically loads an iFrame to display exte al content. When iframe have loaded or it's content have resized it send message via postMessage. Widget get a message and resize iframe: iframe.style.height = msg.value + 'px'; It works correctly on most brows...
SendKeys with Replacement option c#
◷
تاریخ انتشار: 1395/4/11 | ساعت: 17:47
Vote count: 0 I used c# global keyhook to create a virtual keyboard to allow typing in my language, and to send the keys to the app in focus I used SendKeys method but I faced one problem i.e. there are situations where I want to modify the previously sent key when certain keys are pressed after som...
UIToolBar with UIBarButtonItem's of different colors
◷
تاریخ انتشار: 1395/4/11 | ساعت: 17:47
Vote count: 0 Is there a possibility to have UIToolBar with UIBarButtonItem's of different colors, For example, The first button should have a red font color, where as the rest of buttons should have lightGray font color. Note: Here are some considerations :) I ca ot use UITabBar, Though it can be a...
Umask is not working
◷
تاریخ انتشار: 1395/4/11 | ساعت: 15:36
Vote count: 0 I have an odd problem with umask in ubuntu 14.04 I have added below line in /etc/pam.d/common-session session optional pam_umask.so I have also edited /etc/login.defs and change the UMASK line to UMASK 022 But while checking in command line is is showing 002 .Can any one tell what went...
how to get newly added documets from list?
◷
تاریخ انتشار: 1395/4/11 | ساعت: 15:36
Vote count: 0 based on question I posted on How to find documents from the list by term in the query (if atleast one query term exists in the documents of list), I want to ask other question. that is assume we have constant query and dynamic documents which is added to list from time to time. so I w...
How to format number textbox in angular js?
◷
تاریخ انتشار: 1395/4/11 | ساعت: 15:36
Vote count: 0 <div class="input-group-icon">Max <span class="error">*</span> <div class="input-group"> <input style="border-right:none;" name="investment_amount_max" ng-model="attributes.investment_amount_max" max="{{constants.globalValue.maxNumber}}" min="{{attributes.investment_amount_min}}" type=...
AngularUI Datepicker - End Date should not be less than Start Date
◷
تاریخ انتشار: 1395/4/11 | ساعت: 14:29
Vote count: 0 We are using AngularUI datepicker (https://angular-ui.github.io/bootstrap/) for Start and End Date. After integration, I was not able to select weekend dates as well as my end-date can be less than start-date. I have made a plunker for the same where I was able to select weekend dates ...
What is the best way to handle tree conflicts in Git?
◷
تاریخ انتشار: 1395/4/11 | ساعت: 14:29
Vote count: 0 I am following the git-flow workflow model for the version controlling. While I was working in a feature branch, someone else merged another feature branch to develop branch which contains some tree changes of the project. Now the project structure in my feature branch is different fro...
add navbar item in list accordin to width of page and the full of nav bar
◷
تاریخ انتشار: 1395/4/11 | ساعت: 14:29
Vote count: 0 i want to make a responsive navbar that is collapsed according to the number of items "li" not according to the width of the window i will attach some images to describe what i want to do. 1-case1:number of item not exceed the navbar width 2-number of item exceed the navbar width 3-if ...
Using Postgresql with JSON and inserting new object in json array
◷
تاریخ انتشار: 1395/4/11 | ساعت: 11:24
Vote count: 0 In terms of performance and good practice, is it better to create a new row for every new json object or just append objects to an json object array all within one row? I'm building a NodeJS application that will let the user create, read, update and delete data from the json objects. ...
Redis: Is there a way to add to sorted set only if set is exists?
◷
تاریخ انتشار: 1395/4/11 | ساعت: 11:24
Vote count: 0 I am wondering if there is a way to check if a redis sorted set is exists already. if sorted set is exists then add element to it, other way nothing will happen. because of doing this with pipelined so it tacks a lot cost to check if the sorted set is exist, every time out of the redis...
spring cloud config become my single point of failure
◷
تاریخ انتشار: 1395/4/11 | ساعت: 11:24
Vote count: 0 brifly, can i run a sprcing cloud config server cluster to ensure HA, if I can, how? I'm trying to use spring cloud config as my central config service my problem is that each client can only specify one server to fetch config if this server is down. everything has to wait for its reco...