Tampilkan postingan dengan label 5. Tampilkan semua postingan
Tampilkan postingan dengan label 5. Tampilkan semua postingan

Cadalyst Magazine’s All In One CAD Tip 5 and I Helped


Cadalyst Magazine has had a series of All-in-One CAD tips put together by one of my favorite CAD Guru’s Curt Moreno, the Kung Fu Drafter.

The series is sponsored by HP’s new “All-In-One” Workstation the Z1.

On Tip Five, Mr. KFD asked me to lend a hand.  I contributed the tip about using Autodesk Design Review.  I’m so proud!  Check it out and check out the other All-In-One tips from Cadalyst, KDF, and HP.




Read More..

HOWTO Back Track 5 on Lenovo ThinkPad X100e

Lenovo ThinkPad X100e (Type 3508-65B) is equipped with AMD Athlon Neo MV-40 CPU and Radeon Display card. It does not work properly on Back|Track 5.



This tutorial is going to show you how to install Back|Track 5 on the captioned hardware.



Step 1 :



Boot up the Live CD or Live USB. Select the first item. Press "Tab" key to add the following line to the end of the line displayed on the screen.



radeon.modset=0



Step 2 :



After the Live CD or Live USB is booting up, open terminal and then issue the following command.



nano /etc/default/grub



Locate :



GRUB_CMDLINE_LINUX_DEFAULT="text splash nomodeset vga=791"



Make it read as :



GRUB_CMDLINE_LINUX_DEFAULT="text splash nomodeset vga=791 radeon.modset=0"



Save and exit.



Step 3 :



update-grub

fix-splash



Step 4 :



Configure the wireless card.



HOWTO : RTL8191SE wireless card on Back|Track 4 R2



Step 5 :



Install of AMD Catalyst 11.6 Proprietary driver.



Go to AMD official site and download AMD Catalyst 11.6 Proprietary Linux x86 Display Driver which is released on June 15, 2011.



wget http://www2.ati.com/drivers/linux/ati-driver-installer-11-6-x86.x86_64.run

chmod +x ati-driver-installer-11-6-x86.x86_64.run

./ati-driver-installer-11-6-x86.x86_64.run




** My Back|Track 5 is 64-bit so I download the 64-bit version of the driver.



Follow the instruction on the screen to install the driver. After the installation, you should reboot your system.



Before reboot your system, issue the following command :



fix-splash



Step 6 :



Install Pointing Device Settings for the TrackPoint system.



apt-get install gpointing-device-settings



Go to "System" -- "Preferences" -- "Pointing Devices".



Select "TPPS/2 IBM TrackPoint". Choose "Use middle button emulation" and "Use wheel emulation". Select "2" for the button.



Thats all! See you.
Read More..

HOWTO The Onion Router Tor on Back Track 5

PART I : Browser



Step 1 :



nano /etc/apt/sources.list



Append the following line to the file.



deb http://deb.torproject.org/torproject.org lucid main



Step 2 :



gpg --keyserver keys.gnupg.net --recv 886DDD89

gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -



apt-get update

apt-get install tor tor-geoipdb

apt-get install privoxy




Step 3 :



nano /etc/privoxy/config



Append the following line :



forward-socks4a / 127.0.0.1:9050 .



/etc/init.d/privoxy start

/etc/init.d/tor start




Step 3a (Optional) :



If you are behind firewall or NAT as well as router, you should append the following line at the configure file.



forward 192.168.*.*/ .



Step 4 :



Go to the Tor official site to download and install Tor button for Firefox.



Tor Button Plugin for Firefox



Step 5 :



Open Firefox. Go to "Tools" -- "Add-ons" -- "Extensions". Select "Torbuttons Preferences".



(a) At "Proxy Settings", unclick "Use Polipo".

(b) At "Security Settings", On browser startup, set Tor state to:" select "Tor".

(c) At "Display Settings", select "Icon".



** Now, your Firefox will enable Tor on every launch unless you disabled the "Tor Button" on the Firefox.



Step 6 (Optional) :



To check if it works or not. Go to the following sites to check your Ip address.



http://cmyip.com



or



http://whatismyip.com



or



http://check.torproject.org



PART II : Console



Step a :



apt-get install proxychains elinks



Step b :



nano /etc/proxychains.conf



Append the following line :



socks4 127.0.0.1 9050



** It should be there.



Step c :



Usage :



proxychains nmap google.com

proxychains elinks http://cmyip.com

proxychains elinks http://www.whatismyip.com




To see your real IP address :



elinks cmyip.com



Thats all! See you.
Read More..

5 Handy Firefox browser plugins for web developers




The trend to develop single page web applications with MVC or MVVM frameworks like Angular requires good tools and plugins to debug and isolate issues on client side. On the previous tutorial I covered writing JavaScript functions and debugging it with the FireBug plugin for Firefox. In this blog post, I will cover 5 handy Firefox plugins that can make you more productive in fixing issues relating client side code like JavaScript errors, effective CSS applied, HTML errors, etc and client to server interactions like what header was sent? what data was posted?, etc
  1. FireBug
  2. Fire Cookie
  3. YSlow
  4. Tamper Data
  5. Modify Headers
There are other useful plugins like modify headers, HTML validator, etc.

  1. FireBug is  handy to debug and tune client side HTML, CSS, and JavaScript on the fly.
  2. Fire Cookie makes possible to view and manage cookies in your browser. Especially, you can modify and delete cookies.
  3. YSlow analyzes web pages and suggests ways to improve their performance based on a set of rules for high performance web pages. YSlow is an extension to FireBug, and you need to install FireBug before installing YSlow. The YSlow grades your web application and provides recommendations to improve performance. Alternatively, you can also install Page Speed from Google. Similar to Yslow!, it tests website performance.
  4. Tamper Data is a fast, simple yet effective tool which can be used to do penetration testing. Use tamper data to view and modify HTTP/HTTPS headers, trace and time http response/requests and to security test web applications by modifying the POST parameters.
  5. Modify Headers is handy for modifying or adding new headers for testing purpose. For example, add SSO headers to test your application locally.

The FireBug has other developer productivity tools natively within Tools --> Web Developer

Native Inspect Element

This native "Inspect Element" from Firefox may look similar to “Inspect Element in Firebug”, but it  acts in different ways. There is one distinctive feature known as the the 3D view, which analyses the web page in depth.


Responsive Design View

This native "Responsive Design View " assists with the Responsive Website Design (i.e. RWD). With more and more mobile users online via smartphones and tablets, it has never been more important to design a friendly environment for those visitors. A responsive website design allows your visitors to navigate to your site that is optimally designed for the device they are using like smartphone, tablet, or laptop/desktop, without having to painfully zoom in and zoom out.


Style Editor

If you work frequently with CSS then the "style editor" is very handy as it allows you to edit the CSS and see the impact of your change instantly. This is available from version 11.


Here are some step by step tutorials on using FireBug:

    Read More..

    5 Tips to Help You Choose the Right Laser Printer Scanner

    In the past, a laser printer scanner was only used in the office, but more manufacturers are making ones suitable for home use since advancing technology allows them to be smaller and more affordable. Laser printer scanners are faster and have more functions than in the past, so whether you are looking for one for your home or your business, you have many to choose from. Here are a few things you may want to think about before making your purchase.
    What functions besides scanning do you need? Most all-in-one, or multifunction printers, as they are called, also copy and fax. Well, only some fax and most copy. If you need to fax, look carefully to be sure the printer you are considering has a faxing function. When copying, some printers require a computer to be connected to them, and some can copy on their own. If copying often, it is much more convenient to have the latter option since it is faster and less headache.
    Know what you need to print before looking for a printer. While scanners dont vary too much, printers do. Several factors should influence which printer you choose. Will you print in color or only in black and white? If you plan to print in color, the price of the laser printer increases significantly. And laser printers are known for not being able to print great photos and other graphics that need shading, so if you plan to print these types of documents, you many want to think about getting an inkjet multifunction printer instead.

    How much will you print? An office printer may need to print 1000 pages a day while a home office printer might get used only every other day. Printing speed varies, so be sure to know your needs and how fast the printer you are considering prints.
    Know the weight and size of the printer you will purchase. No matter how or where you use the printer you want to be able to move it and fit it in the space you have. For home use, make sure it will fit on your desk and that you can carry it yourself. Office use printers may require a dedicated table or space and a dolly to move them.
    Look around for a good deal. The multifunction printer market is very competitive, and there are often sales. All the major makers, such as Dell, Lexmark, HP, Canon, Brother, and Panasonic sell via their websites and their dealers, both online and in physical stores. You should find one at a discount. Prices vary depending on the features of the printer and range from about 120 USD to over 5000 USD.
    Convenient and multifunctional a laser printer scanner is a great choice for both home and office. They offer many variations in speed, functions and price. Know ahead of time what you want so you will get one that is a great value but also meets all your needs.


    Article Source: http://EzineArticles.com/6920329
    Read More..

    iReport 5 0 finding your way around

    iReport is used to design your report templates. Here is the high level diagram of the key buttons and windows. If any of the windows are not there, you can add them from the menu item "Window".


    The report is divided into "bands" and you can drag and drop report elements from the "palette" into the relevant bands. You can define the band and report elements properties via the "properties" window. New parameters, fields, etc can be added from the "Report Inspector" by right-clicking to bring up the contextual menu.

    You can bring up the contextual menu on a "report element" as shown below to perform relevant tasks. Here is an example on a "Static Text" report element.


    You can also bring it up on a "Text Field" report element as shown below. The "Edit expression" brings up the expression editor.




    Finally, you can view it on three different layouts.

    1. Designer (as shown above)
    2. XML (shows the .jrxml file)
    3. The Preview in your preferred output like "PDF Preview", "HTML Preview",  "XLS Preview (Using JExcelAPI)", etc that you select from the top "Preview" menu. This allows you to preview the actual report generated.


    Read More..

    5 ways to check if String is empty in Java examples

    String in Java is considered empty if its not null and it’s length is zero. By the way before checking length you should verify that String is not null because calling length() method on null String will result in java.lang.NullPointerException. Empty String is represented by String literal “”. Definition of empty String may be extended to those String as well which only contains white space but its an specific requirement and in general String with white space are not considered as empty String in Java. Since String is one of the most frequently used class and commonly used in method arguments, we often needs to check if String is empty or not. Thankfully there are multiple ways to find if String is empty in Java or not. You can also count number of characters in String, as String is represented as character arrayand decide if String is empty or not. If count of characters is zero than its an empty String. In this Java String tutorial we going to see 5 ways to find if any String in Java is empty or not. Here are our five ways to check empty String :
    Read more »
    Read More..