I'm doing custom-rolled view tracking on my website, and I just realize that I totally forgot about search bots hitting the pages. How do I filter out that traffic from my view tracking?
I want to add some custom javascript functions to my design document, I can't find any examples of how to actually add these functions to the "lib" section of a design document. Can someone show me an example of how to add a function definition to the "lib" section?
Hi,
I have created a user control ( custom data grid view control). I have used the code specified at MSDN [site][1]
[1]: http://support.microsoft.com/kb/316574 to set the border style .
I am able to see the selected border style in designer. Like None, FixedSingle or Fixed3D.
But when I set the border style to FixedSingle, the border does not appear at runtime. Do I need to draw it manually in the OnPaint method?
Hi. I'm writing a game in C++, and I'm trying to get it to recognize keyboard and mouse events. Google tells me that boost.signal is suitable for event handling, but none of the code samples or tutorials I've found tell me how to associate a keypress or mouseclick with a function. Can anyone shed any light on this?
I was wondering if there is a way to do an effect similar to this, except that instead of using images, I would use custom divs? I tried, replacing the img tag in that page to a div tag but it stops working. Any suggestions?
I am going to develop an Iphone application which will parse the RSS feeds and display the items in my custom cell.(Cell containing the image, label, description, etc).
Can somebody please help me?I would be sooo happy if somebody can help me!! Thanks so much!
I am using BubbleEvent to give events from a web user control to its parent (which is a Default.aspx with code behind page).
I would like to use BubbleEvent to not only pass the sender and event, but also an integer or another variable.
Is there a way to add a parameter to the BubbleEvent, or is there a different way I should be approaching this?
Are there any APIs or libraries that make it easy to generate a calendar for a certain month/year? I need to have some sort of admin interface for a "event planner" part of a CMS for a local youth group and I'm at a loss as to how to generate a decent calendar.
Note: I only need something to generate the calendar HTML, not manage events. I'll be coding that part.
I wrote this code to subscribe to USB devices being plugged in and unplugged; the point is for IOKit to deliver notifications to my iAttached() and iDetached() functions when the corresponding events occur. However, I don't get notifications.
The code can be seen here: http://gist.github.com/402391
I didn't want to over-populate this page with it, as it is moderately long.
I'm moving my application from 3.x to 4.x as I prepare for the app store and found that I need to have 2 copies of all my custom pngs - my question is how can I determine what img to show and when. Example - how do I know to show the Find.png vs the [email protected]
Is it "safe" or "correct" to look for 4.x specific apis or does the iphone have a way to determine what platform you are on at runtime?
Thank you in advance
In our oroject we already have a lots of tables (100+). Some of them contains a lot of columns (50-100) and we are facing the need of adding more columns from time to time.
What do you think is best - from maintenance and performance point of view - to split these huge tables in smaller entities or to keep the tables the way they are ?
We are using an ORM tools, so we don't need to write custom request.
We used to be a Coldfusion development shop before hopping over to PHP in 2008, now we primarily develop custom Drupal websites.
I enjoyed going from CF to PHP, but I feel like I am getting a bit stale.
I have been looking at different things like Ruby, Python, Obj C (iPhone). The problem is, there just isn't enough time in the day.
What would be a fun new thing to learn that would refresh me a bit and challenge myself to learn more?
What is the correct/best way to create a menu with hotkey shortcuts?
I simply want a File menu like Visual Studio's that has New, Open, Save, Save All, Exit, and a few other standard shortcuts.
It seems that InputGestureText displays the appropriate text, but since it's called "Text" and doesn't seem to trigger events, I'm going to assume that isn't the right way to do it. The Command architecture also seems fairly bulky, so I don't want to head down that path if there is a better way.
How can i detected WebBrowser complete loading?
i tried to use Navigate and DocumentCompleted events but both of them raised a few times during document loading!
I've got a custom colour set in Visual Studio and one of the colours when debugging is making things a bit of a misery. Unfortunately I can't figure out which one it is, and when going through and changing all the light background ones, it still remains.
Can anyone point me in the right direction? In this screenshot the current line is yellow, and the caller is the white/cream sort of colour which is the one I want to change...
Thanks very much! :)
Hi Guys,
How do you specify a custom view script for a given Controller Action method?
For example:
Class UserGalleryController extends Zend_Controller_Action
{
public function fooAction()
{
$this->view->actionMsg = 'foo';
// (uses foo.phtml automagically)
}
public function barAction()
{
$this->view->actionMsg = 'bar';
//use foo's view script ?????
}
}
I basically want to have one view script (foo.phtml)
Thanks :-)
As an ASP.NET developer, I'm used to working with how VS/C# transparently autogens proxy classes for web references (yes, I know, we're spoiled), but now that I'm creating documentation for more than one coding platform I'm trying to discover what the equivelant to that is in any other framework.
So is there a similar way to work transparently with web reference proxy classes for say, RoR, PHP, and Python?
And if there's nothing integrated, are there tools you recommend to autogen the proxy classes, or do you recommend to roll custom classes?
Hi, how do most of antivirus software block file system io in case of an infected file? I suppose all the magic resides in some custom kext to do that. Can anyone point me to some topics on this? Some working example would also be great. I've read apple docs about kext development, but mostly it's all about hardware drivers and i could not find what i need.
Thanx.
I'm currently putting the finishing touches to an application for a client, this application sends daily emails to subscribers, is it possible to add custom headers to the email so that certain variables can be tracked, like day number (X-Day-Number) etc...
I'm working on an events website so dates are very important search terms, ie: 'whats on on fri 14th september'
I've seen it done in various methods for example:
domain/whats-on/city-hall/14-09-2010/event-name.html
domain/whats-on/city-hall/2010/09/14/event-name.html
the first is 'shallower'.
the second could be clearer for google to synonym-ize as a date,
has anyone else got any experience or input?
I have the following problem:
I make a custom hosts file to test some features of my application and then push it to my android emulator.
The thing is that these settings do not take effect immediately. I have to wait about 10 minutes before they become active.
So my question is: how to make the new hosts file active instantly? I have many different settings to test and I can't wait 10 minutes every time.
I am developing a game. In which, i want do set different vibration intensities for different events. I just want know if its really possible to control the vibration intensity and duration. Any advice or reference links, could be very helpful. Thanks in advance.
Is there an easier/better way to access the RequestContext from within a custom Membership Provider than the following (and further, will this method even work):
private static RequestContext GetRequestContext()
{
HttpContextBase contextBase =
new HttpContextWrapper(HttpContext.Current);
return new RequestContext(
contextBase,
RouteTable.Routes.GetRouteData(contextBase));
}
I know how to add to clipboard with JavaScript, but what I want now is TechCrunch clipboard trick;
when someone copies some text ( ctrl+c, right click copy, clicking on a copy link on-site ), additional text is added to the clipboard ( like "this text was copied from ... ).
I know they use Tynt, but don't really know is this a feature you get with it or custom coded?
is there a way to make mod_rewrite redirect all urls contain the following request:
?do=page&f=*
to a specific page? for example:
http://example.com/index.php?do=page&f=2
http://example.com/index2.php?do=page&f=4
http://example.com/page.php?do=page&f=22
to:
http://example.com/custom.php