MyBB Community Forums

Full Version: MyCode Terminal/Unix
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all

Title: Terminal/Unix

Description MyCode : windows terminal ( linux command )

Expression régulière : \[unix\](.*?)\[/unix\]

Remplacement :<div class='unix'><img src="http://img59.imageshack.us/img59/3635/1243910529.png" /><br>$1</div>

Activate MyCode ? : yes

And you your css ( global.css ) add :

.unix{  
    background: black;
    padding-left: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 20px 30px 20px 30px;
    border: 1px solid grey;
    border-left: 3px solid grey;
    text-align: left;
    font-size: 12px;
    font-style: italic;
    color: #FFFFFF;
}

Demo : http://mycode.fr.nf/thread-27.html
Very nice. You forgot to use Sudo though, thats why it isn't working Big Grin
yep lol
Haha funny idea Toungue.
Wondering, how would i force SUDO on that? So that every line is

sudo Message message
sudo message message

etc
Does anyone know? I never got the mycode thing.
Put sudo before $1...
I love it, but the MyCode should be tty Big Grin
Wew,, good.
This is for unixer Big Grin