REST API calls on Weedmaps
◷
تاریخ انتشار: 1395/2/4 | ساعت: 0:04
Vote count: -2 Weedmaps has a private API however I am only trying to access 2 pieces of information. Essentially, I want to access and download these 2 data points, possibly once an hour, and download into a database. I am essentially trying to track something over time. Is this possible? asked 2 m...
How to print Angular.js promise error status?
◷
تاریخ انتشار: 1395/2/3 | ساعت: 22:41
Vote count: 0 My code is like this, app.controller('myController', function($scope, MyService, ...) { MyService.getInfoFromUrl('MyUrl').then(function(result) { console.log("Successfully get info from URL ..."); }, function(error) { console.log("Server error ..."); console.log(error); }); }); So when...
Mongodb aggregate with multiple fields
◷
تاریخ انتشار: 1395/2/3 | ساعت: 22:41
Vote count: 0 I have documents of the form "Id" : cooldude1@gmail.com "Website" : www.facebook.com "Time" : ISODate("Some Date and time") "XYZ" : xyz1 (Other irrelevant fields) "ABC" : abc1 (Other irrelevant fields) "Id" : cooldude2@gmail.com "Website" : www.facebook.com "Time" : ISODate("Some Date ...
New variable is not getting well updated in dataset
◷
تاریخ انتشار: 1395/2/3 | ساعت: 22:41
Vote count: 0 mydata$ngt5cat <- ifelse(mydata$v2_5<=15, "een", ifelse(mydata$v2_5>=16 & mydata$v2_5<=30, "twee", ifelse(mydata$v2_5>=31 & mydata$v2_5<=45, "drie", ifelse(mydata$v2_5>=46 & mydata$v2_5<=60, "vier", ifelse(mydata$v2_5==NA, "NA", "vijf"))))) mydata$ngt5cat <- as.factor(mydata$ngt5cat) V...
How to make an auto embed system using youtube urls
◷
تاریخ انتشار: 1395/2/3 | ساعت: 21:35
Vote count: 0 I wa a make a system that auto embeds youtube urls into the page. For example when user puts a link of a video from youtube. I wa a make an iftame of the video. Any code lines is appreciated. asked 1 min agoJames Let's block ads! (Why?)
Debugger memory watch/examine for cached memory
◷
تاریخ انتشار: 1395/2/3 | ساعت: 21:35
Vote count: 0 I am trying to debug a program which is partially working with cached data memory and from cached instruction memory. The question is about how the debugger works, when trying to examine such a memory. Does it access the cached copy when examining a specific location? If so, does it ac...
Extract rows from table when columns is no empty in php
◷
تاریخ انتشار: 1395/2/3 | ساعت: 21:35
Vote count: 0 I need to select rows when field "beruf_1" is not zero. beruf_1 is type VARCHAR These four entries write me error. $sql = "SELECT * from members WHERE beruf_1 LIKE != '0' "; $sql = "SELECT * from members WHERE beruf_1 LIKE != 0 "; $sql = "SELECT * from members WHERE beruf_1 LIKE > 0 ";...
Android UUID v4 using seed
◷
تاریخ انتشار: 1395/2/3 | ساعت: 20:33
Vote count: 0 I want to have UUID which identifies a device. I use an android id for this String android_id = Settings.Secure.getString(_appActivity.getContentResolver(), Settings.Secure.ANDROID_ID); The issue is to generate UUID v4 from seed. UUID.nameUUIDFromBytes uses version 3. asked 4 mins agoA...
Integrate user form to multiple worksheets
◷
تاریخ انتشار: 1395/2/3 | ساعت: 20:33
Vote count: 0 I'm a bit stuck. I have created a user form that will add a part on a sheet called "Main" and also another sheet dependent on what the user selects for a warehouse. Currently the code is working, but it will only add to "Main" and "Elkhart East" this will does not work when I select an...
Object Tracking with Local Binary Patterns : Changing size of the detection ROI
◷
تاریخ انتشار: 1395/2/3 | ساعت: 20:33
Vote count: 0 I am stuck at the follwing situation. I can found the object with the use of Local binary patte s. But how can I change the size of the roi so that I can get the green ROI. I need ideas guyz. In code I am using a sliding window approach to calculate distances between the reference wind...
How to access phpMyAdmin with different ip address
◷
تاریخ انتشار: 1395/2/3 | ساعت: 18:59
Vote count: -1 I'm new to all this server stuff so I may not use the correct terms. I have a database on my local computer and I can access it by typing in the url http://localhost/phpmyadmin/. I can also get there by typing in http://127.0.0.1/phpmyadmin/. Now I'm using Amazon's RDS webservice to s...
how to display data from database in card ui using javascript or jquery
◷
تاریخ انتشار: 1395/2/3 | ساعت: 18:59
Vote count: -1 Hi Everyone I am newbie to web development so can you help me to solve below questions Questions to be solved 1) suggest me best UI design to implement in web as above in image. 2) And From the database,I need to display data as above image in html by using any one of the scripting la...
Calling a Node.js server with Vue.js
◷
تاریخ انتشار: 1395/2/3 | ساعت: 18:59
Vote count: 2 I have a simple Node.js server up and ru ing. This is the code: var http = require('http'); var server = http.createServer(); server.on('request', function(req, res) { res.writeHead(200, { 'content-type': 'text/plain' }); res.write('Hello World!'); res.end(); }) server.listen(8090); se...
bash 0 pad numbers on substrings
◷
تاریخ انتشار: 1395/2/3 | ساعت: 16:15
Vote count: 0 I have long lists as follows: D6N T69TN K70R M184V T215FEG The result must be like this: D006N T069TN K070R M184V T215FEG I'm new on bash, I tried approaches based in splitting it in columns and reformat. However the positions and length of 2nd and 3rd putative columns are not fixed. T...
Deploying multiple instances ASP.Net web app / Windows Server on OpenStack
◷
تاریخ انتشار: 1395/2/3 | ساعت: 16:15
Vote count: 0 We have requirements to deploy an ASP.Net application ru ing currently on multiple instances (MS Azure Compute Service) on OpenStack host. I am new to OpenStack and wonder how it can be an alte ative solution for the PaaS model from MS Azure in the following points: Multiple Windows Se...
Openshift webhook branch filter
◷
تاریخ انتشار: 1395/2/3 | ساعت: 16:15
Vote count: 0 I successfully installed Openshift Origin (latest), and performed automated builds. I.e., once I pushed something on master branch, I get a build triggered through a git webhook, using the URL provided by Openshift triggers. Now I would like to trigger a build only when a specific bran...
Paypal Here android Integration issues
◷
تاریخ انتشار: 1395/2/3 | ساعت: 12:41
Vote count: 0 I want to Integrate Paypal Here in my android app.. So I followed this So over there when I try to use this sample app code I am getting Errors like Error:Execution failed for task ':app:processDebugResources'. Error: more than one library with package name 'com.paypal.merchant.sdk' He...
How to change the position of My Location Button in Google Maps using android studio
◷
تاریخ انتشار: 1395/2/3 | ساعت: 12:41
Vote count: -1 I was working on google maps, where i need to change position of My Location(current location button). Presently current location button was top-right position. so please help me how to re-position the current location button on google maps screen. Thanks in advance... my sample code:...
How to set a custom header for webView requests in react-native
◷
تاریخ انتشار: 1395/2/3 | ساعت: 12:41
Vote count: 0 I want to be able to detect on my ruby on rails server side that a http request has come from a webView component in my app. The app is using react-native. I have tried setting the following in the AppDelegate.m file NSURL *url = [NSURL URLWithString:@"http://localhost:3000/signin"]; N...
How to make 2 concurrent network requests in Golang
◷
تاریخ انتشار: 1395/2/3 | ساعت: 11:16
Vote count: 0 I have two functions that make networks requests: e.g.: func request1() (resultTypeA, error) { .... } func request2() (requestTypeB, error) { ... } Given that they are two different types, I can't just use one cha el. What is the best patte to parallelize to calls: resultA, err := requ...