All Questions
0
votes
0answers
3 views
How to change HTML text into Simple String in android
I want to receive a HTML text but i can't decode it can anyone help me how can i decode this HTML text and how to show same as show as web.
My Array:
["<h2>Terms & ...
0
votes
0answers
3 views
How to create a trigger on a Teradata table which updates the timestamps on changed records?
I am using Teradata 14.00
I have a table with columns (id, name,city,mytime) in Teradata 14.00.
If we update the name, the timestamp in 'mytime' column should be updated automatically, without ...
0
votes
0answers
4 views
Query to retrieve new products of old customers
I am writing a query to fetch new products of the old customers. The query is giving errors.The query that I have tried is as follows:
Select @cust_rank :=NULL,@current_cust :=NULL;
SELECT ...
0
votes
0answers
3 views
Replacing <li> with <li style=“color:green”> when <li> lies between <span style=“color:green”> and </span>
I have input string that could contain the span tag with color green in it's styling tag many times. I want that whenever li tag is present in between the opening and closing span tag, it's styling ...
0
votes
0answers
2 views
GAS - Get all email addresses from a domain
Can i get the complete list of emails addresses from a domain with GAS. (like the "To:" Gmail field shows my contacts adresses and domain addresses)?. I don't have an account with administrative ...
0
votes
0answers
4 views
Memory leak when phone is disconned unexpectedly
What causes leaking the memory when a phone is disconnected unexpectedly, although there are no tasks are being carried out. And How do I handle it. In my application the phone is connected via data ...
0
votes
0answers
3 views
when calling private method from @transactional public method, will the same transaction be used in private method or no transaction used
@Transactional
public class someClass implements someInterface {
@override
public void insertData() {
updateOtherTable();
}
private updateOtherTable() {
//will this use above transaction or will ...
0
votes
0answers
2 views
Drawing a Stack diagram modeling runtime execution of methods
I am having trouble drawing a stack diagram of methods being executed. Is the following the correct execution of the methods beings called?
ExExample ex = new ExExample(); <--bottom of stack
...
0
votes
0answers
3 views
Put a new line in the title in server.R
I have the following in my server.R. My goal is to put a new line between Grades and (from 2010 to 2012) and center the title.
output$title <- renderText({
paste("Analysis for Grades ...
0
votes
1answer
5 views
How to show dialog for alarms android
I am making an app where it has this alarm features. What i want is that when the alarm fires, a dialog shows up (in or outside the application). I am new to android. I tried reading some sources ...
0
votes
0answers
4 views
Ping Pong game in c++
Hi guys I'm making a ping pong game for my school project using borland c++ (Yeah we HAVE to use that outdated thing). Here's whats happening:
1. The new game works perfectly.
2. Continuing the game ...
0
votes
0answers
3 views
Change the URL of an particular page, using .htacces
I need to change just an part of this URL
page.com/OLD?q=text+phrase
WITH THIS
page.com/NEW?q=text+phrase
Please note: this URL is an search result, in this case, the full url is formated from ...
0
votes
0answers
3 views
Passing Parameter From Child Class Constructor to Base Class Constructor
and thank you for your help. This is my first time posting!
I'm trying to pass a Square class constructor to the Rectangle class constructor, and I get the following error:
"Square.cpp:9: error: ...
0
votes
1answer
10 views
Input values of variable always outputting as 0 in C++
I just tried a lot and i couldn't enter the codes here so that's why I used a external link So please use this link to show my problem.
Here is the link If anythings you don't understand just comment ...
0
votes
0answers
2 views
Sending a private message using Graph API
I'm trying to send a private message to a person using the Graph API. I tried sending a POST request to /<target_id>/inbox with &message=hello but that returned an error saying "Invalid POST ...
0
votes
0answers
2 views
How do I curl the .jar for cljsjs/react?
I'm following the Clojurescript Quick Start, and I'm continuing to build out a clojurescript project without relying on a build tool like lein or boot to make sure I understand what is really ...
0
votes
0answers
2 views
How to detect a node being dragged/dropped over another node in vis.js?
How can I drag and drop a node onto another node and detect it?
E.g. I may want to drag node-1 and drop it onto node-2, and then connect them with an edge programmatically.
The hover option doesn't ...
0
votes
0answers
8 views
Is it possible to show grep output of +/- 3 words of the search keyword?
I want to store information in a text file and use grep to search.
With the command grep -in <keyword> <file>, I can show the line number and the line contains the keyword. However, the ...
0
votes
0answers
5 views
How to copy all files saved in notepad.txt to a different location
I have a notepad.txt document and it contains the file-path of several files on my pc, including their extension
Example;
C:\Users\Foo\Pictures\Photographs\September\P1030944.jpg
...
0
votes
1answer
5 views
removing rows without returns incorrect result
I am trying to remove rows that do not have a number in them based on one column. I assumed this would be a straightforward process, but I am running into an issue:
> head(cond$Q26)
[1] "1" ...
0
votes
0answers
5 views
Placing Variables in Google map Script tag
I am trying to put a Google direction map to my page. The JS element is defined as below. As of the moment this is hard coded but I need to make the origin (Miami,FL) , destination (Buffalo,NY) and ...
0
votes
0answers
3 views
Drawing an NSImage on screen
I'm a complete beginner, so this is probably a very basic question. But I can't find a simple answer.
I have an NSImage object and I want to draw it on the screen. After a little research, I found ...
0
votes
0answers
3 views
Unity issues with Oculus OVRCamera and GUI Texture not visible
I am trying to do a simple Fade to black using the OVRCamera Rig Shipped with Oculus's Unity Tools.
However, no matter what part of the rig (or all parts) the GUI Texture is assigned to, it doesn't ...
0
votes
0answers
4 views
Facebook Thumbnail Not Loading Properly
Hi i have this site http://marlborocigs-aq.xyz which will have randomized subdomains. But why is it such that when the share button is clicked, the image and text does not load when the subdomain link ...
0
votes
1answer
6 views
Highcharts using angularjs, nodejs and mongoos
I am beginner on Javascript world. I am trying to use high charts (www.highcharts.com) for pia charts on Angularjs. I have below example which works fine but below example has "ideas" array static but ...
0
votes
0answers
7 views
Content Copy prevention & content select prevention Script is also preventing Select working in HTML Form
I am using a small script for preventing the copy/paste & select/ drag prevention to protect my content from being easily copied from my web page. It is working very fine in all browsers and ...
0
votes
0answers
3 views
Add accessor getGenreBooks to return the books field
public class Genre
{
private ArrayList<Book> books;
public Genre(String genreName)
{
books = new ArrayList<Book>();
}
public ArrayList<Book> ...
0
votes
0answers
7 views
magento version > = 1.9 have reported a Fatal error while sending out Confirmation mails
i am fetching issue in magento version > = 1.9 . Fatal error while sending out Confirmation mails.
Fatal error: Call to a member function getAllItems() on a non-object in ...
0
votes
0answers
3 views
Import space separated file
I am new in VB Script.
Can anyone please help me in below.
I have one space separated file. I want to import this file into database.
Sample data
device_name="Text Data" d_id=7454579598 ...
0
votes
1answer
7 views
Reloading closed jupyter notebook
Was trying to run the code in jupyter which runs fine:
import time
for i in range(10000):
print(i)
time.sleep(1)
After it prints to around 1,2,3,4,5,6 , I decided to close the browser.
...
0
votes
0answers
14 views
How to fetch data from database,store it in a variable and perform arithmetic operations?
Here I have created one product table and one order table.I want that as soon as order is placed,product id is entered the product name and price will be shown on the form,and as soon as quantity is ...
0
votes
0answers
4 views
WCF Error “A circular reference”
I use EF6.1.3 code first and WCF
When Use Include function, Get error "A circular reference"
using (var db = new AvanEntites())
{
db.Configuration.ProxyCreationEnabled ...
-1
votes
0answers
4 views
Fill multiple form fileds on popup window closed in php
I have developed a web page with few fields incorporated. There is a listbox which opens on clicking a hyperlink. There are multiple options to choose from. When one hyperlink in clicked its value is ...
0
votes
0answers
20 views
HashMap multiple keys to one element
I couldn't think of a better title to the problem but my question isn't really with mapping two different keys to one value. I know how to do that. My question is, is there a way to have a specific ...
-1
votes
1answer
8 views
Error: $injector:modulerr Module Error angularjs
I am just learning angularjs, with the following code I have been getting this error ==> Error: $injector:modulerr
Module Error
Here is the code, what is going wrong here?
<!doctype html>
...
0
votes
0answers
5 views
Linux Apache PHP :ERR_EMPTY_RESPONSE
Apache and PHP are installed right now.
I test my php code which is right on windows.
Chrome report page can not load:ERR_EMPTY_RESPONSE.
It seems $_POST do not work.
note.php
<?php
...
0
votes
0answers
8 views
Capture screenshot from html page, upload to server, and use it as picture in FB feed
With my Meteor js app, my goal is to somehow capture an html page into an image then use it as the display picture in facebook feed dialog.
I did the first part of my goal using html2canvas script, ...
0
votes
1answer
5 views
Are there any ways that can increase logcat buffer size?
I am using 'adb logcat -d > xx.txt' to dump logcat into a text file. But it seems that the logcat buffer is limited, i.e. it will only catch some end parts of the logcat. Are there any ways to ...
0
votes
2answers
12 views
Convert a char array to an int to stop program
I'm creating an edit distance program that takes in two string pointers and returns the edit distance between them. The only issue I'm having is ending the program. Basically when the user enters -1 ...
0
votes
0answers
7 views
PHAsset doesn't reflect change after PHAssetChangeRequest completes
In the docs it says:
After Photos runs the change block and calls your completion handler,
the asset’s state reflects the changes that you requested in the
block.
However, inside the ...
0
votes
0answers
4 views
Export LogCat in Android Studio with application column
I am using the Android Studio Device Monitor and can mark entries to export (using the save icon). A .txt file will be created.
However, it does not contain the columns PID, TID and Application. Is ...
0
votes
0answers
5 views
calling getMaxAmplitude returns 0
I am creating a project in witch I have to find the loudness of recorded sound. No matter how many times I call getMaxAmplitude () it always show 0 and by writing amplitudeDb it always shows ...
0
votes
1answer
23 views
What is the difference between two ways of defining object methods in Javascript?
While reading this article https://medium.com/javascript-scene/the-single-biggest-mistake-programmers-make-every-day-62366b432308 by Eric Elliot, I came across the following type of object method ...
0
votes
1answer
6 views
Format float to string two or less decimal places in objective c
[NSString stringWithFormat:@"$%.2f", n] gives me $25.01 when n is 25.011; That is what I wanted. However, what I want is when n is 25, it gives me $25 instead of $25.00. and when n is 25.1, it gives ...
0
votes
0answers
4 views
MySQL query with a sub-query disconnects before finished
Given four tables in two databases, a and b
a.civicrm_contact
a.civicrm_group_contact
a.civicrm_group b.node
d.node
In the following code, a is the default, da2012_civicrm. b is daweb2012_drupal
...
0
votes
0answers
12 views
MainActivity is not opening via intent from LoginActivity while working properly when MainActivity is main Launcher Activity
Login Activity
Main Activity
In above when i make LoginActivity as Launcher activity then LoginActivity doesn't run. It make the screen splash and closed unfortunately. While i make MainAcitivity, ...
0
votes
0answers
8 views
static boolean in struct set to wrong value on startup Swft 2.1 iOS
I am working on an iOS app and persisting data using NSKeyedArchiver and then loading it using NSKeyedUnarchiver. In a struct titled "WorkingData" I have a static variable named firstLaunch that is ...
0
votes
0answers
6 views
Unexplainable Error System.Runtime.InteropServices.COMException
It has been more then 12 hours i am working on this but i cant a solution for it.
What i am basically trying to do is that i need to show a selected file's name in explorer in my form. Like if i ...
0
votes
0answers
7 views
RecyclerView's row is shuffling and change Images : android
I have 2 issues
When My Recycler View is scrolling Up and Down it changes it's row position and also it's containing Image.
When I am Checking this || "text.startsWith("RT")" || condition to hide ...
0
votes
0answers
3 views
String problems for easy68k
I am looking for some help with a 68k program I am creating. I was wondering how to print each line separate string that i have defined as:
str
dc.b ' # '
dc.b ' ...