Title says it all.
How can I, with iptables, log all IP connecting to a server?
As a little detail, I'd like to have only ONE entry in the log PER DAY PER IP.
Thanks :)
I've installed Ubuntu 10.04 (64bit) as a guest OS in VirtualBox, using Windows7 Professional (64bit) as host.
After Ubuntu install, I did installed Xfce4 (sudo apt-get install xfce4). Logged in using a Xfce session, and when I logged out, I couldn't see the login box anymore, only the regular gnome background from login screen.
Then I restarted…
A new track at TDC (The Developer's Conference in Sao Paulo, Brazil) is titled Open Data. It deals with open data, government and transparency. Saturday will be a "transparency hacker day" where developers are invited to create applications using open data from the Brazilian government. Alexandre Gomes, co-lead of the track, says "I want to…
Bonjour,
Comme chaque année, durant le week-end de Pâques, des centaines de passionnés se regroupent dans un gymnase, PC sous le bras pour assister au plus grand rassemblement de la demoscene : Revision.
Voici un petit retour sur l'événement et un récapitulatif des démos réalisées pour l'occasion et diffusées sur écran géant :
…
Hi
I am trying to get the HTML source of a UIWebView without re-downloading it again (a.k.a. do another download, such as [NSData dataWithContentsOfURL:(NSURL*)URL] or launching an NSURLRequest. Browsing the UIWebView header and documentation, there seems to be no way of accessing the current loaded NSData of the source. Am I…
I'm building an Appointments Scheduler manager on asp.net mvc. My requirements are:
The administrator will add timeslot appointments to the calendar for each persons in the company who can receive a client
The client can search online for available timeslot appointments and can make a reservation
Idealy, the UI can show…
I cannot believe this bug/problem doesn't have any solution!
In my iphone application, I'm using MapKit with MKMapView and custom MKAnnotationView.
The problem is when annotations overlap (in my app, annotations are photos and those photos may overlap) and when you tap on the annotation that appears on front, other…
Hi, I am currently developing an EJB3 based SOAP webservice and I wonder what are the best practices to handles uncatched exceptions and return a well formated SOAP response to the client.
example:
@WebMethod
public SomeResponse processSomeService(
@WebParam(name = "someParameters") SomeParameters…
Notice those buttons atop http://techcrunch.com/2010/04/04/he-even-makes-coldplay-sound-fun/ for sharing the url on social networks?
I want to do something very very similar for a site I'm building. ShareThis offers a widget that does the same thing but it's branded and external.
I'm looking for a pure…
Hi,
I have a UIBezierPath that I need to take a list of points from.
In Qt there is a function called pointAtPercent that would fit my needs but I can't find anything equivalent in Objective-C.
Any one knows how to do that ?
Since it's integration to the framework, the package seems to have been removed from the web. can someone point me to a download site where i can download it and use it with my .net 3.5 application?
What is the most important thing you weren't taught in school?
What topics are missing from the CS/IS education?
Posted so far
How to sell an idea
Principles:
Often, good enough is better than perfect.
Making mistakes is actually a Good
Thing™ -- as long as they're new
mistakes.
If a user can…
Ryan Bates' nifty_scaffolding, for example, does this
edit.html.erb
<%= render :partial => 'form' %>
new.html.erb
<%= render :partial => 'form' %>
_form.html.erb
<%= form_for @some_object_defined_in_action %>
That hidden state makes me feel uncomfortable, so I usually…
I am working on a java application that exposes webservices for a flash client.
Any idea on how to prevent DOS/DDOS attacks ?
I cannot use mechanism unfriendly for the end user such as captcha.
So far I have found mod_evasive, an apache module which looks quite promising...
Any suggestions, best…
I wish to execute a javascript function after asp.net postback with out using ajax.
I've tried the following in my even method with no luck:
Page.ClientScript.RegisterStartupScript(GetType(), "ShowPopup", "showCheckOutPopIn('Livraison',556);");
Hello,
I am looking for qa tools for php. I am used to pmd, findbugs and checkstyle in the java world. Do you know some similar tools for php doing code analysis ?
So far I have found but not tested yet :
phplint
pmd's cpd module
PHP_CodeSniffer
Thanks in advance for your help
How do I use NSXMLDetector to find RSS links in HTML files, the tags in the source are like so :
<link rel="alternate" type="application/rss+xml" title="CNN - Top Stories [RSS]" href="http://rss.cnn.com/rss/cnn_topstories.rss">
<link rel="alternate" type="application/rss+xml"…
I started my computer engineering course recently and we've been using C for a couple of things. Before starting university, I was doing a lot of web development. I've written a lot of PHP code (yuck!) and for the last year or so Ruby exclusively.
aside: I love Ruby, love it!
So…
What advice would you have for someone who wants to start in the BI (Business Intelligence) domain?
I where and what I should start with: Books, Blogs, WebCasts...
What I should pay attention to and what I should stay away from.
Are the Microsoft technologies worth while ?
To test if i can connect to my database, I execute the following code :
using (SqlConnection connection = new SqlConnection(myConnectionString))
{
try
{
connection.Open();
canConnect = true;
}
catch (SqlException) { }
}
This works except it throws an…
Googled for this to no avail. Didn't find anything in the API either. I was expecting some kind of class method or configuration option to set it...
So, rather than calling
from "my@email.com"
for every method, it could be called automatically.
Hello, I am using the java version of the google app engine.
I would like to create a function that can receive as parameters many types of objects. I would like to print out the members of the object. Each objects may be different and the function must work for all objects.…
Hi!
is it possible to install another IDE language to SQL Server 2008 Express like i can do in Visual Studio? In the options of Visual Studio, i can change the Environnement Language. Can i do the same with SQL Server 2008?
alex
Hi,
I have been trying to figure this out a while. I would like to make my app engine website use basic html and shtml whenever in order to avoid the slow warm-up phase of jsp apps on app engine. This is so that my landing pages load instantly.
Basically, I am trying to…