Trying to add poNumber to transaction not working. PHP-sdk Authorize.net
◷
تاریخ انتشار:
1395/4/24
|
ساعت:
7:09
Vote count: 0 I am trying to use authorize.net's php-sdk to charge a customer profile which is working but I can't find the write way to send the poNumber along with the data. In the following link, I am using the part where it says Creating Transactions, but no where do I see how to add poNumber. h...
When shut down android app
◷
تاریخ انتشار:
1395/4/24
|
ساعت:
4:45
Vote count: 0 How can i get when kil processing app . For Example When One customer going to kill my app . i want to lea this state so when app killing. onDestroy method doesn't working. I need alte ative for it. public class LoginActivity extends AppCompatActivity { @Override protected void onCreat...
scope & trigger in angular1
◷
تاریخ انتشار:
1395/4/24
|
ساعت:
4:45
Vote count: 0 Could you point me to the right direction what I should look up in order to understand the following code about trigger: "=trigger" app.module.directive('messageModal', function ($compile) { retu { scope: { trigger: "=trigger", }, controller: ['$scope', '$element', '$attrs', '$timeout'...
How to install 'alternatives' application on RHEL systems?
◷
تاریخ انتشار:
1395/4/24
|
ساعت:
4:45
Vote count: 0 I tried setting up new installed Java on RHEL 6.5 with 'alte atives' application (as suggested in few websites) but seems 'alte atives' does not exist: alte atives -bash: alte atives: command not found Also not possible to install with YUM (can not find). What is the way to install it ...
Using haxe.macro.TypeTools fails
◷
تاریخ انتشار:
1395/4/24
|
ساعت:
3:28
Vote count: 0 I'm trying to debug a library which uses haxe.macro.TypeTools::findField. I've created a simple code for that: package; using haxe.macro.TypeTools; class Main { public function new() { var test = findField(Child, "hello"); trace(test); } } class Base { private function hello() { } } cl...
How do I export an Excel worksheet and embed it in email using powershell?
◷
تاریخ انتشار:
1395/4/24
|
ساعت:
3:28
Vote count: 0 I'm looking to take the first worksheet off of an Excel workbook and embed it into the body of an email. The problem I'm ru ing into is that the first half of my code won't export the worksheet into a nice, single .htm file (which you can do in Excel) and thus, doesn't embed properly. ...
Spark not running on yarn-client mode (state: ACCEPTED) never ends for Spark Submit (with Spark 1.6.1 on YARN)
◷
تاریخ انتشار:
1395/4/24
|
ساعت:
3:28
Vote count: 0 I am trying to execute following query on Spark in ya -client mode. $SPARK_HOME/bin/spark-submit --class org.apache.spark.examples.SparkPi --master ya --deploy-mode client $SPARK_HOME/examples/target/scala-2.10/spark-examples*.jar 10 When I execute above query my application gets stuck...
How can i get JavaFX working on raspberry pi 3
◷
تاریخ انتشار:
1395/4/24
|
ساعت:
1:34
Vote count: 0 please can someone provide me with simple step by step instructions for getting javafx working on raspberry pi 3. I have tried all day to add javafx to raspberry pi 3 and i am still getting the error: "JavaFX deployment library not found in the active JDK" in netbeans when i try to bui...
X-editable simple database update not updating
◷
تاریخ انتشار:
1395/4/24
|
ساعت:
1:34
Vote count: 0 I am a begi er programmer and I am trying to figure out how the x-editable fields work before I can attempt to implement them in a website. I've seen a couple of examples around the web and even on here but the solutions I've found haven't worked for me. I have an index.php file with a...
Convert array to associative
◷
تاریخ انتشار:
1395/4/24
|
ساعت:
1:34
Vote count: 0 Using this var data=$("#form").serializeArray(); output following array using print_r($data); in php results to $data=Array( [0] => stdClass Object ( [name] => location [value] =>lko ) [1] => stdClass Object ( [name] => street_number [value] => 425 ) ) into the following array Array( [...
A visual guide to javascript/jquery
◷
تاریخ انتشار:
1395/4/24
|
ساعت:
0:22
Vote count: 0 First time poster on here so hopefully this doesn't sound like a silly question. I am a graphic designer / illustrator who took the plunge to lea ed web design, and I'm fairly competent now with html and css. But even though I can implement javascript on my pages, I still struggle to w...
numpy difference between flat and ravel()
◷
تاریخ انتشار:
1395/4/24
|
ساعت:
0:22
Vote count: 0 What is the difference between the following? >>> import numpy as np >>> arr = np.array([[[ 0, 1, 2], ... [ 10, 12, 13]], ... [[100, 101, 102], ... [110, 112, 113]]]) >>> arr array([[[ 0, 1, 2], [ 10, 12, 13]], [[100, 101, 102], [110, 112, 113]]]) >>> arr.ravel() array([ 0, 1, 2, 10, 1...
Nutch fetches just the URLs that exist in seeds file
◷
تاریخ انتشار:
1395/4/24
|
ساعت:
0:22
Vote count: 0 I am trying to crawl some Urls with Apache nutch 1.11. There are 7 Urls in my seeds.txt file, and I run the command : bin crawl -i urls crawl 22 My problem is that with depth 22, I expect it to fetch quite a few number of pages. But today, all it does is fetching the exact same Urls th...
What is the tips for construct invariant for simple program (like interview algorithm)?
◷
تاریخ انتشار:
1395/4/23
|
ساعت:
23:03
Vote count: 0 I am always wondering how to prove the correctness of a simple program. For example, a interview problem like First Missing Positive. The program looks like this: public class Solution{ public int firstMissingPositive(int[] A){ int i = 0; while(i < A.length){ if(A[i] != (i+1) && A[i] >...
Object assign with dynamic variable in Javascript
◷
تاریخ انتشار:
1395/4/23
|
ساعت:
23:03
Vote count: 0 I have this initialState in my Redux store const initialState = { isFetching : false, active : {} } Where active is an object. Now I have an action that should append or add a property to active's data property like so: [DASHBOARD_TEMPLATE_DATA_RECEIVE]: (state, action) => { retu Objec...
How to combine two excel files together: need to add extra column and merge rows
◷
تاریخ انتشار:
1395/4/23
|
ساعت:
23:03
Vote count: 0 I'm new to VBA so I was hoping someone could help me with my problem. GIVEN: First excel file has X number of columns with Y rows A B C D E (columns) 1 2 3 4 5 (row1) 6 7 8 9 10 (row2) and 2nd excel has A B C D (columns) 1 2 3 4 (row1) 6 7 8 9 (row2) a b c d (row 3) e f g h (row4) tryi...
How to set min and max prices for products using _POST_FLAT_FILE_LISTINGS_DATA_ in Amazon MWS API
◷
تاریخ انتشار:
1395/4/23
|
ساعت:
22:00
Vote count: 0 How to set min and max prices for products using _POST_FLAT_FILE_LISTINGS_DATA_ in Amazon MWS API for a particular product with a asin/sku in php asked 16 secs agoSaroj Shaw This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone e...
Aggregate results in one column for each row of an other request linked to the first one
◷
تاریخ انتشار:
1395/4/23
|
ساعت:
22:00
Vote count: 0 Okay, so i know that my title is a bit blurry but it's actually pretty easy (i guess). I'm using mysql. I have a table 'items' with this structure: id, name And a table 'infos' such as : id_item, info The thing i'd like to do is to concat infos in such a way that with a single request ...
How do I set NTFS permissions to a Linux equivalent using Bash on Windows-10?
◷
تاریخ انتشار:
1395/4/23
|
ساعت:
22:00
Vote count: 0 I want to remote in to a Ubuntu server using my new and still shiny Windows 10 Bash. When I try ssh -i "... /private1.ppk" Uname@IP I get the message " WARNING: UNPROTECTED PRIVATE KEY FILE!" & "Permissions 0444 for '... /private1.ppk' are too open." Wanderings around the web suggest 0...
R sqldf fails with "rsqlite_query_fetch: failed first step: database or disk is full"
◷
تاریخ انتشار:
1395/4/23
|
ساعت:
20:56
Vote count: 0 I'm trying to select some subsets from the dataframe in R using sqldf. So my code looks like: library("sqldf") ... usecase <- as.data.frame(use_case_list[[i]]) user_day_view <- sqldf("select distinct targetuser, day, count(*) from usecase group by targetuser,day") ... All in all, I do ...