What is the most complex expression you've seen/used ?
and what's the limit on the length of the expression that can be used ? I seem to recall something to that effect a while back but can't locate it now !!
Hello,
how could I remove all charakters from a string that aren't a-z/A-Z and 0-9 and _ with PHP?
I tried that but it has no effect, it returns the same string back:
preg_replace('[^a-zA-Z0-9_]', '', 'Testdo123_-:=)§%&');
Hi,
Does order of the columns in an Index definition for a table in a database has any effect on the performance?
for e.g. are these two queries different ?
CREATE INDEX xxx ON tablex(col1,col2)
CREATE INDEX xxx ON tablex(col2,col1)
what about the in case that I use a BTREE index?
I am using Mysql.
thanks
Hi,
I'm looking to add a centered magnifying glass icon to my portfolio gallery.
Like the effect at http://jquerystyle.com/gallery.
I know I can do this with css at each instance, but I would like to find a way to do it automatically. Any jquery plugins that do this?
Thanks!
I’m currently working on this theme : http://tf.ffffffive.com/fancy/
I just need a few pointers on how to get it working in IE6 and IE7 .
-The positioning is a bit off.
-If you guys have a helpful blog post of maybe give me a hand with some CSS coding I would really appreciate it.
Also the Javascript scrolling effect isn't working correctly due to the positioning. Any tips would be appreciated.
Thanks, Henry
So I have image on my html page. I want uipdate it 14 times per second smoothly (with some default Jquery effect) (update image with one from URL same as image has ... or refresh if it sounds better) How to do such thing?
Using two ScriptManagers(ASP.Net and Telerik) will effect the page performance ?
I have both ASP.Net and Telerik Controls on the same page and I'm using both ASP.Net and Telerik Script managers. Can I avoid using one script manager ? How will the page performance is varried if I use two script managers ?
and
Refering Source/SCript files in one Script manager can be used accross the other controls ?
Situation: I have this log4j logger:
private static final Logger logger = Logger.getLogger(ThisClassName.class);
And am trying to set it programatically through:
Logger.getLogger(ThisClassName.class).setLevel(Level.DEBUG);
Still, DEBUG level prints are swalloed (while INFO prints are printed successfully).
Even this bit has no effect: Logger.getRootLogger().setLevel(Level.DEBUG);
Calling logger.debug("foo") reaches Category.forcedLog() and ConsoleAppender.doAppend(), and then fails (quits) at:
if(!isAsSevereAsThreshold(event.getLevel()))
Any idea why this is happening?
I'm generating a dynamic number of Google Charts tables after receiving the content through an ajax request and I wanted to apply an accordion effect on them. I wanted to know if I could do that with directives (since if I just code render the angular tags they won't get interpreted).
I don't need a code example, just a short answer to see if I should learn directives or if I should do it in a different way (I was thinking routeParams).
Thanks!
wow i thought i knew python untill tonight.. what is the correct way to do something like this.. heres my code
a = ["one", "two", "three"]
b = a #here i want a complete copy that when b is changed, has absolutely no effect on a
b.append["four"]
print a #a now has "four" in it..
so basically i want to know, instead of the b = a step, how would i correctly make a copy of a list or dictionary so that when b is changed a does not change along with it.. thanks guys
What could be the Consequence of inserting "id" in any autoincrementing 'id' containing table?
If I have a Tabe in which I have configured the column "id" as the auto incrmented, But still I am using an INSERT query in which id is defined, like wise INSERT INTO XYZ (id) values ('26');
How does it going to effect the table and the process related to it..
Is it "no issues" to do this? or it should be avoided?
i want to find a webapp framework for validation user , store user,
and has ajax Effect of jquery ,
so ,did you know this simply framework ?
thanks
like this page : http: //digu.com/reg
scrollViewDidEndScrollingAnimation and scrollViewDidEndDecelerating
Looks like the last one is called when the bouncing effect is finished. But can't really understand what's the difference between first because they are called same time(well, decelerating called first).
On the iPhone, how could I achieve the same tiled background effect?
For example, I have an pattern image which I want to repeat only horizontally. Would I have to go the route in -drawRect: by myself and loop over to draw the pattern, or is there a convenient method to do that?
Hi I am trying to achieve the same effect as it is on hover on my fiddle,
I would like to use jquery click/toggle to expand the content instead of seeing it on hover
I am trying the basic addClass with jquery/css but somehow it's breaking off and cannot figure it out how to work properly
Would appreciate any help or advice on the following, thanks a lot in advance,
here is the fiddle i created with the jquery I am using
$(document).ready(function(){
$(".gamewrapper").click(function(){
$(".gamewrapper").addClass("expand");
});
});
Thanks
In Eclipse, the Java Method Override Indicator is the little upwards arrow next to a method in the Type Hierarchy view.
A solid arrow means a method overrides an existing method lower in the hierarchy.
What does the hollow arrow mean?
Do annotations effect either arrow?
If I have a MovieClip with its "visible" property set to "false", would it aid performance to "stop()" its timeline? Or will that have no effect, since its not being rendered, anyway?
hi! :)
anyone know if is possible to reproduce this effect
background-image: -moz-linear-gradient(top, #666666, #000000);
background-image: -webkit-gradient(linear,left bottom,left top,color-stop(0, #000000),color-stop(1, #666666));
also on ff < 3.6?
im tryin' to generate a gradient background without images!
thanks a lot in advance for any advice.
I cannot SSH into my instance - Operation timed out. What could be the reasons why, and what can I do to resolve it? Rebooting normally takes a long time to take effect, and might just makes things worst
UPDATE: It is not about permissions - i can log in normally just fine. I suspect it might be because of memory issues
how do you effectively debug on live server in rails, whether on a beta/production server?
I tried modifying the file directly on the server, and restarting the app, but the changes does not seem to take effect, or takes a long time to (caching?)
I also tried to do "script/server production" locally, but that is very slow
The other option is to code and deploy, but that is very inefficient.
Anyone has any insights as to how they do this efficiently?
Whenever the url contains the div id, it would obviously go down to the div when the URL has:
http://domain.com.faq.php#1
<div id="1">Bla bla bla</div>
But what I like is to have same feature of Stackoverflow, when you click on an answer in your messages, it will scroll down to the page and has that fadeOut effect on the answer.
How do I do this?
I want to be able to show information (HTML basically) over an image when the mouse rolls over the image... I know there is a .hover() jQuery function but am unsure how to use it to get the desired effect.
Ideally when a user hovers over an image it would "grey out" (e.g. layer of 50% opacity black) with some HTML like a title etc etc.
Can someone point me in the right direction or provide sample code
Thanks
I want to do a effect like the switching windows from Win 7 [Win]+[Tab] keys pressed.
I created two "windows" (movie clips) and when I click on the 1st it displays on top of the other, but the problem is when I click on the 2nd I can see the 1st one displayed in it. Is there any way that i put a movie clip on top of the other.
Thanks
Hello!
Is there any way to obtain this effect in a PHP version prior to 5.3?
class A {
public static function x() {print 'ok'; }
}
$className = 'A';
$className::x();
Thanks!
Palantir