WinHttpRequest "send" is working on office 2007 products but not 2013
-
تاریخ: 1395/6/3 ساعت: 17:42
Vote count: 0 I have written some code that retrieves text from our server and writes that text into a word document. We are in the process of upgrading our office suite from 2007 to 2013, but I'm having issues when testing my previously working code in Word 2013. I've narrowed it down to the http.s...
What is the default unit if the specified font size has none?
-
تاریخ: 1395/6/3 ساعت: 17:41
Vote count: 0 I'm converting HTML4 to HTML5, and I have this: <font face="Verdana" size="2"> The above is no longer supported in HTML5. What value and unit does the font size above map to in CSS? asked 22 secs agothegreatjedi Let's block ads! (Why?)
how to set scope=offline_access in keycloak-nodejs-connect during login
-
تاریخ: 1395/6/3 ساعت: 12:35
Vote count: 0 From nodejs, I am trying to integrate with keycloak server. Have followed the steps mentioned in https://github.com/keycloak/keycloak-nodejs-co ect But I need to use offline access to generate offline token as mentioned here, https://keycloak.gitbooks.io/server-adminstration-guide/cont...
Printf with reference variable
-
تاریخ: 1395/6/3 ساعت: 12:35
Vote count: 0 Assuming this code int main(){ int i=0, j=0; cout << i << " " << f1(&i,&j) << " " << j << endl; cout << i << " " << j << endl; } int f1(int *i, int *j){ *i = 20; *j = 30; retu 10; } The result is 20 10 0 20 30 I am puzzled as to why j would be 0 while i correctly shows 20 asked 30 secs...
get metrics for google cloud pubsub
-
تاریخ: 1395/6/3 ساعت: 12:35
Vote count: 0 I am using google cloud pubsub and I want to know about how to get number of outstanding, delivered and undelivered messages in pubsub. Is there any available api provided by google pubsub for this? asked 20 secs agoShubham Let's block ads! (Why?)
scala Link promise to another one
-
تاریخ: 1395/6/3 ساعت: 7:34
Vote count: 0 I' m reading scala.concurrent.impl.Promise and get confused by the concept "link DefaultPromise with another". I do understand the 'prevent memory leak' part but don't know how to write an example where the current state of DefaultPromise is DefaultPromise. When DefaultPromise is first...
How can we discover a service in Eureka using a qualifying property with Spring Cloud and Spring Boot
-
تاریخ: 1395/6/3 ساعت: 7:34
Vote count: 0 We have about 50 microservices developed using Spring Boot. We used Spring Cloud for registering services with Eureka and invoke the service from the consumer using Feign. The contract is pretty standard, where the consumer uses an interface with @FeignClient("<foo>") a otation to loca...
How to alter a regex to be non-greedy (JS)
-
تاریخ: 1395/6/3 ساعت: 7:34
Vote count: 0 I'm trying to replace var tags with an attribute so they are wrapped in square brackets data.replace(/<var .*?="">(d+)</var>/ig, '[[[$1]]]'); but this will not work if there are multiple var tags. For example, <var id-0=""></var> responds <span id-1="">in <var num="">1</var> days</span...
how twitter rolled out night mode without updating ios client
-
تاریخ: 1395/6/3 ساعت: 2:33
Vote count: 0 I noticed that twitter was last updated on 18th august and they rolled out night mode on 22nd august. then how that feature popped up in the ios client. Please enlighten me if am missing on something. asked 12 secs agoIshan Baboota Let's block ads! (Why?)
Edit time scheduled task on windows using php
-
تاریخ: 1395/6/3 ساعت: 2:33
Vote count: 0 I tried this command line in command prompt for edit time SchTasks /Change /TN ReminderKontrak /ST 12:11 /RU EGGYSEggy and the result is success after I run cmd as administrator and enter the password.. and now I tried to implementation that to php code like this shell_exec('SchTasks /...
Matlab function in Simulink - retain previous non-zero input value
-
تاریخ: 1395/6/3 ساعت: 2:33
Vote count: 0 I have a Matlab function block in Simulink that receives 2 inputs and processes it to generate an output. During the course of the simulation, at some time points, one of the inputs is zero. I'd like to use the most recent non-zero input to the function whenever that particular input v...
HTACCESS redirect to index.php: PHP level in subfolder fix
-
تاریخ: 1395/6/2 ساعت: 21:22
Vote count: 0 My current HTACCESS looks like this. # Run everything else but real files through index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !.(gif|jpe?g|png|css|js)$ RewriteRule ^(.*)$ index.php?p=$1 [NC,L,QSA] Great piece of code wher...
Function to safely assign an optional to a var, or assign default if nil: Could not cast value of type 'Swift.Int' to 'Swift.String'
-
تاریخ: 1395/6/2 ساعت: 21:22
Vote count: 0 Hey there! I'm breaking bad once again asking for help--hopefully this code + any possible answers will help the community. So I'm trying to make a method that allows me to safely assign optionals to the lhs, such as: var cool_variable = risky_optional!, without necessarily interruptin...
Parsing through database table and pulling out unique names
-
تاریخ: 1395/6/2 ساعت: 21:22
Vote count: 0 I have a table that is listed like this: Table name: test |--------------------| |------Column 1------| |--------------------| |John,Raul,Matt,Tyler| |Tim,Ha ah----------| |Zeke,Brady,Tim,Tyler| |Elliot,Zeke---------| |Matt,Andrew,Idda----| ... And I need to get all of those names into...
Canvas coordenates bootstrap modal
-
تاریخ: 1395/6/2 ساعت: 16:16
Vote count: 0 i'm trying to create a signature canvas on a boostrap modal, but it doesn't work at chrome / safari. I've been looking at coordenates, and the problem is here. In firefox, the coordenates are correct and the signature with canvas works perfectly, but on chrome / safari, the coordenate ...
How to save a 3D image or what's the image format that we can spin it manually after saving it from Matlab without opening Matlab?
-
تاریخ: 1395/6/2 ساعت: 16:16
Vote count: 0 I have plotted a 3-dimension figure which is the 3-D cloud water content from a Cloud Resolving Model. I would like to save it and preserve the image information that I can rotate it along different direction after I have saved it. I know it's possible to save it as format fig in Matla...
Android MapView in ListView Headeris is not calling onTouchEvent
-
تاریخ: 1395/6/2 ساعت: 16:16
Vote count: 0 I have a ListView where I add a Google Map MapView into the header view, below is the code on how I do that: vListViewTrips.addHeaderView(vMapHeaderView, null, false); The map is shown and works but the map does not handle any gestures when its being touched even though all gestures ar...
How to create async.auto-like promises chain?
-
تاریخ: 1395/6/2 ساعت: 11:03
Vote count: 0 Here is the code I have: async.auto({ client: service.findCLient, existingChat: ['client', service.findChat], chat: ['client', 'existingChat', service.createChat] }, (err) => { if (err) retu service.handleError(err); service.emitChatEvent(); service.editMenu(); }); What is the best way...
Passport-remember-me cookie gets deleted after session time out
-
تاریخ: 1395/6/2 ساعت: 11:03
Vote count: 0 This is the code I wrote for it res.cookie('remember_me', user.token, { httpOnly: true, expires: new Date(Date.now() + 100000000)}); Is it correct?? Thanks in Advance asked 35 secs agoJinesh Mathew Let's block ads! (Why?)
Weebly Deleted Site Error 404 page not found
-
تاریخ: 1395/6/2 ساعت: 11:03
Vote count: 0 My college website www.chenabgrw.edu.pk was published on weebly. I purchased a new hosting service and updated nameservers. I installed wordpress on a subdomain www.new.chenabgrw.edu.pk After designing new site I deleted my weebly site to shift subdomain new.chenabgrw.edu.pk but I am s...