Postgres function returning wrong datatype
Vote count: 0 I am trying to install ubuntuone on a ubuntu server 15.04 and it seems there are a few things that aren't working anymore. The main problem I have is a query that is failing. Here is how it looks like: CREATE FUNCTION activity() RETURNS SETOF pg_stat_activity LANGUAGE sql SECURITY DEFI...
Explain cURL strange chunked response
Vote count: 0 I spent many hours searching the inte et to understand the response I am getting without any luck. when I run the curl command: curl http://www.server.com/ajax.php?action=bike&make=3 I get this strange response with chunked encoding: [1] 8715 [2] 8716 [3] 8717 [4] 8718 [5] 8719 [2] Don...
iMacros FOLDER Extraction on Mac OS
Vote count: 0 Most examples iMacros scripts available on the Inte et using Windows, but I'm confused and want to ask about the location of the full path of a result iMacros EXTRACT on Mac OS. as an example of this URL http://wiki.imacros.net/SAVEAS will extract the words "SAVEAS", which are located ...
ExtnJS-“Element is not clickable at point” error
Vote count: 0 When trying to click a button on ExtnJs appl I receive the error following error: org.openqa.selenium.WebDriverException: Element is not clickable at point (x, y). Other element would receive the click: .. On clicking a button,page will be loaded with a new contents. code: driver.findE...
onelogin authnrequest is not generated
Vote count: 0 I am not able to see the authnreq generated on this line request.create(settings) in sso action and so the acs action is not being called. I have provided the right certificate and id in my application. So what is that I am missing which is causing the authnreq to not get generated? de...
Java Arrays,Reversing values of one array to another
Vote count: -2 public static void main(String[]args){ //this program is to print the index values of an array in reversed order using //another array int[]array1={5,6}; int[]array2= new int[2]; int i; int j=1; for(i=0;i<=1;i++){ array1[i]=array2[j]; j--; } for(int num: array1) System.out.println(num...
UITableView loads all the cells
Vote count: 0 I have UITableView with 50 rows. TableView load all cells, including cells that are not visible on the screen. Method cellForRowAtIndexPath: called immediately for all 50 cells, although they are not visible on the screen. I have a large cell, and at one time on the screen can be seen ...
Data Updating of JSON doesn't work (MySQL)
Vote count: 0 So I have a Table in a Database that looks like this: Category idCategory | data the "idCategory" column is AUTO_INCREMENT and the data field is a JSON. I have data stored in the table looking like this: 1, {"CategoryNames": {"DE": "Wirtschaft", "EN": "Economy"}} 2, {"CategoryNames": {...
show/hide record based on field Laravel 5
Vote count: 0 I have table users, which contain users that can log in into my web, so i have something like this, u can see that admin have privileges 1 while qwert have privileges 2, i want to display anything that have privileges 2, how can i do something like that? in my web it's look something l...
script dom created by string fail to run
Vote count: 0 These are the test files. main.html <html> <head> </head> <body> <div id="test"> <script id="test-script" src="./a.js"></script> </div> <script type="text/javascript" src="./add-js.js"></script> </body> </html> add-js.js function htmlToElement(html) { var div = document.createElement('...
Angular 2 Typescript @injectable
Vote count: 0 im using angular2 version 2.0.0-rc.5 and i create a file name userdetails.ts import {Injectable} from '@angular/core'; export interface userdetails{ userid: string, password: string, name: string, sbu: string, division: string, position:string, loggedin:boolean } @Injectable() export c...
Keep hover() working with right click
Vote count: 0 I have a div on my page that calls a function when the mouse hovers over it. The problem is that I still need have hover() activated when someone right clicks on the div and opens the context menu. So, is there a solution to this? asked 31 secs agoBrendan Raima Let's block ads! (Why?)
Apache strips down “Authorization” header
Vote count: 0 This has been asked before, but. I'm trying to implement JWT token auth with PHP 7 on apache 2.4. The script (symfony) never sees the Authorization header. I've read Apache strips down "Authorization" header and already added: RewriteEngine On RewriteCond %{HTTP:Authorization} ^(.*) Re...
How to handle memory in aws cpp sdk?
Vote count: 0 I recently have worked on aws-cpp-sdk from AWS service. But unfortunately I couldn't understand how to handle memory because there aren't enough tutorials or examples on the inte et. What I have tried are as follows.1. built aws-cpp-sdk as a 64bit shared dll for windows x64(exactly win...
RabbitMQ C++ client for old debian
Vote count: 0 I have an old Debian (Le y), on which I develop an application that should co ect to RabbitMQ. I downloaded the official C++ client rabbitmq-c-0.8.0 from https://github.com/alanxz/rabbitmq-c/releases/tag/v0.8.0 , but unfortunately, I can't compile it on my old Debian: wget https://gith...