Here is a neat little trick I did to my ~/.bash_profile
now if you type 'woman' instead of 'man' it will export it to PDF...I posted this on my site and a guy posted his code that will export them to a tabbed page in safari, but I have not tested his script. It is in the comments section if you want to check it out.
I have only slight difference between remarks (gray) and code (black)
using c and c++ how cani change remark to other color ?
The option preferences/language mode/c++ doesn't help (0 Replies)
OK so I've been trying to figure this out on and off for about two years on Solaris 8, and now I'm trying to do it in Solaris 10 (which seem to have identical resource structures for Dtwm.)
I've created my own sleek, single row front panel with small custom icons, and smaller font so that it's... (1 Reply)
Hi,
I am using GNU unix. And running a bash shell. Can anyone please tell me what is the command for changing the color of the compiler error/warning messages on the console. I think it is in .bashrc and do not know how.
Thanks
Pink (0 Replies)
Hi,
I am using GNU unix. And running a bash shell. Can anyone please tell me what is the command for changing the color of the compiler error/warning messages on the console. I think it is in .bashrc and do not know how.
Thanks
Pink (1 Reply)
I've been asked to come up with a command to display a man page that will continuously scrol (i.e. not hitting space/enter)l. Is there a way do this? I'm stumped.
Thank you for your help. (8 Replies)
I have Xfce terminal emulator installed on most machines. The Xubuntu version has color coding that distinguishes directories (purple) from files (white or green) for instance. The terminals on non-Linux machines do not have this color coding. Where can this color option be set? Is there a... (6 Replies)
hi all,
first off thesis my first post so if i am not in the right forum, i apologize.
i'm an absolute newbie to unix. i've been reading my books and studying my crib sheets etc. but... :/
i want to accomplish two things.
1. search and remove duplicate files i.e.. audio, doc alias etc.... (1 Reply)
Hi guys and gals...
After much searching on the good ol' internet I could find nothing, so this is the result.
ALthough many people seem to have asked this question no-one seems to have a solution so here we go.
I need for AudioScope.sh, 'xterm' to run a second program for some of its... (2 Replies)
Just added OSX 10.14 Mojave Commands (currently over 13K pages in the mojave repo) to our man page repository:
OSX 10.14 Mojave Commands
We need to update all the man pages to the most current versions, so please contribute man page sets to your favorite OS environment (tar.gz with os and... (3 Replies)
Discussion started by: Neo
3 Replies
LEARN ABOUT PHP
imagecharup
IMAGECHARUP(3) 1 IMAGECHARUP(3)imagecharup - Draw a character verticallySYNOPSIS
bool imagecharup (resource $image, int $font, int $x, int $y, string $c, int $color)
DESCRIPTION
Draws the character $c vertically at the specified coordinate on the given $image.
PARAMETERS
o $
image -An image resource, returned by one of the image creation functions, such as imagecreatetruecolor(3).
o $
font -Can be 1, 2, 3, 4, 5 for built-in fonts in latin2 encoding (where higher numbers corresponding to larger fonts) or any of
your own font identifiers registered with imageloadfont(3).
o $x
- x-coordinate of the start.
o $y
- y-coordinate of the start.
o $c
- The character to draw.
o $color
- A color identifier created with imagecolorallocate(3).
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
imagecharup(3) example
<?php
$im = imagecreate(100, 100);
$string = 'Note that the first letter is a N';
$bg = imagecolorallocate($im, 255, 255, 255);
$black = imagecolorallocate($im, 0, 0, 0);
// prints a black "Z" on a white background
imagecharup($im, 3, 10, 10, $string, $black);
header('Content-type: image/png');
imagepng($im);
?>
The above example will output something similar to:[NOT DISPLAYABLE MEDIA]Output of example : imagecharup()
SEE ALSO imagechar(3), imageloadfont(3).
PHP Documentation Group IMAGECHARUP(3)