About scottk

Posts by scottk:

block web request with iptables

Posted by scottk on January 31, 2008 in System |

add a rule to block port 80 web requests:
/sbin/iptables -A INPUT -p tcp -s xxIPADDRESSxx --dport 80 -j DROP

to remove that rule:
/sbin/iptables -D INPUT -p tcp -s xxIPADDRESSxx --dport 80 -j DROP

list open connections

Posted by scottk on January 31, 2008 in System |

Using this command to list out number of open connections by IP /bin/netstat -anp |grep ‘tcp\|udp’ | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n

in two

Posted by scottk on January 30, 2008 in Programming, Ruby on Rails |

“The Ruby community has agreed upon two spaces as being the optimum for indenting blocks of code…” Oh hell yes, they got that right. I’m beginning to like it a little more now.

train-ed

Posted by scottk on January 30, 2008 in Ruby on Rails |

I’ve been fighting the Ruby on Rails movement, I’m a perl programmer and proud of it damnit! I broke down last night and started to plow through some docs and I’m trying to work on a basic project to get my feet wet.  From the sysadmin side I’ve got installing the components on the server […]

Go Big Green

Posted by scottk on January 27, 2008 in Ramblings |

I think is the best rendered CGI I have seen

fandom

Posted by scottk on January 9, 2008 in Ramblings |

xkcd

reporting?

Posted by scottk on January 8, 2008 in Ramblings |

So I get home and check Yahoo for news real quick and this is a “top story” in their list. I’m reading this and there is this piece: “I have not seen the clip, nor do I know the context of the remarks. This is what I know — that Tilghman, who never played on […]

2

kulua talk

Posted by scottk on December 18, 2007 in Technology |

[10:08] <fwiles> Perl is 20 years old today [10:09]  <Gedanken> It will be another 5 years old until perl 6 is released [10:09]  <fwiles> I don’t think it’ll be that long, but I would be surprised to see a RC in 2008 honestly [10:10]  <fwiles> but next year Perl can drink… so it’s all good […]

pegged

Posted by scottk on November 12, 2007 in Ramblings, Technology |

Once in awhile something comes through that feels like the author is writing about you.  I see this occasionally with Dilbert and sometimes with XKCD but this article totally nailed me: http://www.randsinrepose.com/archives/2007/11/11/the_nerd_handbook.html Thanks to jediwonderboy for the notice on this one.

must resist

Posted by scottk on November 9, 2007 in Ramblings |

I’ve been spending way more time than I should be on Desktop Tower Defense. The recent goal has to beat the 100 wave challenge.  I imagine of the past two weeks I’ve been up 10 days until 2am playing the damn game. I can quit anytime I want to, really.

Copyright © 2006-2024 SimpIT.com All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.