All Questions
0
votes
0answers
2 views
Restrict environment variables to command when cross compiling Golang program on Windows
I'm cross compiling Golang programs on Windows for Linux, using:
go build -o myprog.bin myprog.go
To do so I have to set the environment variable GOOS=linux. As I'm also compiling some programs ...
0
votes
0answers
2 views
Add a method to the setup of a Moq test
I am trying to get my headaround moq and mvc. I have setup a moq and added a valid Setup to it.
My test to call my interface.
var id = 2;
var customer = new Customer()
{
...
-1
votes
0answers
7 views
How to use conditional formatting with two coditions
Hi I am new to this forum and need some help!!!
I need help writing a formula the column numbers are a,b,c,d.
So if column a=c and if b=d then turn the cells green. If the date and amount do not ...
0
votes
0answers
3 views
Netbeans Hibernate w/ postgreSQL can't saveOrUpdate
my netbean hibernate can't saving table in postgreSQL with no error, i have search in google but i got stuck in this sa
Blockquote
ving problem.
this is my table:
CREATE TABLE tr_finger
...
0
votes
0answers
5 views
How do you create a user signup form using the parse.com JavaScript SDK?
I am having trouble creating users using an HTML form and the parse.com javascript SDK. The HTML code is this:
<form id="newuser">
Username: <input type="text" id="uname">
Password: ...
0
votes
0answers
2 views
Why should I pass make -j an argument? (rather than leave it blank)
I have seen a lot of discussion about what is a good value of X to pass to make when you are running
make -j X
Usually, people assume X ought to be a function of the number of cores on the system. ...
0
votes
0answers
9 views
How can I fit my iframe in the entire page instead of using the scrollbar
I was wondering how I can fit my iframe into the entire page instead fo having a scrollbar. The height is set to 100% and the iframe load correctly. But when it loads it loads with a scrollbar instead ...
0
votes
0answers
4 views
Nested ng-repeat on dynamic data
I have two arrays of objects. One contains all distinct items with respective item details - the other array contains owners of these items. For example owners[itemid].ownerName would be the name of ...
0
votes
0answers
3 views
Force action bar item into overflow
In my app, I have two menu items, one a settings icon and the other a string of text "Quick Sites". This "Quick Sites" text takes up alot of space on the action bar. This isn't a problem on tablets ...
0
votes
0answers
5 views
Analyzing pixels in pictures
I want to write a program that takes in a picture (or a series of pictures) and counts how many pixels of certain colors there are.
I've never done anything like this before so I don't know what ...
0
votes
0answers
3 views
Progress bar removing grey
I'm not entirely sure if it's possible. But I'm trying to remove the grey area of this progress bar:
progress, progress[role] {
border: none;
background-size: auto;
height: 24px;
...
-2
votes
0answers
13 views
How to check if there is such x (in X) for which y is 'false' and then mark the whole set X 'false'?
For example, I have 2 char arrays and I want to compare them. If even one of chars doesn't match (is marked as 'false'), program should return 'false' for the whole array.
0
votes
0answers
2 views
Using RestTemplate in Spring. Exception- Not enough variables available to expand
I am trying to access the contents of an API and I need to send a URL using RestTemplate.
String url1 = ...
0
votes
0answers
3 views
Route to controller without an action or ID in the URL
I have the following routes, and 2 controllers "Home", "Properties":
routes.MapRoute(
name: "DefaultWithNoActionInUrl",
url: "{controller}/{id}",
defaults: new { controller = "Home", ...
0
votes
0answers
3 views
Is there an equivalent of AffineTransform.createTransformedShape(Shape) in JavaFX?
In JavaFX 2.2, it seems like you can't do much with Transform objects except add them to Nodes. In particular, there's no algebraic operations so that you can compose one transformation with another.
...