Jump to content


Photo
- - - - -

The Programmers, Web designers Thread


  • Please log in to reply
91 replies to this topic

#41 fahmed

fahmed

    Senior Member

  • Members
  • 119 posts

Posted 26 August 2008 - 04:28 PM

Awesome, but it needs to work for MSN convos as well..

How does MSN conversations looks like ? Also, does the tags [color=red],[b] etc works in the post ?

edit : It does work. I just tested.


#42 sixpakistan

sixpakistan

    Senior Member

  • Members
  • 3,430 posts

Posted 26 August 2008 - 04:39 PM

How does MSN conversations looks like ? Also, does the tags , etc works in the post ?

edit : It does work. I just tested.


Yeah, it works perfectly for AIM

msn convos look like this:

Jaysh. says:
MY MADHAB SAYS YOUR FACE SUCKS
genius pants says:
hahaha
Jaysh. says:
AND THERE IS IJMA ON YOUR FACE SUCKING
Jaysh. says:
AND ALL OF THE MUJTAHIDS HAVE BEEN OF THAT OPINION
Jaysh. says:
AND NO OTHER OPINION IS VALID

and should come out looking like this:

Jaysh.: MY MADHAB SAYS YOUR FACE SUCKS
genius pants: hahaha
Jaysh.: AND THERE IS IJMA ON YOUR FACE SUCKING
Jaysh.: AND ALL OF THE MUJTAHIDS HAVE BEEN OF THAT OPINION
[COLOR=Red]Jaysh.:[b] AND NO OTHER OPINION IS VALID


#43 fahmed

fahmed

    Senior Member

  • Members
  • 119 posts

Posted 26 August 2008 - 04:54 PM

Yeah, it works perfectly for AIM

msn convos look like this:

Jaysh. says:
MY MADHAB SAYS YOUR FACE SUCKS
genius pants says:
hahaha
Jaysh. says:
AND THERE IS IJMA ON YOUR FACE SUCKING
Jaysh. says:
AND ALL OF THE MUJTAHIDS HAVE BEEN OF THAT OPINION
Jaysh. says:
AND NO OTHER OPINION IS VALID

and should come out looking like this:

Jaysh.: MY MADHAB SAYS YOUR FACE SUCKS
genius pants: hahaha
Jaysh.: AND THERE IS IJMA ON YOUR FACE SUCKING
Jaysh.: AND ALL OF THE MUJTAHIDS HAVE BEEN OF THAT OPINION
Jaysh.: AND NO OTHER OPINION IS VALID


try this...not the most optimized code, but will work...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<
HTML>
<
HEAD>
<
META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<
META name="GENERATOR" content="IBM WebSphere Studio">
<
TITLE>test.html</TITLE>
<script type="text/javascript">
<!--
function convert() {
var
lines;
var TA=document.form1.ta.value;
var out="";
var color="";
var im = "";
if(document.all) { // IE
lines=TA.split("rn");
}
else {
//Mozilla
lines=TA.split("n");
}
if
(lines[0].indexOf("says:") != -1){
im="msn";
} else {
im="aim";
}
alert(im);
if(im=="msn"){
for
(var i=0; i<lines.length; i++) {
if
(i%2==0){
color="Red";
}else{
color="Blue";
}
var
txt = "";
if(lines[i].indexOf("says:") != -1){
txt = lines[i].substr(0, lines[i].indexOf("says:"));
out = out+
"[color="+color+[COLOR=#2a00ff]"]"[/COLOR]+txt+[COLOR=#2a00ff]"[/color]"[/COLOR]+[COLOR=#2a00ff]":"
[/COLOR]
[COLOR=#7f0055]} else {
[/COLOR]
txt = lines[i].substr(0, lines[i].length);
out = out+
[COLOR=#2a00ff]""[/COLOR]+txt+[COLOR=#2a00ff]""[/COLOR]+[COLOR=#2a00ff]"n"[/COLOR];
[COLOR=#7f0055]}
}
}
[/COLOR]
[COLOR=#7f0055]if[/COLOR](im==[COLOR=#2a00ff]"aim"[/COLOR])[COLOR=#7f0055]{
for[/COLOR]
([COLOR=#7f0055]var [/COLOR]i=0; i<lines.length; i++) [COLOR=#7f0055]{
if[/COLOR]
(i%2==0)[COLOR=#7f0055]{
[/COLOR]
color=[COLOR=#2a00ff]"Red"[/COLOR];
[COLOR=#7f0055]}else{
[/COLOR]
color=[COLOR=#2a00ff]"Blue"[/COLOR];
[COLOR=#7f0055]}
var [/COLOR]
name = lines[i].substr(0, lines[i].indexOf([COLOR=#2a00ff]":"[/COLOR]));
[COLOR=#7f0055]var [/COLOR]txt = lines[i].substr(lines[i].indexOf([COLOR=#2a00ff]":"[/COLOR])+1, lines[i].length);
out = out+
[COLOR=#2a00ff]"[color="[/COLOR]+color+[COLOR=#2a00ff]"]"[/COLOR]+name+[COLOR=#2a00ff]"[/color]"[/COLOR]+[COLOR=#2a00ff]":"[/COLOR]+[COLOR=#2a00ff]""[/COLOR]+txt+[COLOR=#2a00ff]""[/COLOR]+[COLOR=#2a00ff]"n"[/COLOR];
[COLOR=#7f0055]}
}
[/COLOR]
[COLOR=#3f5fbf]//alert(out);
[/COLOR]
document.form1.outputtxt.value=out;
}
[COLOR=#3f5fbf]//-->
[/COLOR]
[COLOR=#008080]</[/COLOR][COLOR=#3f7f7f]script[/COLOR][COLOR=#008080]>
[/COLOR]
[COLOR=#008080]</[/COLOR][COLOR=#3f7f7f]script[/COLOR][COLOR=#008080]>
</[/COLOR]
[COLOR=#3f7f7f]HEAD[/COLOR][COLOR=#008080]>
<[/COLOR]
[COLOR=#3f7f7f]BODY[/COLOR][COLOR=#008080]>
<[/COLOR]
[COLOR=#3f7f7f]form [/COLOR][COLOR=#7f007f]action[/COLOR]=[COLOR=#2a00ff]"#" [/COLOR][COLOR=#7f007f]name[/COLOR]=[COLOR=#2a00ff]"form1"[/COLOR][COLOR=#008080]>
<[/COLOR]
[COLOR=#3f7f7f]P[/COLOR][COLOR=#008080]>[/COLOR]Put convo here : [COLOR=#008080]<[/COLOR][COLOR=#3f7f7f]TEXTAREA [/COLOR][COLOR=#7f007f]rows[/COLOR]=[COLOR=#2a00ff]"20" [/COLOR][COLOR=#7f007f]cols[/COLOR]=[COLOR=#2a00ff]"50" [/COLOR][COLOR=#7f007f]name[/COLOR]=[COLOR=#2a00ff]"ta"[/COLOR][COLOR=#008080]></[/COLOR][COLOR=#3f7f7f]TEXTAREA[/COLOR][COLOR=#008080]></[/COLOR][COLOR=#3f7f7f]P[/COLOR][COLOR=#008080]>
<[/COLOR]
[COLOR=#3f7f7f]button [/COLOR][COLOR=#7f007f]type[/COLOR]=[COLOR=#2a00ff]"button" [/COLOR][COLOR=#7f007f]onclick[/COLOR]=[COLOR=#2a00ff]"return convert();"[/COLOR][COLOR=#008080]>[/COLOR]convert[COLOR=#008080]</[/COLOR][COLOR=#3f7f7f]button[/COLOR][COLOR=#008080]>
<[/COLOR]
[COLOR=#3f7f7f]br[/COLOR][COLOR=#008080]>
<[/COLOR]
[COLOR=#3f7f7f]p[/COLOR][COLOR=#008080]><[/COLOR][COLOR=#3f7f7f]textarea [/COLOR][COLOR=#7f007f]rows[/COLOR]=[COLOR=#2a00ff]"20" [/COLOR][COLOR=#7f007f]cols[/COLOR]=[COLOR=#2a00ff]"50" [/COLOR][COLOR=#7f007f]name[/COLOR]=[COLOR=#2a00ff]"outputtxt"[/COLOR][COLOR=#008080]></[/COLOR][COLOR=#3f7f7f]textarea[/COLOR][COLOR=#008080]></[/COLOR][COLOR=#3f7f7f]p[/COLOR][COLOR=#008080]>
</[/COLOR]
[COLOR=#3f7f7f]form[/COLOR][COLOR=#008080]>
</[/COLOR]
[COLOR=#3f7f7f]BODY[/COLOR][COLOR=#008080]>
</[/COLOR]
[COLOR=#3f7f7f]HTML[/COLOR][COLOR=#008080]>
[/COLOR]



#44 sixpakistan

sixpakistan

    Senior Member

  • Members
  • 3,430 posts

Posted 26 August 2008 - 04:59 PM

not working.. it's making both nicks the same color

#45 sally

sally

    Super Moderator

  • Moderators
  • 11,985 posts

Posted 26 August 2008 - 05:00 PM

wow, i thought i was a loyal islamican after remaining active for 6 years (going on 7)

but i think fahmed and sixpakistan should get gold medals for being such incredibly dedicated islamicans and taking precious time out of their busy days to write CODE for extra features

i dont think anyone can top such fidelity.

#46 sixpakistan

sixpakistan

    Senior Member

  • Members
  • 3,430 posts

Posted 26 August 2008 - 05:06 PM

wow, i thought i was a loyal islamican after remaining active for 6 years (going on 7)

but i think fahmed and sixpakistan should get gold medals for being such incredibly dedicated islamicans and taking precious time out of their busy days to write CODE for extra features

i dont think anyone can top such fidelity.


that was a shell script i wrote in like 5 minutes ~3.5 years ago

-rwx------ 1 root screen 811 May 26 2005 msnconv*

#47 sally

sally

    Super Moderator

  • Moderators
  • 11,985 posts

Posted 26 August 2008 - 05:09 PM

i want a feature that allows you to set your font color preferences for the forum..so i dont hvae to keep changing mine to pink

*sigh*

#48 fahmed

fahmed

    Senior Member

  • Members
  • 119 posts

Posted 26 August 2008 - 05:13 PM

not working.. it's making both nicks the same color


try this..msn is little tricky as it puts the name and text in different lines...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<
HTML>
<
HEAD>
<
META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<
META name="GENERATOR" content="IBM WebSphere Studio">
<
TITLE>test.html</TITLE>
<script type="text/javascript">
<!--
function convert() {
var
lines;
var TA=document.form1.ta.value;
var out="";
var color="";
var im = "";
if(document.all) { // IE
lines=TA.split("rn");
}
else {
//Mozilla
lines=TA.split("n");
}
if
(lines[0].indexOf("says:") != -1){
im="msn";
} else {
im="aim";
}
alert(im);
if(im=="msn"){
var
user1=lines[0].substr(0, lines[0].indexOf("says:"));
var name="";
for(var i=0; i<lines.length; i++) {
var
txt = "";
color=
"Red";
if(lines[i].indexOf("says:") != -1){
name = lines[i].substr(0, lines[i].indexOf("says:"));
if(name==user1){
color="Blue";
}else {
color="Red";
}
out = out+"[color="+color+[COLOR=#2a00ff]"]"[/COLOR]+name+[COLOR=#2a00ff]"[/color]"[/COLOR]+[COLOR=#2a00ff]":"
[/COLOR]
[COLOR=#7f0055]} else {
[/COLOR]
txt = lines[i].substr(0, lines[i].length);
out = out+
[COLOR=#2a00ff]""[/COLOR]+txt+[COLOR=#2a00ff]""[/COLOR]+[COLOR=#2a00ff]"n"[/COLOR];
[COLOR=#7f0055]}
}
}
[/COLOR]
[COLOR=#7f0055]if[/COLOR](im==[COLOR=#2a00ff]"aim"[/COLOR])[COLOR=#7f0055]{
for[/COLOR]
([COLOR=#7f0055]var [/COLOR]i=0; i<lines.length; i++) [COLOR=#7f0055]{
if[/COLOR]
(i%2==0)[COLOR=#7f0055]{
[/COLOR]
color=[COLOR=#2a00ff]"Red"[/COLOR];
[COLOR=#7f0055]}else{
[/COLOR]
color=[COLOR=#2a00ff]"Blue"[/COLOR];
[COLOR=#7f0055]}
var [/COLOR]
name = lines[i].substr(0, lines[i].indexOf([COLOR=#2a00ff]":"[/COLOR]));
[COLOR=#7f0055]var [/COLOR]txt = lines[i].substr(lines[i].indexOf([COLOR=#2a00ff]":"[/COLOR])+1, lines[i].length);
out = out+
[COLOR=#2a00ff]"[color="[/COLOR]+color+[COLOR=#2a00ff]"]"[/COLOR]+name+[COLOR=#2a00ff]"[/color]"[/COLOR]+[COLOR=#2a00ff]":"[/COLOR]+[COLOR=#2a00ff]""[/COLOR]+txt+[COLOR=#2a00ff]""[/COLOR]+[COLOR=#2a00ff]"n"[/COLOR];
[COLOR=#7f0055]}
}
[/COLOR]
[COLOR=#3f5fbf]//alert(out);
[/COLOR]
document.form1.outputtxt.value=out;
}
[COLOR=#3f5fbf]//-->
[/COLOR]
[COLOR=#008080]</[/COLOR][COLOR=#3f7f7f]script[/COLOR][COLOR=#008080]>
[/COLOR]
[COLOR=#008080]</[/COLOR][COLOR=#3f7f7f]script[/COLOR][COLOR=#008080]>
</[/COLOR]
[COLOR=#3f7f7f]HEAD[/COLOR][COLOR=#008080]>
<[/COLOR]
[COLOR=#3f7f7f]BODY[/COLOR][COLOR=#008080]>
<[/COLOR]
[COLOR=#3f7f7f]form [/COLOR][COLOR=#7f007f]action[/COLOR]=[COLOR=#2a00ff]"#" [/COLOR][COLOR=#7f007f]name[/COLOR]=[COLOR=#2a00ff]"form1"[/COLOR][COLOR=#008080]>
<[/COLOR]
[COLOR=#3f7f7f]P[/COLOR][COLOR=#008080]>[/COLOR]Put convo here : [COLOR=#008080]<[/COLOR][COLOR=#3f7f7f]TEXTAREA [/COLOR][COLOR=#7f007f]rows[/COLOR]=[COLOR=#2a00ff]"20" [/COLOR][COLOR=#7f007f]cols[/COLOR]=[COLOR=#2a00ff]"50" [/COLOR][COLOR=#7f007f]name[/COLOR]=[COLOR=#2a00ff]"ta"[/COLOR][COLOR=#008080]></[/COLOR][COLOR=#3f7f7f]TEXTAREA[/COLOR][COLOR=#008080]></[/COLOR][COLOR=#3f7f7f]P[/COLOR][COLOR=#008080]>
<[/COLOR]
[COLOR=#3f7f7f]button [/COLOR][COLOR=#7f007f]type[/COLOR]=[COLOR=#2a00ff]"button" [/COLOR][COLOR=#7f007f]onclick[/COLOR]=[COLOR=#2a00ff]"return convert();"[/COLOR][COLOR=#008080]>[/COLOR]convert[COLOR=#008080]</[/COLOR][COLOR=#3f7f7f]button[/COLOR][COLOR=#008080]>
<[/COLOR]
[COLOR=#3f7f7f]br[/COLOR][COLOR=#008080]>
<[/COLOR]
[COLOR=#3f7f7f]p[/COLOR][COLOR=#008080]><[/COLOR][COLOR=#3f7f7f]textarea [/COLOR][COLOR=#7f007f]rows[/COLOR]=[COLOR=#2a00ff]"20" [/COLOR][COLOR=#7f007f]cols[/COLOR]=[COLOR=#2a00ff]"50" [/COLOR][COLOR=#7f007f]name[/COLOR]=[COLOR=#2a00ff]"outputtxt"[/COLOR][COLOR=#008080]></[/COLOR][COLOR=#3f7f7f]textarea[/COLOR][COLOR=#008080]></[/COLOR][COLOR=#3f7f7f]p[/COLOR][COLOR=#008080]>
</[/COLOR]
[COLOR=#3f7f7f]form[/COLOR][COLOR=#008080]>
</[/COLOR]
[COLOR=#3f7f7f]BODY[/COLOR][COLOR=#008080]>
</[/COLOR]
[COLOR=#3f7f7f]HTML[/COLOR][COLOR=#008080]>
[/COLOR]



#49 sixpakistan

sixpakistan

    Senior Member

  • Members
  • 3,430 posts

Posted 26 August 2008 - 05:42 PM

Awesome. You, sir, are a gentleman and a scholar. Now it just needs to be put up somewhere for public consumption, or be added as a feature on Islamica.

#50 pterygopalatine

pterygopalatine

    Senior Member

  • Members
  • 721 posts

Posted 26 August 2008 - 06:59 PM

I never understood what this line is for:
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

It seems to come up over and over again whenever I look at code. Can someone explain? :look:


#51 Rida

Rida

    mmmm cookies!

  • Members
  • 3,095 posts

Posted 26 August 2008 - 08:54 PM

it has to do with the character encoding of the html page.
ISO-8859-1 is the encoding for english language.
He Attained Exaltation By His Perfection
He Dispelled Darkness By His Beauty
Beauteous Are All His Qualities
Benediction Be Upon Him And His Family

#52 fahmed

fahmed

    Senior Member

  • Members
  • 119 posts

Posted 27 August 2008 - 09:17 AM

i think fahmed and sixpakistan should get gold medals for being such incredibly dedicated islamicans and taking precious time out of their busy days to write CODE for extra features


ha ha..the gold medal should goto sixpak. He wrote the logic in 8 lines which took me more than 40 lines.:monkey:


#53 fahmed

fahmed

    Senior Member

  • Members
  • 119 posts

Posted 27 August 2008 - 09:22 AM

Made one small change..

<!
DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<
HTML>
<
HEAD>
<
META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<
TITLE>Convert</TITLE>
<script type="text/javascript">
<!--
function convert() {
var
lines;
var TA=document.form1.ta.value;
var out=""; var color=""; var im = "";
if(document.all) { // IE
lines=TA.split("rn");
}
else {
//Mozilla
lines=TA.split("n");
}
if
(lines[0].indexOf("says:") != -1){
im="msn";
} else {
im="aim";
}
if
(im=="msn"){
var
user1=lines[0].substr(0, lines[0].indexOf("says:"));
var name="";
for(var i=0; i<lines.length; i++) {
var
txt = "";
color=
"Red";
if(lines[i].indexOf("says:") != -1){
name = lines[i].substr(0, lines[i].indexOf("says:"));
if(name==user1){
color="Blue";
}else {
color="Red";
}
out = out+"[color="+color+[COLOR=#2a00ff]"]"[/COLOR]+name+[COLOR=#2a00ff]"[/color]"[/COLOR]+[COLOR=#2a00ff]":"
[/COLOR]
[COLOR=#7f0055]} else {
[/COLOR]
txt = lines[i].substr(0, lines[i].length);
out = out+
[COLOR=#2a00ff]""[/COLOR]+txt+[COLOR=#2a00ff]""[/COLOR]+[COLOR=#2a00ff]"n"[/COLOR];
[COLOR=#7f0055]}
}
}
[/COLOR]
[COLOR=#7f0055]if[/COLOR](im==[COLOR=#2a00ff]"aim"[/COLOR])[COLOR=#7f0055]{
var [/COLOR]
name=[COLOR=#2a00ff]""[/COLOR];
[COLOR=#7f0055]var [/COLOR]user1=lines[0].substr(0, lines[0].indexOf([COLOR=#2a00ff]":"[/COLOR]));
[COLOR=#7f0055]for[/COLOR]([COLOR=#7f0055]var [/COLOR]i=0; i<lines.length; i++) [COLOR=#7f0055]{
[/COLOR]
name = lines[i].substr(0, lines[i].indexOf([COLOR=#2a00ff]":"[/COLOR]));
[COLOR=#7f0055]var [/COLOR]txt = lines[i].substr(lines[i].indexOf([COLOR=#2a00ff]":"[/COLOR])+1, lines[i].length);
[COLOR=#7f0055]if[/COLOR](user1==name)[COLOR=#7f0055]{
[/COLOR]
color=[COLOR=#2a00ff]"Red"[/COLOR];
[COLOR=#7f0055]}else{
[/COLOR]
color=[COLOR=#2a00ff]"Blue"[/COLOR];
[COLOR=#7f0055]}
[/COLOR]
out = out+[COLOR=#2a00ff]"[color="[/COLOR]+color+[COLOR=#2a00ff]"]"[/COLOR]+name+[COLOR=#2a00ff]"[/color]"[/COLOR]+[COLOR=#2a00ff]":"[/COLOR]+[COLOR=#2a00ff]""[/COLOR]+txt+[COLOR=#2a00ff]""[/COLOR]+[COLOR=#2a00ff]"n"[/COLOR];
[COLOR=#7f0055]}
}
[/COLOR]
document.form1.outputtxt.value=out;
}
[COLOR=#3f5fbf]//-->
[/COLOR]
[COLOR=#008080]</[/COLOR][COLOR=#3f7f7f]script[/COLOR][COLOR=#008080]>
</[/COLOR]
[COLOR=#3f7f7f]HEAD[/COLOR][COLOR=#008080]>
<[/COLOR]
[COLOR=#3f7f7f]BODY[/COLOR][COLOR=#008080]>
<[/COLOR]
[COLOR=#3f7f7f]form [/COLOR][COLOR=#7f007f]action[/COLOR]=[COLOR=#2a00ff]"#" [/COLOR][COLOR=#7f007f]name[/COLOR]=[COLOR=#2a00ff]"form1"[/COLOR][COLOR=#008080]>
<[/COLOR]
[COLOR=#3f7f7f]P[/COLOR][COLOR=#008080]>[/COLOR]Put convo here : [COLOR=#008080]<[/COLOR][COLOR=#3f7f7f]TEXTAREA [/COLOR][COLOR=#7f007f]rows[/COLOR]=[COLOR=#2a00ff]"20" [/COLOR][COLOR=#7f007f]cols[/COLOR]=[COLOR=#2a00ff]"50" [/COLOR][COLOR=#7f007f]name[/COLOR]=[COLOR=#2a00ff]"ta"[/COLOR][COLOR=#008080]></[/COLOR][COLOR=#3f7f7f]TEXTAREA[/COLOR][COLOR=#008080]></[/COLOR][COLOR=#3f7f7f]P[/COLOR][COLOR=#008080]>
<[/COLOR]
[COLOR=#3f7f7f]button [/COLOR][COLOR=#7f007f]type[/COLOR]=[COLOR=#2a00ff]"button" [/COLOR][COLOR=#7f007f]onclick[/COLOR]=[COLOR=#2a00ff]"return convert();"[/COLOR][COLOR=#008080]>[/COLOR]convert[COLOR=#008080]</[/COLOR][COLOR=#3f7f7f]button[/COLOR][COLOR=#008080]>
<[/COLOR]
[COLOR=#3f7f7f]br[/COLOR][COLOR=#008080]>
<[/COLOR]
[COLOR=#3f7f7f]p[/COLOR][COLOR=#008080]><[/COLOR][COLOR=#3f7f7f]textarea [/COLOR][COLOR=#7f007f]rows[/COLOR]=[COLOR=#2a00ff]"20" [/COLOR][COLOR=#7f007f]cols[/COLOR]=[COLOR=#2a00ff]"50" [/COLOR][COLOR=#7f007f]name[/COLOR]=[COLOR=#2a00ff]"outputtxt"[/COLOR][COLOR=#008080]></[/COLOR][COLOR=#3f7f7f]textarea[/COLOR][COLOR=#008080]></[/COLOR][COLOR=#3f7f7f]p[/COLOR][COLOR=#008080]>
</[/COLOR]
[COLOR=#3f7f7f]form[/COLOR][COLOR=#008080]>
</[/COLOR]
[COLOR=#3f7f7f]BODY[/COLOR][COLOR=#008080]>
</[/COLOR]
[COLOR=#3f7f7f]HTML[/COLOR][COLOR=#008080]>
[/COLOR]



#54 sixpakistan

sixpakistan

    Senior Member

  • Members
  • 3,430 posts

Posted 27 August 2008 - 09:28 AM

what was the change? alert removed?

#55 fahmed

fahmed

    Senior Member

  • Members
  • 119 posts

Posted 27 August 2008 - 09:44 AM

what was the change? alert removed?


Apart from that, for AIM, I was just giving the colors alternatively. I changed that to give each user a different color.


#56 elysium

elysium

    Senior Member

  • Members
  • 113 posts

Posted 27 August 2008 - 10:09 AM

mmm.. bash scripts make me feel all warm and fuzzy inside. although I use tcsh as regular shell preference.

i just can't explain or elaborate why. at my last job, i'd sit and write/edit bash atleast twice a week, for hours on end, into the wee hours of the night. php couldn't give me the same feeling ( although i did spend just as many hours on php a number of years back )

sed and awk are my babies.

in retrospect, that'd be fun, to name kids 'sed' and 'awk'. hah. :monkey:

#57 sixpakistan

sixpakistan

    Senior Member

  • Members
  • 3,430 posts

Posted 27 August 2008 - 10:25 AM

mmm.. bash scripts make me feel all warm and fuzzy inside. although I use tcsh as regular shell preference.

i just can't explain or elaborate why. at my last job, i'd sit and write/edit bash atleast twice a week, for hours on end, into the wee hours of the night. php couldn't give me the same feeling ( although i did spend just as many hours on php a number of years back )

sed and awk are my babies.

in retrospect, that'd be fun, to name kids 'sed' and 'awk'. hah. :realmad:


That's just regular Bourne.. it's an old habit of mine to not get attached to any custom or platform specific tools, and to make everything as portable as possible. So I always just used /bin/sh & occasionally ksh for scripting.

I'm a bit spoiled as of the past few years when it comes to using tcsh for commandline, though.. but I still consider csh acceptable. :monkey:

Partially as a result of the "don't get attached to tools you might not always have access to" mentality, I never really had any use for perl, either. I've traditionally always done everything in c or /bin/sh.

I've done a lot of app dev in c++ & a little bit of C# & Java, but I never really got into the whole OO paradigm (though it's definitely a lot nicer for team development). :dinosaur:

This convo probably belongs in another thread..

#58 Rida

Rida

    mmmm cookies!

  • Members
  • 3,095 posts

Posted 27 August 2008 - 12:12 PM

Have any of you coded in Objective C?
He Attained Exaltation By His Perfection
He Dispelled Darkness By His Beauty
Beauteous Are All His Qualities
Benediction Be Upon Him And His Family

#59 sixpakistan

sixpakistan

    Senior Member

  • Members
  • 3,430 posts

Posted 27 August 2008 - 05:38 PM

http://www.islamicaw...nix-thread.html

#60 Rida

Rida

    mmmm cookies!

  • Members
  • 3,095 posts

Posted 09 September 2008 - 02:22 PM

i'm working on a 13 line Quran app for the iphone. :)


was-Salaam
He Attained Exaltation By His Perfection
He Dispelled Darkness By His Beauty
Beauteous Are All His Qualities
Benediction Be Upon Him And His Family




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users