Have you checked out our new code button?

5120 pts.
Tags:
Code
ITKE has a new code button. Here's how it displays code:

=begin

create database Contact;

use Contact;

CREATE TABLE Employee (
   Name VARCHAR(50),
   Phone VARCHAR(15)
);

=end
To use it, click the CODE button at the top right corner of the text editor box (you may need to clear your cache to see it) and paste in your code. 

What do you think?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Discuss This Question: 17  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • carlosdl
    Looks good. How can we test it ? Also, I get this error with IE and FF: SyntaxHighlighter - Can't find brush for: plain
    68,330 pointsBadges:
    report
  • Ben Rubenstein
    Just use the code button at the top right of the editor box and paste in your code. Thanks for the tip about the IE/FF error - does that mean you don't see the highlighting in those browsers?
    5,120 pointsBadges:
    report
  • carlosdl
    I get the same error on Chrome (Version 24.0.1312.52 m) FF version 17.0.1 IE version 9.0.8112.16421
    68,330 pointsBadges:
    report
  • carlosdl
    Ah, and I don't see the code button in any of these browsers...
    68,330 pointsBadges:
    report
  • Ben Rubenstein
    Try clearing your cache - this happened to me too, at first. Let me know if that does it. 
    5,120 pointsBadges:
    report
  • carlosdl
    I did that before posting, Ben. I did it again right now, and I noticed that there is a toolbar (which includes the "code" button) that disappears when I log in. Also, the "Improve This Answer" button doesn't work (don't know if this is somehow related).
    68,330 pointsBadges:
    report
  • Ben Rubenstein
    Ok, thanks - we'll look into it. So the entire toolbar is missing once you log in? 
    5,120 pointsBadges:
    report
  • carlosdl
    Yes Ben, the entire toolbar.
    68,330 pointsBadges:
    report
  • carlosdl
    I see the highlighting now (in the 3 browsers), and the error message is gone. I like it ;-)
    68,330 pointsBadges:
    report
  • Ben Rubenstein
    Great. Did you change something else in the browser, or did it just suddenly start appearing? Want to see if we can prevent other users from having the same issues.
    5,120 pointsBadges:
    report
  • carlosdl
    I just cleared the cache and restarted the browsers several times, to test. I did some more testing, and I still get the error once in a while. It seems to be random. Maybe 1 out of 10 times that I refresh the page, the error appears.
    68,330 pointsBadges:
    report
  • Michael Tidmarsh
    Does the 'Improve this Answer' button still not work?
    28,360 pointsBadges:
    report
  • carlosdl
    I think the real problem is that I don't see the editor box in the answer wiki (it disappears once I log in), and since I'm not able to type anything, maybe that's why the button does nothing.
    68,330 pointsBadges:
    report
  • Michael Tidmarsh
    Okay, thanks for letting us know! We'll get to the bottom of this.
    28,360 pointsBadges:
    report
  • TomLiotta
    Like Carlos, I also don’t see anything in FF nor IE. However, I cleared ‘Temporary internet files’, cookies and web forms in IE, refreshed and all edit icons showed up. But of course I had to login after all was cleared since cookies were gone, and all edit icons disappeared as soon as I did. Multiple refreshes, including Ctrl-F5 after deleting ‘Temporary internet files’, haven’t brought anything back yet. A full clear possibly will, but it seems pointless as long as I have to login and everything disappears again. Seeing all edit icons after a clear tells me that it shouldn’t be a firewall/router change and perhaps not a change to scripting options or similar options in any browser. Tom
    125,585 pointsBadges:
    report
  • carlosdl
    Seems to be Ok now.  The toolbar is back.Let's test the code tool:
    params=$#
    param=1
    U=test
    BD=atelsystem
    FILE=/home/test/test.txt
    rm $FILE 2>/dev/null
    while [ "$param" -le "$params" ]
    do
            echo "### FILE $param" >> $FILE
            eval echo \$$param | mysql -u $U $BD >> $FILE
    ((param ++))
    done
    68,330 pointsBadges:
    report
  • TomLiotta
    It all came back for me sometime before last night. Everything looks the same as it was a week ago. Even the little details that were new during this week are gone. A couple days ago there was a resizing widget at the lower right corner of this 'Discussion' entry area when viewed with FF. Today it's gone. -- Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following