Skip to main content

Posts

Glimpse of Ext js Containers

Container layout: The Container layout is the default layout for any instance of Container and simply places items on the screen, one on top of. Container layout does not explicitly resize child items. It also serves as the base class for all other layouts Implementing a container layout is extremely simple, requiring you to just add and remove child items. Anchor Layout: The Anchor layout is similar to the Container layout It adds dynamic sizing to the mix using an anchor parameter specified on each child { title : 'Panel1', anchor : '100%, 5%' , frame : true} Form Layout: The form layout is just like the anchor layout Absolute layout: Absolute layout is by far one of the simplest to use. It fixes the position of a child by setting the CSS “position” attribute of the child’s element to “absolute” and sets the top and left attributes to the x and y parameters Fit Layout: The ‘fit’ layout forces a Container’s single child to “fit” to its body and is, by far, the simpl...

Changing screen resolution on ubuntu server

1.To notice choices of resolution use hwinfo sudo apt-get install hwinfo sudo hwinfo --framebuffer 2.Edit file /boot/grub/menu.lst sudo vim /boot/grub/menu.lst 3.Scroll to the end of /boot/grub/menu.lst and add 'vga=Mode_No' to the end of the 'kernel' line kernel /boot/vmlinuz-2.6.24-24-server root=/dev/mapper/ubuntu-root ro quiet splash vga=0x0336 4.Reboot so new config take effect sudo shutdown -r now

Configure SSH on Cisco SW/RT

1.Modify vty lines to use username localy. vty config mode --> login local 2. configure to accept telnet and ssh or just ssh telnet and ssh --> transport input telnet ssh just ssh --> transport input ssh 3. Adding username and password global config mode --> username usr password pass 4.Configure DNS domain name global config mode --> ip domain-name value 5.Configure to generate public and private key global config mode --> crypto key generate rsa

FreeBSD Nagios Setup

Required Packages: Apache, PHP5, GCC and GD development libs 1-Add user and group pw groupadd nagios adduser Username: nagios Full name: Uid (Leave empty for default): Login group [nagios]: Login group is nagios. Invite jru into other groups? []: Login class [default]: Shell (sh csh tcsh zsh nologin) [sh]: zsh Home directory [/home/nagios]: Use password-based authentication? [yes]: Use an empty password? (yes/no) [no]: Use a random password? (yes/no) [no]: Enter password: Enter password again: Lock out the account after creation? [no]: . . OK? (yes/no): yes adduser: INFO: Successfully added (nagios) to the user database. Add another user? (yes/no): no Goodbye! ---Creating group for web interface pw groupadd nagcmd pw groupmod nagcmd -M nagios pw groupmod nagcmd -m www pw groupadd root 2-Configure and install cd /usr/ports/net-mgmt/nagios make config make make install make install-init make install-config make install-commandmod 3-Customaize Configuration cd /usr/local/etc/nagios cp cg...

Tor گمنامی آنلاین

برنامه مجانی و شبکه ای باز( نسل دوم آنین روتینگ ) که کمک می‌کند تا از حریم خصوصی افراد در مقابل سا یت هایی که تجزیه تحلیل ترافیکی می‌کنند دفاع کند . از این برنامه می‌توان به دو صورت افزونه در فایرفاکس و برنامه مستقل استفاده نمود . برای کمک و ملحق شدن به این شبکه می‌توان از هر دو حالت استفاده نمود و به عنوان یک مسیریاب در شبکه تور قرار گرفت . از مهمترین خصو صیات این روش کد شدن اطلاعات در لایه‌های مختلف می‌باشد که امنیت اطلاعات را در طول مسیر و در مسیریابها بالا می برد . از این برنامه می‌توان به عنوان فیلترشکن استفاده کرد . بنابراین در ایران با استفاده از این برنامه می‌توانند به فیس بوک و توییتر و دیگر سایتهای فیلتر شده دسترسی پیدا کرد . همچنین با ملحق شدن به این شبکه می‌توان به گسترده‌تر شدن آن کمک کرد . برای اطلاعات بیشتر و دانلود میتوان از صفحه ویکی پدیا یا وب سایت تور مراجعه کرد

The Most Baffling Toefl Words

Through memorizing Vocabulary for the Toefl, I found these words somehow confusing. 1. Deliberate -->consider, Think over Debilitate -->Weaken, Enfeeble Debatable -->Questionable, Disputable 2. Assert --> Claim, Acclaim Assess -->Distinguish, Evaluate Assort --> Select Asset --> Possession, Wealth 3. Comprise --> Include Compromise --> Accordance, Agreement Compassion --> Sympathy 4. Elude --> Evade, Avoid Illusion --> Cogitation, Mind, Thought, Fancy,Fiction 5. Substantial --> Essential, Basic Sequential --> Permanent, Constant 6. Vanity --> Absurdity,Idleness Cavity --> Pit, Hollow Hollow --> Pit 7. Speculate --> Think, Mind Spectacular --> beautiful view Postulate --> Demand, Suppose 8. Undertake --> Engage, Promise Undergo --> Bear, Tolerate Undermine --> use up 9. Hail -->Welcome, Corn Rain Heal --> Cure 10. Invade --> Attack Evade --> Elude 11. Abolish --> Destroy, Suppress, Suspend Admonish --...

Google search tricks

1)Find any album: In this trick you no need to struggle for long keywords entering in google search. Following google search trick will takes you to your destination. Open  www.google.com Put the string as shown below in google search : ?intitle:index.of? mp3 Your job is add song/album/artist/singer For example : ?intitle:index.of? mp3 justin timberlake  2)  Find Key for any software, games etc: Well this is a cute google search trick. Just enter the code below in google search. 94FBR : your software name In place of  “your software name “  enter the software or game name which you have required. 3) Open  www.google.com Enter the string which is shown below inurl:Mcft filetype:iso Now change the string in search to exactly what you desire. for example Mcft to Ad@be, ISO to zip/rar and so on. 4)How to open hidden links in google?? Well google will not display few links even though they are indexed in google. Just enter the strings below which can open hidden links in google search. “par...