Friday, July 4, 2014

Compress all files including hidden files with tar

Type:
tar -cvjf compressed.tar.bz2 path/to/files/.

Wednesday, June 18, 2014

How to forward ports with Putty to a remote computer with 2 simple steps

In putty configuration: Connection → SSH → Tunnels:

Here I used a random port 58808:


1) Input "127.0.0.2:58808" to Source port, you can also use "localhost:58808" or "127.0.0.1:58808", depending on compatibility and preference.
2) input "localhost:58808" to Destination,
3) Check "Local" and "Auto", then click "Add".



And you're done!

Now you can connect to your localhost(127.0.0.2) using your defined port and it will forward it to your remote computer.
You can also forward to different and multiple ports, if desired.

Thursday, May 22, 2014

Display WiFi signal strength in the terminal

You can run this command:
watch -n 1 "awk 'NR==3 {print \"WiFi Signal Strength = \" \$3 \"00 %\"}''' /proc/net/wireless"
This command has also the same function, with more info:
watch -n 1 cat /proc/net/wireless

Sunday, April 13, 2014

Move/set Firefox cache location

You can do this by creating a new hidden preference.

  • Type about:config into the location bar and press enter
  • Accept the warning message that appears, you will be taken to a list of preferences
  • Right-click somewhere in the list and select "New > String"
  • For the name of the preference type browser.cache.disk.parent_directory
  • For its value type the path to where you want to store the cache, for example d:\fftemp
  • Next locate the preference browser.cache.disk.enable, it must be set to true, if it is not, double-click on it to change its value
  • Set the size of the cache to something like 32000 to 512000 by setting browser.cache.disk.capacity (32-512MB)

  • For more information on this see: https://support.mozilla.org/en-US/questions/768867

    Monday, March 24, 2014

    Rthdribl for testing GPU stability on windows

    "RTHDRIBL is an application which is so awesome, it needed to have its awesomeness reduced by giving it a retarded name!" The name is an acronym for Real-Time High Dynamic Range Image-Based Lighting. You can download it That's all in real-time: motion blur, depth of field, reflection, refraction, and lots of other fancy effects! Official website: http://www.daionet.gr.jp/~masa/rthdribl/ It's old (2003), but that doesn't reduce it's awesomeness.

    Friday, January 17, 2014

    Best Free Android Apps

    Screen Filter
    T.E.A.M. Battery Bar
    aTimer
    Google Keep
    Irssi ConnectBot (SSH Client)
    ES File Explorer
    Roccat Power-Grid (Remote control your PC with shortcuts)
    bVNC Free (Remote control with VNC)

    For safe and private browsing & messaging:
    Orbot (+Others Below)
    ChatSecure
    Orweb: Private Web Browser


    Enabling ssl for Apache

    Website needs to be both enabled AND available.
    For this, you need to create a symbolic link into the sites-enabled folder and restart Apache:
    cd /etc/apache2/sites-enabled
    ln -s ../sites-available/default-ssl default-ssl
    /etc/init.d/apache2 reload