On Fri, 5 Dec 2008, Tzafrir Cohen wrote:

> On Fri, Dec 05, 2008 at 12:46:26PM -0600, Danny Nicholas wrote:
>> "Good" programmers can diagram the most obfuscated code.  It's part of the
>> job description.
>
> Anybody with a dialplan that looks like a puppy?
>
> Reminder from a previous thread: a really silly script to graph (using
> gnuplot) inclusions between contexts:
>
> asterisk -rx 'dialplan show' | \
>  awk -F"'" '
>    BEGIN {printf "digraph dialplan {\n";};
>    /^\[ Context/ {context=$2};
>    /^  Include =>/ {printf "\t%s -> %s\n",context,$2};
>    END {printf "}\n"}
>  '
>

Many years ago when I was in school we had an obfuscated 'C' contest, and 
I recall one year the winning entry had #define'd all of the neccessary 
code into morse, so that the eventual .c file was completely in morse 
code.

j

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to