Hi guys,
may i know how do i set the number of feeds displayed on a word press blog?
for instance, i used
http://beautifulreminisciencezz.wordpress.com/?feed=atom&year=2009
But it returns me only ten results.
For blogger, I know the query parameter is 'max-results'
However,t here's nowhere in wordpress where they mentioned the query parameters for this.
Anyone have any idea?
How do you take a value of an option in a select form and use it for a if else statement?
for example if apple is selected as an option then write to the document how to make applesauce but orange is selected then write how to make orange?
so far I have a basic form and select options and I know how to do the document.write but I dont know how to use a select form with if else
thanks for the help
Hello,
I'm a matlab newbie, and i'd like to superpose some hist fit on a same figure.
I know the function histfit, but unfortunatly i can't get to remove the hist and only keep the curve.
I guess once i'll know how to do that i'll be able to add several curves using "hold on".
Thanx for any answers or advices!
I know that I can retrieve "session" by using item.fields.name but what if I don't know in advance that the attribute is called "name". How can I retrieve the list of the attributes names in fields first.
[
{
"pk": 2,
"model": "auth.group",
"fields": {
"name": "session"
}
}
]
I'm a total beginner with my first programming assignment in Java.
For our programming assignment, we will be given a .txt file of students like so:
3 345
Lisa Miller 890238 Y 2 <-(Number of classes)
Mathematics MTH345 4 A
Physics PHY357 3 B
Bill Wilton 798324 N 2
English ENG378 3 B
Philosophy PHL534 3 A
Dandy Goat 746333 Y 1
History HIS101 3 A"
The teacher will give us a .txt file on the day of turning it in with a list of unknown students.
My problem is: I have a specific class for turning the data from the file into variables to be used for a different class in printing it to the screen. However, I do not know of a good way to get the variables from the input file for the course numbers, since that number is not predetermined. The only way I can think of to iterate over that unknown amount is using a loop, but that would just overwrite my variables every time. Also, the teacher has requested that we not use any JCL classes (I don't really know what this means.)
Sorry if I have done a poor job of explaining this, but I can't think of a better way to conceptualize it. Let meknow if I can clarify.
Edit:
public static void analyzeData()
{
Scanner inputStream = null;
try
{
inputStream = new Scanner(new FileInputStream("Programming Assignment 1 Data.txt"));
}
catch (FileNotFoundException e)
{
System.out.println("File Programming Assignment 1 Data.txt could not be found or opened.");
System.exit(0);
}
int numberOfStudents = inputStream.nextInt();
int tuitionPerHour = inputStream.nextInt();
String firstName = inputStream.next();
String lastname = inputStream.next();
String isTuitionPaid = inputStream.next();
int numberOfCourses = inputStream.nextInt();
String courseName = inputStream.next();
String courseNumber = inputStream.next();
int creditHours = inputStream.nextInt();
String grade = inputStream.next();
To show the methods I am using now, I am just using a Scanner to read from the file and for Scanner inputStream, I am using nextInt() or next() to get variables from the file. Obviously this will not work when I do not know exactly how many classes each student will have.
I know how to make a new branch that tracks remote branches. But how do I make an existing branch track a remote branch. I know I can just edit the .git/config file but it seems there should be an easier way.
EDIT It looks like this can't currently be done in a convenient way with the current (1.6.1.x) version of Git.
UPDATE Git version = 1.7.0 supports this. See the accepted answer
Last year I heard that Installer Projects were going away and we should be switching to Windows Installer XML. Whatever happened with that?
So youknow where I'm coming from, support for TFS-based buil machines is very important to me. I know Installer Projects kinda-sorta work with TFS, but they have issues.
I know the center (x,y) coordinates of a subarray in terms of the subarray space and general array. For other parts of the subarray I also know the coordinates in the subarray space - but I want to find the coordinates in the general array? Is there an elegant way to do it in Matlab?
There is a master subversion repository that I've cloned a git repo from. I've got a lot of ignored files in my .gitignore that I'd like the svn repository to know about.
I know that I can use git svn show-ignored to pull the ignored list from subversion, but how can I do the reverse? Send a list of files to be ignored back to the svn repo?
Git version (and git-svn is at the same version):
git --version
git version 1.7.0.5
We're trying to script a cad program, and this is the example for controlling the date in our design slugs, but I don't even know what language it is to know what to do with it.
! LIBEDATE
def &d$ &ret$
set &d$ = rstr(`/`,` `,#d$);
set &ret$ = word(&d$,2),`/`,word(&d$,1),`/`,subs(word(&d$,3), -2, 2)
Does anyone know where Drupal stores, in the Database, the role of a user? It's not in the users table, and I can't seem to find it. I can find where it defines the role, defines the role's permissions, but I can't find where it defines what Role a certain User is. Anyone know? Thanks!
Hi,
As you all might be knowing that Paypal has launched an in-App purchase model for Anroid. I will like to know whether this is legally allowed in Android market or not.
I know this may not be the best place to ask this but being developers if anyone has developed an application which uses Paypal In-App and is on Android Market then it would be a great help.
Regards
Sunil
how do I install silverstripe on sourceforge for a project. I know I need a synlink...but I don't know how to?
I have a htdocs folder that is read only (once on the server) that I can access via sftp
it is accsesable via url
I have a persistent folder that is rightable (once on the server) that I can access via sftp
it is not accsesable via url
I have a mysql credentials that are accseped during install but can't be finished because of no right accsess
Does anyone know good example of using CSS to create rounded corner box where:
All 4 corners and 4 sides are image. The sides have repeated img
The width is constant while height is flexible
Work all in FF 3.x, IE 7 or higher, Chrome
Let meknow. Thanks
As you all know, when we hit the refresh button, the entire page starts to reload. But I dont that, I only want to refresh some portions, which need to be refresh in case of a need.
I know, I can use ajax to reload a piece of content. But I want to attach this ajax function while the user clicks the refresh button or presses F5 or presses Ctrl+F5.
Looking to implement a solution on a web application but don't know if it is possible. If clicked the menu would take you to the full page with slide(Left to right / right to left).
Doe's anyone know of a solution to this problem?
I've heard that Windows Mobile will broadcast a WM_CLOSE message to all inactive (?) windows if system memory falls below a certain threshold. I think I'm seeing this occur with my app too. But I cannot find any documentation to confirm this. Anyone know about this? Or know where I can find doc on it?
Thanks for any help.
I've been using puttycyg as a Cygwin terminal for my rails development. I've set up a git repository on a project management website and now I want to push my code to it with the following command:
git push origin master
I'm getting the following error:
error: cannot run ssh: No such file or directory
fatal: unable to fork
I know ssh is used for authentication but I don't know if I need to set anything up to use it.
I'm trying to develop an algorithm that identifies all possible paths between two nodes in a graph, as in this example.
in fact, i just need to know which nodes appear in all existing paths.
in the web only got references about DFS, A* or dijkstra, but i think they doesn't work in this case.
Does anyone know how to solve it?
I want to know if my server is running suberversion 1.5.
How can I find that out?
Also would be nice to know my svn client version number.
svn help. Hasn't been helpful
Note: I don't want my project's revision number, etc. This question is about the subversion software itself.
I would like to know, what is the difference between two statements, these may be simple
String ss="myname";
char[] charArray = ss.toCharArray();
for ( char character : charArray )
{
System.out.println( +character );//Statements are here what does plus refers here:
System.out.println( character ); //Statements are here:
}
I got the output for the code no errors but little doubt on how it works? What happens here?
If you would down vote let meknow the reason please ,
Thanks in advance
Hi everyone,
I would like to make a subview appear at a requested point on screen. ex: i tap at (200,200) , my subview appears with animation under the point tapped. i know how to get the point , but I don't know how to make this subview appear right there at that point.
Thanks!
Hi guys,
Is there currently a way to programatically determine from within a Silverlight app the maximum number of concurrent connections that the browser will allow? I know I can do this on the server then pass it as a parameter, but I would like to know if its possible in Silverlight.
This is for all versions of Silverlight including Silverlight 4 RC.