I have the most basic jquery function of them all, but I couldn't find a way in the documentation to trigger the contents of this click function after say 1500 milliseconds:
$('.masonryRecall').click(function(){
$('#mainContent').masonry();
});
P.S. just noticed the .delay function jquery 1.4, although, I am using version 1.3. I don't know whether updating this would interfere with any of the other javascript I currently have.
Android Code Style Guide defines "Android Code Style Rules".
To conform to these rules one have to change quite a number of settings of the Java Code Formatter (Window-Preferences-Java-Formatter) default profile (in Eclipse IDE).
Did anyone managed to configure the formatter to follow the "Android Code Style Rules" already?
If yes, please export the Formatter profile and publish to be used by community.
PS: I've tried to do this myself but I've found that there are too many formatter options available, and most of them are not mentioned in the Code Style Guide :-(
I want to write an encoder with ffmpeg which can put iFrames (keyframes) at positions I want. Where can I found tutorials or reference material for it?
P.S
Is it possible to do this with mencoder or any opensource encoder. I want to encode H263 file. I am writing under & for linux.
I want to disable the capture tone of my nokia E71,but there isn't disable option in the configuration,only four types of tone to select.
Is there a method to do this?
PS,I know some other phone has capture tone disable option.
I've written a simple JS function that places the cursor at the end of the contents of an input box when it receives focus (the most common action in the box being to append). I haven't checked in IE, but when there is more text than is visible, even moving the cursor to the end of input doesn't scroll the view to the end of input in firefox 3.6.
Any idea how to do this?
P.S. And no I'm not using JQuery, nor is it an option ;)
i have a panel in another panel and i want to access an member of the child panel from the parent panel. The child panel reference that is in the parent panel doesn't see all the members that it has. Thanks!
PS : the members i can't access are public
Hello,
I would like to get collection or list of Item objects, but I get array of arrays now.
Item[][] s = employees.Select(e => e.Orders.Select(o => new Item(e.ID, o.ID)).ToArray()).ToArray();
Can anyone select me solution to do it?
P.S. just LinQ solution :)
How can I do this with Firefox or Google Chrome?
ie = win32com.client.Dispatch('InternetExplorer.Application')
ie.visible = 1
ie.navigate('http://google.com')
Is there a way to do it?
ps: I need to use the ReadyState with it... for example while (ie.ReadyState != 4):, or in other words, I need some command that wait until the page loads completely until do the next command, that's why I need the dispatch, that currently work very good with IE
Hi,
How do you measure the memory usage of an application or process in Linux?
I've read here that "ps" is not an accurate tool to use for this intent.
Thanks,
Kenneth
Anyone know the right places to hook into ghostscript, so that when interpreting a ps file, I can get logs of all calls of the form:
draw_character(float x, float y, string font_name, int char_id); ?
Basically I want to take a postscript file, and get a list of where all characters are drawn to the screen.
Thanks!
Hello,
I sometimes do this in my shell :
sam@sam-laptop:~/shell$ ps aux | grep firefox | awk '{print $2}'
2681
2685
2689
4645
$ kill -9 2681 2685 2689 4645
Is there a way I can transform the multiple lines containing the PIDs into one line separated by spaces ?
(It's a little bit annoying to type the PIDs every time and I really would like to learn :) )
Thanks a lot.
I want to kill all the processes that have a certain name pattern
ps -A | grep php*
and then I want to pass the PID to the kill command
how do i do that?
Hi All mates!
This time ask you this question:
Assuming we have this img ( generated by php ) linked in clients sites
<img src="http://mysite.com/genimg.php?id=2" alt=""/>
Is Possible to get back from the client location some infos!? ( es. client url )
PS:
don't need something that open
the entire client page and search for link!
don't need something that work just if the link image is
clicked!
I found that links:
Microsoft .NET Framework 4 (Web Installer)
Microsoft .NET Framework 4 (Standalone Installer)
Microsoft .NET Framework 4 Client Profile (Standalone Installer)
Note that (2) the size is 48.0 MB and the (3) the size is 41.0 MB. It's not the REAL .Net 4 Full Standalone. :(
I want that installer in a usb pen drive because my app need of features of .Net 4 Full Framework (like MSBuild) and I will install in a enviroment without Internet access.
PS: I tested the (2) and really is the Client Profile with another name... :(
The Guinness Book of Programming Records. It is very interesting to know what we and our colleagues are capable of. I welcome you to tell us what is your best result/achievement and what are you most proud of as a programmer.
PS. There are over 6000 subjective and even more argumentative questions on stackoverflow: http://stackoverflow.com/questions/tagged/subjective. I don't see reasons to close this very interesting question. Please, vote to reopen it!
I am starting a new distributed project where some of the developers will not be in the same country... What should I use: Git or SVN?
Why?
PS. It is a smart client application running on windows and will be developed using Visual Studio
[UPDATE] And does it work on MacOS (Not required but interesting to know)?
Hey all,
We currently have a utilities class that handles a lot of string formatting, date displays, and similar functionality and it's a shared/static class.
Is this the "correct" way of doing things or should we be instanciating the utility class as and when we need it?
Our main goal here is to reduce memory footprint but performance of the application is also a consideration.
Thanks,
Matt
PS. We're using .NET 2.0
I am consuming various XML-over-HTTP web services returning large XML files ( 2MB). What would be the fastest ruby http library to reduce the 'downloading' time?
Required features:
both GET and POST requests
gzip/deflate downloads (Accept-Encoding: deflate, gzip) - very important
I am thinking between:
open-uri
Net::HTTP
curb
but you can also come with other suggestions.
P.S. To parse the response, I am using a pull parser from Nokogiri, so I don't need an integrated solution like rest-client or hpricot.
I 'm implementing my version of "ShareThis" in my webpage.
How can i get the client's browser displayed address with Asp.NET?
I am little confused with this one since the url to share...
1) is created with URL rewriting
2) contains Greek characters.
P.S. The client url is like example.com/e??????a/ß?ß??a
Hello,
I'm planing to learn python this weekend. I have some programing skills and should not be difficult if I take the good path.
I'm a sysadmin and I've been looking at python scripts since long ago, but now I would like to make python my scripting language, so I'll do the effort and next monday I will start using it.
Any advice on how to trace my own path to good python skills?
thanks.
PS: I will use vim, ypython and http://diveintopython.org
I'm looking for a library or existing code to simplify fractions.
Does anyone have anything at hand or any links?
P.S. I already understand the process but really don't want to rewrite the wheel
users table
+-----+-----------+
| id | username |
+-----+-----------+
| 1 | tom |
| 2 | jelly |
| 3 | foo |
| 4 | bar |
+-----+-----------+
groups table
+----+---------+-----------------------------+
| id | user_id | title |
+----+---------+-----------------------------+
| 2 | 1 | title 1 |
| 4 | 1 | title 2 |
+----+---------+-----------------------------+
the query
SELECT users.username,users.id,count(groups.title) as group_count
FROM users
LEFT JOIN groups
ON users.id = groups.user_id
result
+----------+----+-------------+
| username | id | group_count |
+----------+----+-------------+
| tom | 1 | 2 |
+----------+----+-------------+
where is the rest users' info? the result is the same as inner join , shouldn't left join return all left table's data?
PS:I'm using mysql
Is there a way to (easily) generate a HTML report that contains the tests results ? I am currently using JUnit in addition to Selenium for testing web apps UI.
PS: Given the project structure I am not supposed to use ANT :(
Hi guys:
I would like to seek your suggestion for the tool faciliate the multiple-browser testing of web site.
PS: ASP.NET is my current working environment.