HOW TO MAKE HTML TEXT UPPERCASE – CAN USE IN MOST HTML ######################################################## <style type="text/css"> <!– .allcaps { font-variant: small-caps; text-transform: uppercase; } –> </style> <p class="allcaps">This is all caps </> Read More…
BASH navigating around with control and alt on big or small command lines
control-a: to start control-e: to end alt-b: back a word alt-f: forward a word
GREP/FIND IPS IN A FILE – ALSO – HOW TO JOIN LINES WITH SPACE OR COMMAS
GREP/FIND IPS IN A FILE ######################## CITATION: http://www.unix.com/shell-programming-scripting/185469-grep-ip-address-file.html *** ANSWER – FIND IPS ANYWHERE IN A FILE (valid ips as i understand) – puts its finds on a new line – BESTRead More…
HOW TO INCREASE THE upload_max_filesize FOR php IN WORDPRESS or APACHE2 PROPERLY
The maximum size of an upload and maximum post size is not changed in wordpress settings but with php settings. PHP loads different settings for different programs/uses. PHP loads different php.ini inRead More…
resizing logical volume (lvm) and ext filesystem – ex: resize one filesystem and grow another
resizing logical volume and ext filesystem – by example: resize one filesystem and grow another HOW TO RESIZE VOLUME GROUPS ########################### GOOD LINKS: http://blog.shadypixel.com/how-to-shrink-an-lvm-volume-safely/ http://www.tldp.org/HOWTO/LVM-HOWTO/extendlv.html http://www.techrepublic.com/blog/linux-and-open-source/how-to-use-logical-volume-manager-lvm-to-grow-etx4-file-systems-online/ WHAT I WILL DO: I willRead More…
Remove empty lines (with and without whitespace)
LINUX – Remove empty lines – remove double returns NOTE TO SELF REMOVE NEW LINES (EMPTY LINES) command | egrep -v "^$" with sed find a line that starts with anRead More…
Raid mkfs mount block by block analysis
Raid Analysis Download the text file “raid analysis.txt” its below and download notepad++ and view the text file with notepad++, as it has a great feature of zooming out with the control key +Read More…
PPA commands
COPY OF SITE – I have an OCD thing about thinking peoples sites might be down one day, so I copy paste the material out, but I still give full credit whereRead More…
Pipe STDERR and Not STDOUT – STDERR to Pipe – swap file handles
First off stderr and stdin and stdout, whats that? They are file handles / file descriptors. Any program display stuff on the screen thats stdout and stderr. Errors and help messages getRead More…
Hastebin – a pastebin – hosting a Haste-server & cli script to paste (From anywhere)
Pastebin called hastebin – hosting Haste-server make your own pastebin server with a cli pasteing ability HOW TO SETUP HASTEBIN SERVER THAT WORKS WITH CLI ################################################ EXAMPLE END RESULT: http://ec2.infotinks.com:7777/mejodeboca – note thatsRead More…