Islamica Community: The Programmers, Web designers Thread - Islamica Community

Jump to content

  • (5 Pages)
  • +
  • 1
  • 2
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

The Programmers, Web designers Thread Rate Topic: -----

#41 User is offline   fahmed 

  • Senior Member
  • Group: Members
  • Posts: 119
  • Joined: 14-August 07

Posted 26 August 2008 - 04:28 PM

sixpakistan said:

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.
0

#42 User is offline   sixpakistan 

  • Senior Member
  • Group: Members
  • Posts: 3,430
  • Joined: 04-May 04

Posted 26 August 2008 - 04:39 PM

fahmed said:

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

0

#43 User is offline   fahmed 

  • Senior Member
  • Group: Members
  • Posts: 119
  • Joined: 14-August 07

Posted 26 August 2008 - 04:54 PM

sixpakistan said:

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]

0

#44 User is offline   sixpakistan 

  • Senior Member
  • Group: Members
  • Posts: 3,430
  • Joined: 04-May 04

Posted 26 August 2008 - 04:59 PM

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

#45 User is offline   sally 

  • Super Moderator
  • Group: Moderators
  • Posts: 11,898
  • Joined: 10-March 02

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.
0

#46 User is offline   sixpakistan 

  • Senior Member
  • Group: Members
  • Posts: 3,430
  • Joined: 04-May 04

Posted 26 August 2008 - 05:06 PM

sally said:

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*
0

#47 User is offline   sally 

  • Super Moderator
  • Group: Moderators
  • Posts: 11,898
  • Joined: 10-March 02

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*
0

#48 User is offline   fahmed 

  • Senior Member
  • Group: Members
  • Posts: 119
  • Joined: 14-August 07

Posted 26 August 2008 - 05:13 PM

sixpakistan said:

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]

0

#49 User is offline   sixpakistan 

  • Senior Member
  • Group: Members
  • Posts: 3,430
  • Joined: 04-May 04

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.
1

#50 User is offline   pterygopalatine 

  • Senior Member
  • Group: Members
  • Posts: 721
  • Joined: 09-July 08

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:

0

#51 User is offline   Rida 

  • mmmm cookies!
  • View blog
  • Group: Members
  • Posts: 3,090
  • Joined: 22-December 06

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
-1

#52 User is offline   fahmed 

  • Senior Member
  • Group: Members
  • Posts: 119
  • Joined: 14-August 07

Posted 27 August 2008 - 09:17 AM

sally said:

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:
0

#53 User is offline   fahmed 

  • Senior Member
  • Group: Members
  • Posts: 119
  • Joined: 14-August 07

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]

1

#54 User is offline   sixpakistan 

  • Senior Member
  • Group: Members
  • Posts: 3,430
  • Joined: 04-May 04

Posted 27 August 2008 - 09:28 AM

what was the change? alert removed?
1

#55 User is offline   fahmed 

  • Senior Member
  • Group: Members
  • Posts: 119
  • Joined: 14-August 07

Posted 27 August 2008 - 09:44 AM

sixpakistan said:

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.
-1

#57 User is offline   elysium 

  • Senior Member
  • Group: Members
  • Posts: 113
  • Joined: 04-June 05

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:
-1

#58 User is offline   sixpakistan 

  • Senior Member
  • Group: Members
  • Posts: 3,430
  • Joined: 04-May 04

Posted 27 August 2008 - 10:25 AM

elysium said:

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..
0

#59 User is offline   Rida 

  • mmmm cookies!
  • View blog
  • Group: Members
  • Posts: 3,090
  • Joined: 22-December 06

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
0

#60 User is offline   sixpakistan 

  • Senior Member
  • Group: Members
  • Posts: 3,430
  • Joined: 04-May 04

Posted 27 August 2008 - 05:38 PM

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

#61 User is offline   Rida 

  • mmmm cookies!
  • View blog
  • Group: Members
  • Posts: 3,090
  • Joined: 22-December 06

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

Share this topic:


  • (5 Pages)
  • +
  • 1
  • 2
  • 3
  • 4
  • 5
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users