Thursday, November 30, 2006
MX record
Wednesday, November 22, 2006
javascript - error object kiiratasa 1 sorbol
not_existing_method();
}
catch (err) {
for(var i in err){
Print(i + “: ” + err[i]);
}
}
Persze kell egy Print fv. is, hogy ez mukodjon.
obtrusive - unobtrusive
unobtrusive: diszkret, szereny, tartozkodo, nem tolakodo, nem feltuno
Tuesday, November 14, 2006
Software interview questions and answers
Saturday, August 12, 2006
Unidirectional Merge az SQL2005-ben
-Bidirectional
-Download-only to Subscriber, allow Subscriber changes
-Download-only to Subscriber, prohibit Subscriber changes
Azzal volt bajom, hogy barmelyiket is valasztottam az visszaallt Bidirectional-ra mindenfele figyelmeztetes nelkul. Aztan vegul itt talaltam meg, hogy mitol van ez:
“to take advantage of this property (@subscriber_upload_options) the subscription must be marked as a ‘Client’ subscription and not the default of ‘Server’ subscription (see below). If you leave the default ‘Server’ option, the subscriber will always be created as bidirectional.”
Saturday, August 05, 2006
LAMP
Linux, the operating system;
Apache, the Web server;
MySQL, the database management system (or database server);
Perl, PHP, Python, and/or Primate (mod mono), scripting/programming languages.
forras: wikipedia
Friday, July 28, 2006
Hosts file
Bovebben
aspfaq.com: Why won’t my session variables stick?
Mi a 4-esbe futottunk bele, azaz: “If you are using IE 5.5 or IE 6.0, and your local server name has an underscore or other non-alphanumeric character (other than a dash) in the name, then cookies will not work correctly.”
K. Scott Allen: Impersonation and Application_Start in ASP.NET
…impersonation isn’t “on” during Application_Start… Application_Start is an odd event. It’s not really a request related event, but of course it won’t fire until the first event arrives. The ASP.NET runtime doesn’t start impersonation until it begins to process the request in earnest. This event fires just before impersonation begins, during a time when ASP.NET is laying out the cocktail napkins and setting up for the party.
Friday, July 14, 2006
CAPTCHA
This article demonstrates how to create such an image and employ it within an ASP.NET web form.
Tuesday, July 11, 2006
episztemologia, echolalia
echolália: Kényszer a hallott szavak visszhangszerű utánzására.
Wednesday, June 07, 2006
K. Scott Allen: Build Failed With No Errors
Temak:
MSBuild maximum verbosity
Client Report Definition (rdcl) files
ReportViewer control;
Tuesday, June 06, 2006
Milan Negovan: Session_Start or Session_OnStart (event handlers in global.asax)
What if you define the following methods in global.asax (yes, all of them):
- void Session_Start(object sender, EventArgs e)
- void Session_Start()
- void Session_OnStart(object sender, EventArgs e)
- void Session_OnStart()
- void Session_Start(object sender)
Having these five event handlers, which one(s) will be called?
It turns out all of them, except the last one, will be called, and in the same order as listed!
Karl Seguin: HttpHandlers – Learn Them. Use Them.
Why use a handler?
First and foremost, HttpHandlers are far more reusable/portable than pages.
Secondly, the Page handler is relatively expensive… if you do that in a page you’ll end up raising a number of events (onInit, onLoad, onPreRender, onUnload, …) and make use of a number of ASP.NET features such as viewstate and postback. In most cases, the performance hit is negligible, but it nonetheless highlights that you’re using the page framework when you have no need to.
Why not to use HttpHandlers?
The biggest and very significant drawback of HttpHandlers is that they can only be used for extensions that are mapped to ASP.NET in IIS.
Wednesday, May 24, 2006
Leet - 1337
Thursday, May 04, 2006
Types of Cloning: Deep and Shallow
A lenyeg:
We can classify two types of cloning based on “how much” is cloned: Deep and Shallow. A shallow clone is a new instance of the same type as the original object, which contains a copy of the value typed fields. But, if the field is a reference type, the reference is copied, not the referred object. Hence, the reference in the original object and the reference in the clone point to the same object. A deep clone of an object, on the other hand, contains a copy of everything directly or indirectly referenced by the object.
Ez a System.Xml.XmlDocument ImportNode-janak deep parameterekent azt jelenti, hogy a az adott node childnodejait is masoljuk vagy azokat nem.
Thursday, April 27, 2006
\\\\ + c# + regexp >> \
In literal C# strings, as well as in C++ and many other .NET languages, the backslash is an escape character. The literal string “\\” is a single backslash. In regular expressions, the backslash is also an escape character. The regular expression \\ matches a single backslash. This regular expression as a C# string, becomes “\\\\”. That’s right: 4 backslashes to match a single one.
Wednesday, January 25, 2006
helyesirasi teszt
Az meg a kommentekbol derult ki, hogy ez a konyv kell.
Tuesday, January 24, 2006
Firefox 1.5-ben html height-ja fejbe vagja a body background-position-jet
Mit ir errol a w3c:
"If a background image has been specified, the value of 'background-position' specifies its initial position." ... "A value pair of '100% 100%' places the lower right corner of the image in the lower right corner of the element." es "'bottom right' and 'right bottom' mean the same as '100% 100%'" Az element pedig itt a body. Ebbol nekem ugy tunik hogy az 1.5-os viselkedik hibasan es nem a tobbiek.
Tehat a pelda:
<html>
<head>
<style type="text/css">
html {height: 100%}
body {
background-image: url(http://www.google.com/images/logo.gif);
background-position: bottom right;
background-repeat: no-repeat;
}
</style>
</head>
<body>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
<h1>Hello</h1>
</body>
</html>
Friday, January 13, 2006
Paul Graham: Never make users register
At Y Combinator we advise all the startups we fund never to lord it over users. Never make users register, unless you need to in order to store something for them. If you do make users register, never make them wait for a confirmation link in an email; in fact, don't even ask for their email address unless you need it for some reason. Don't ask them any unnecessary questions. Never send them email unless they explicitly ask for it. Never frame pages you link to, or open them in new windows. If you have a free version and a pay version, don't make the free version too restricted. And if you find yourself asking "should we allow users to do x?" just answer "yes" whenever you