Blogs1 - 10 of 4,595 recent posts for tag:perl
05
Jul
2009
Perl Tutorial on Getting Internal IP and beginning regex  

1 hour ago by bsdpunk

I am working on an tiny project for remote server administration and this was a bit I can show you guys. This is how one would figure out the internal IP's for a computer running Mac or Linux, with perl, with a code explanation for each below: For Mac: #!/opt/local/bin/perl my @ifconfig = `ifconfig` ...

BSD Punk - bsdpunk.blogspot.com · Rank: 149,092 · 5 references

Perl Tutorial On Getting your External IP  

2 hours ago by bsdpunk

Sometimes you need to find your external IP via perl, it's not that hard, but the only way I found to do it is kind of round about. You need to grab the page, whatismyipaddress.com then regex through it for your IP. Yeah this sucks, but it beats the hell out of the reception I got on #perl, but that ...

BSD Punk - bsdpunk.blogspot.com · Rank: 149,092 · 5 references

Fotoskalierung mit Perl und ImageMagick  

8 hours ago by andurin

Jeder Webpublisher kennt den Stress, wenn er massenweise Fotos fr’s Web skalieren soll, womöglich noch mit einem Wasserzeichen versehen, damit jeder weiß woher die Bilder stammen? Bei einer handvoll Bildern ist das ja noch zu Fuß zu erreichen, bei 15 Bildern wird es mhselig ab 30+ wird’s richtig eke ...

Andurin's Blog - process-zero.de

FreeBSD7+Perl5+SOLD OUTでsocket通信する方法  

9 hours ago by ゴっさん

こんにちわ。休暇をもらって16時間睡眠を実践した、ゴっさんです。 2008年10月あたりのことです。それまで RedHat9 を OS にしたサーバで SOLD OUT を動かしていましたが、FreeBSDに慣れてきた頃でしたので、新しいサーバ機を用意してOSをFreeBSD7にしました。そして、 harukaちゃんを作り始めた時にsocket 通信ができないことを知りました。悩みに悩んだ結果、 harukaちゃんがSOLD OUT のHTTP通信関数を利用しているためであることが分かりました。これは、SOLD OUT スクリプトが悪いわけではないと思います。どうして動かなくなったのか原因はま ...

SOLD OUT Junky's BLOG - blog.so-junky.net

技林ブログ | Perl:int関数の挙動について  

11 hours ago by ダイ

とある入力値を int関数で丸め込んでいる処理があって、大胆だなあ、あんまりみたことないなあ、どういう挙動になるんだろ?と思ったので、以下のコードを書いて試してみた。 #!/usr/bin/perl use strict; use warnings; use utf8; use Encode qw(encode); my @cases = ( # undef系 undef, '', 0, # 整数値 1, 2, 123456789012345, # 少数 1.9, 2.1, # マイナスの整数 -1, -2, -123456789012345, # マイナスで小数点 -1.9, -2.1, # ...

... - bayashi.net

Danga::Socket::Callbackを使ったキャラクタechoサーバー  

13 hours ago by hideki

Perlでepoll, kqueueを使った効率的なネットワークアプリケーションを作成できる Danga::Socketを簡単に使えるようにした、 Danga::Socket::Callbackについて、日本語の情報があまりに少ないので書いてみました。 TokuLog 改めB日記 さんの書かれた、 Danga::Socket::Callback がクールな件について この記事のコードでは、on_write_readyコールバックが、それが不必要になったあと(書きこみバッファが空になった後)も呼び出されてしまい、無駄にCPU資源を消費するので、地球環境に良くないです。 そもそも、on_write ...

hidekiy.com blog - blog.hidekiy.com

Time-based releases in open source  

15 hours ago by Rafael

Whenever I hear someone saying we should have regular releases, I hear we should release when Venus enters Pisces. Because, when you have so many uncontrolled parameters to deal with, sticking to a predefined calendar boils down to superstition. Time-based releases actually make sense in one case : ...

ConstType - consttype.blogspot.com · Rank: 57,577 · 12 references

Kleine Werkzeuge frs Geocachen  

15 hours ago by Sebastian

Eine Sammlung von Perl-Skripten und kleinen Programmen rund um das Thema Geocaching findet man auf der SourceForge-Webseite von Michael Paap. Mit Hilfe der unterschiedlichen Werkzeuge kann folgendes machen: Eine Webseite mit Statistiken mit sehr, sehr vielen Informationen generieren Logs- und Listin ...

SebiBlog - blog.sebastian-aust.de

Darwin Streaming Server tweaking  

21 hours ago by The PHP Freelancer

New Freelance Project - Earn Money For Programming! We're running Darwin Streaming Server broadcasting 20hours day. We have a 100mps cap, and are trying to prevent glitchy video. We reconvert everything using menencoder. We never have audio problems bu ....... [ Read More] Working on projects like t ...

The PHP Freelancer - thephpfreelancer.com

04
Jul
2009
Why write an editor in Perl?  

1 day ago by Peter Makholm

I’m a happy vim-user and I don’t see that change any time soon. But recently I have been hacking around with Padre, an editor writen in Perl and for Perl programmers. And even though I like my non-GUI editor I think Padre has one advantage: It is quite hackable inPerl - my favourite language for hac ...

peter.makholm.net - peter.makholm.net · 9 references

Previous1234567