|
You are now beatboxing
2.0
Answer Snippets (Read the full thread at tribalwar):
Alright
rep for this oh yea is that why black people are so good at it? alright
rep for that http://www.youtube.com/watch?v=gAHIoIs8mfo its free, swipe yo' EBT
also, lol at that vid ( ***8226;_***8226;)
( ***8226;_***8226;)>***8976;***9632;-***9632... .
|
|
Anyone know if there is way to time various service checks per host?
So for example, if I have hostA and 5 different services checks for that host. Each of those checks happens every 5 minutes. Can I make so I have a check every minute or so, instead ...
Started by Kyle Brandt on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
A "dumb" delay of 1 second between checks # s = Use "smart" inter-check delay calculation # x.xx = Use_inter_check_delay_method is more of a global setting and doesnt have the host level granularity with the service_inter_check....
|
|
Is there difference in speed between Dictionary.ContainsKey/Value and a foreach loop that checks for a certain key/value ?
Started by Omu on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
This method performs....
ContainsValue is like a foreach loop.
ContainsKey is faster :
This method approaches an O(1) operation.
As for ContainsValue, I can't tell for sure, but I think there won't be much difference to a loop .
ContainsKey is nearly O(1).
|
Ask your Facebook Friends
|
Hi,
Is there any way to configure postfix to skip spam/antivirus checks for those smtp connections that are SMTP-AUTH'ed? I would like to keep all the standard checks for external smtp traffic, but for my local users sending emails I would like to skip...
Started by Michal Rogozinski on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
There is probably a way to have your spam/virus scanning to be included in the smtpd_*_restrictions... .
check_sender_access pcre:/etc/postfix/content_filter.pcre
Do not set content_filter= in main.cf!
/etc, without running any further checks.
|
|
Hi, can someone please give me abit of advice, im living in a private rented house with my 3 children aged 6, 2 and 1,i have been here since april 2007. i started out with a 6 month tenancy agreement which never got renewed, the house now is very damp...
Started by mummyslilmonkeys3 on
, 16 posts
by 6 people.
Answer Snippets (Read the full thread at moneysavingexpert):
GM correctly.
There is no requirement for smoke alarms
* there is no requirement for an electrical check checks or smoke alarms by law - nice to have a LL that does, but not a requirement.
|
|
I want to create an NSIS installer that checks for the .NET Framework and installs it if it's not there. Can you point me to a script for this? I'm very new to NSIS.
Started by omgwtfbbq on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Silent install of the .NET Framework
Redistributing the .NET Framework 2.0
This is how I deal... .
You don't mention which .Net version, but an alternate solution would be to install it silently .
Try this one.
There are several examples in the NSIS wiki.
|
|
How do I write an IF statment in php that checks a database for $varialbe and have it only perform the action if $varialbe is not already in the database.
Answer Snippets (Read the full thread at stackoverflow):
You can also add UNIQUE index to the table column you want to have only unique values
if (! DBA::RowExists... .
You can count number of items in database by SELECT count(*) FROM table WHERE field=? query, and then insert record if there is no such records .
|
|
Is there any datatype /container in any language which checks for the uniqueness of the content than the value or index before inserting the item?
Started by Lakshmi on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Depends....
Filenames on Filesystems.
Sets in Python.
SQL with a UNIQUE field.
Most languages implement them in some form.
Yes, it's called a set.
The problem with that is that the value can be ANYTHING so that's very open ended and not always pratical .
|
|
I like to have a batch file which checks if an entered text in a .txt file is the same.
Something like this...:
@echo off Set pass= set /p pass=Enter your password:
the .txt file is pass.txt and it should look something like this:
p2342ddd3
So what i ...
Started by YourComputerHelpZ on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
This will require a combination of a for loop and simple if:
@echo off :begin set pass= set /p pass=Enter your password: if {%pass%}=={} goto :begin set authenticated= for /f "tokens=*" %%a in (pass.txt) do ( if {%%a}=={%pass%} set authenticated=true ... .
|
|
What is the best mechanism for preventing constraint violation checks before creation | modification of an entity?
Suppose if the 'User' entity has 'loginid' as the unique constraint, would it be wise to check if there is an user entry already with this...
Started by Joshua on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Disc access etc
You would generally perform this check in your business logic before calling for....
In your case a UserExists method to things outwith your control e.g .
My advice is that if you can check a condition then check it i.e.
|