Pages

Showing posts with label hack. Show all posts
Showing posts with label hack. Show all posts

Friday, February 06, 2009

Linux System Admin Tips



I'm not an avid Linux user but there is no harm learning some of tricks that only the experienced Linux admin would know. Check out this tips from Mike Chirico. It has 200 over of Linux tips and tricks. From setting and keeping the correct time on your computer, permanently deleting documents with shred, making files "immutable" so that root cannot change or delete, setting up more than one IP address on a single NIC, monitering users and processes, setting log rotate to monthly with 12 months of backups in compressed format, creating passwords for Apache using the htpasswd command, common Perl commands, using cfengine, adding users to groups, finding out which commands are aliased, query program text segment size and data segment size, trusted X11 forwarding, getting information on the hard drive including the current temperature, using Gnuplot, POVRAY and making animated GIFs, monitoring selective traffic with tcpdump and netstat, multiple examples using the find command, getting the most from Bash, plus a lot more.


Another article that I manage to digest from the same author is "Breaking Firewalls with OpenSSH and PuTTY". A very interesting reading material. The article shows you how remote Linux and Windows users can gain access to firewalled samba, mail, and http servers without monkeying the firewall. However the author said that those steps only applicable if you have a valid account on all targeted servers. In other words, to get a valid account is another art of hacking.

Friday, December 29, 2006

Keyboard Hack - How to Display Odd Characters Using Keyboard.

I was searching for a shorcut to display symbol so that I can easily type it while I chat or to be insert in comment box etc. Well I found a bunch of it.

Alt Key + Calculator Number = Symbol

Hold the ALT key & type the number next to the symbol you want on the CALCULATOR part of the keyboard, then release Alt Key. Symbol will appear. And here is the full list.

Alt + 0169 = ©
Alt + 0174 = ®
Alt + 15 = ¤
Alt + 20 =
Alt + 21 = §
Alt + 128 = Ç
Alt + 129 = ü
Alt + 130 = é
Alt + 131 = â
Alt + 132 = ä
Alt + 133 = à
Alt + 134 = å
Alt + 135 = ç
Alt + 136 = ê
Alt + 137 = ë
Alt + 138 = è
Alt + 139 = ï
Alt + 140 = î
Alt + 141 = ì
Alt + 142 = Ä
Alt + 143 = Å
Alt + 144 = É
Alt + 145 = æ
Alt + 146 = Æ
Alt + 147 = ô
Alt + 148 = ö
Alt + 149 = ò
Alt + 150 = û
Alt + 151 = ù
Alt + 152 = ÿ
Alt + 153 = Ö
Alt + 154 = Ü
Alt + 155 = ¢
Alt + 156 = £
Alt + 157 = ¥
Alt + 159 = ƒ
Alt + 160 = á
Alt + 161 = í
Alt + 162 = ó
Alt + 163 = ú
Alt + 164 = ñ
Alt + 165 = Ñ
Alt + 166 = ª
Alt + 167 = º
Alt + 168 = ¿
Alt + 170 = ¬
Alt + 171 = ½
Alt + 172 = ¼
Alt + 173 = ¡
Alt + 174 = «
Alt + 175 = »
Alt + 225 = ß
Alt + 230 = µ
Alt + 241 = ±
Alt + 246 = ÷
Alt + 249 = •
Alt + 250 = ·
Alt + 253 = ²
Alt + 350 = ^
Alt + 352 = `
Alt + 382 = ~

Update
Alt + 0128 = € - Thanks A1 Web Solutions

Some might find this useful while others might thought this is just another geek stuff. As for me, most probably I just want to use "²" for my Malay language chat like "layang²" or "macam²".

Wednesday, December 13, 2006

Blogger Beta Hack - Label Cloud

I really wanted to re-arrange the Blogger Beta label into a better visual presentation, like above. Today I got some free time to play around with it. So I searched through and Phydeaux hack matched my criteria. Read on his blog entry for more details.

Tuesday, December 05, 2006

Blogger Beta Hack : Peek-A-Boo Navbar

Originally posted in Bloggeratto, this piece of code will make your blogger Navbar remain hidden but when you move the cursor on it it will slide down but this is only fully supported on Firefox, Iceweasel(linux),Flock, MZS6,Netscape, Safari & camino(linux).

Just add this 2 lines code in the CSS right before the "body {"

#navbar-iframe{opacity:0.0;filter:alpha(Opacity=0)}
#navbar-iframe:hover{opacity:1.0;filter:alpha(Opacity=100, FinishedOpacity=100)}


There are many other hacks available out there and on my mind that I would like to try out but I'm not in a hurry here.

Thursday, November 09, 2006

Blogger Beta Hack - Expandable post entry

This is a very useful hack. The purpose of this hack is to display only the summary of your full article / story on the main page. When reader click the "read more" it shows the full article on the next page.

To me it is so important and I hope that Blogger Beta should add this feature ASAP, but I simply just can't wait. I've done it in previous Blogger build, so I look around and I found a Blogger user that dedicate himself to hack Blogger. Thanks Ramani (I think he is from India).

Anyway here are the steps.

  1. 1. Search for "post-header-line" to find this portion of code in your template and add the lines in as shown below.

    <div class='post-header-line-1'/>
    <div class='post-body'>
    <b:if cond='data:blog.pageType == "item"'>
    <style>.fullpost{display:inline;}</style>
    <p><data:post.body/></p>
    <b:else/>
    <style>.fullpost{display:none;}</style>
    <p><data:post.body/></p>
    <a expr:href='data:post.url'>Read More......</a>
    </b:if>
    <div style='clear: both;'/> <!-- clear for photos floats --> </div>

  2. (optional step) Goto Settings->Formatting. At the bottom, you will find the text box provided to specify the "Post template". Copy/paste these lines into that text box and save the settings.
    Type your summary here

    <span class="fullpost">
    Type rest of the post here
    </span>
Voila, now every time you want to create a post, "Type your summary here" and "Type rest of the post here" will be display. Just replace it with your entry.

With all the fuss you will be rewarded with at least double page views in your blog stats. Just make sure you don't reveal everything in the blurb.