Enable Text Selection in Quick Look / Preview

If you want to select text from files opened with Quick Look and Preview

Open Terminal and paste the following commands

And then

If you want to reverse the changes

And repeat the Finder restart

Fix Cisco IPSec VPN timeout on OSX

There is some kind of bug in the built in Cisco IPSec implementation on OSX since Mountain Lion.

A lot of users experience that the connection drops after everything from 45 to 75 minutes. There is a solution but it demands a bit of “hacking” on your part.

Here are the steps to follow :

1. Connect your Cisco IPSec connection
This will create a file in /var/run/racoon called x.x.x.x.conf, where the x´s represent the IP address you are connecting to.
2. Copy this file to /etc/racoon with :

3. Go to /etc/racoon and open the file for editing
4. The following values need to be edited :
Dead peer detection needs to be set to zero (0)

‘Proposal check’ needs to be changed from ‘obey’ into ‘claim’:

The lifetime value needs to be raised from 3600 seconds to a new value. In my case i set this to 168 hours. (any value you choose will do, but I found this is workable in most cases)You will have to change this in ALL Proposal sections.

5. Save the file
6. Now you need to open racoon.conf for editing
7. Right at the end of the file, change the following value :
Comment out ‘#’ at the very beginning of the last line that starts with ‘include’;
Then type the following line directly under that:

Make sure to use the name of the file you have created

Disconnect from your VPN service and reconnect.
Your connection will now stop dropping out.

VPN Proxy for anonymous torrenting

Ever heard of Privateinternetaccess.com ?
Private Internet Access is an extremely minimalistic personal VPN service that passes all your Web activity through an encrypted tunnel.

There is of course the possibility of using the shipped client, or you can add their service as a proxy in your torrent client.

Here is how (for myTorrent and QBittorrent):

General settings for PrivateInternetAccess

Proxy Type: Socks5
Proxy: proxy-nl.privateinternetaccess.com or 109.201.152.1* 109.201.152.3* 109.201.152.11* 109.201.152.21* 109.201.152.22* 109.201.152.23* 109.201.152.24* 109.201.152.231* 109.201.152.232*
Port: 1080

In Qbittorrent, click Tools -> Options -> Connection.

qbittorrent

In myTorrent, Click Preferences -> Network

mytorrent

1. Checkmark Authentication
2. Username: PIA Generated ID
3. Password: PIA Generated password
4. Click OK and restart uTorrent
5. Checkbox the choice for hostname lookups and peer discovery

Thats it.. you will now be using the PIA Proxy and do not need to connect your main Internet connection through the VPN service.
Of course you will need to purchase a VPN account from PIA, but for securing and maintaining your anonymity, it is totally worth ti

Host discovery with curl

Yesterday i discovered a cool webpage called ifconfig.me
It displays information about your external IP and other HOST information.

The cool thing is that it is designed for use with curl from the command line.

Your external IP
curl ifconfig.me

Your hostname
curl ifconfig.me/host

Your user agent
curl ifconfig.me/ua

External connection port
curl ifconfig.me/port

Display all your information
curl ifconfig.me/all

Extremely useful for command line geeks like myself :)

Network analysis and penetration testing from Android

Today i came across an awesome tool from dsploit.net
It is an Android tool you can use for analyzing and penetration test your current network.

See the features in image below :

Screen Shot 2014-05-09 at 12.31.42

Visit dsploit.net

It is written by Simon Margaritelli
He has just been scammed by some douche and lost his Google Adsense account, so you should consider contributing a few $ for his work.

Everything you want to know about your computer

This time i present a fantastic tool for your system information needs.

SIW – System Information Windows will give you a complete and total overview of your MS Windows system.

Here are some content keywords :

  • Display hidden passwords
  • Change MAC – Adress
  • CPU/Memory usage
  • Password Cracker
  • Network usage
  • Rather than mentioning any more, i suggest you visit this site

    gtopala.com – Home of SIW

    Apache2 + userdir + php – Not working

    I just configured a new webserver and wanted to use the UserDir option.
    Enabling UserDir gives you the option of placing webfiles in a public_html folder in your home folder. You can access the webfiles through http://yourserver.com/~UserName/.

    The problem i encountered was that .php files wouldnt show, they where just downloaded.

    Solving the problem was easy, just open php5.conf in /etc/apache2/mods-enabled.

    Edit it to replicate the listings below (uncomment the same lines in your config).

    Now restart Apache2 with : sudo /etc/init.d/./apache2 restart , and you are good to go.

    Command Line encrypt & decrypt of files – OpenSSL

    Ever had the need to quickly encrypt a file?
    We have previously shown you a tool called Cryptor for simple Encryption/Decryption on OSX.

    In this post we will show you how to use OpenSSL.

    OpenSSL - Command Line usage

    With OpenSSL you can perform quick and easy encrypt/decrypt of files from the Command Line.
    As long as OpenSSL is installed on your system, you can use the same examples as below on any OS (Windows,Linux,OSX).

    Continue reading

    Remove Vlingo from Samsung Galaxy SII

    “WHAT DO YOU WANT TO DO??” …. ahhhhhh FUCK OFF !!!

    Sounds familiar??
    The automatic start of the Vlingo Voice App when doubletapping the home button…
    This has been and is, a reason for many people to not buy a new Samsung Galaxy phone.
    There has been a several writings about this issue:
    The Guardian – Remove Vlingo / Uninstall Vlingo

    But yet, there is no offical way of killing this app.
    For a long time the only way og getting rid of it has been to root your phone.
    By doing that, you void your warranty and most of us is not keen on doing that.

    But there is a solution.. Continue reading
    Continue reading

    CCleaner – Add your custom files or folders for deletion

    CrapCleaner is a great tool for removing all sorts of crap, *doh, from your computer.
    But many users doesn’t know about all features in this program.
    Most users often don’t bother with exploring what is actually available in different software.

    Well, in CCleaner you can add any folder you want, for deletion when you run the Cleaner.

    Continue reading

    Install Dropbox on Linux Server

    Dropbox is probably the best way of sharing files quickly and secure today. The possibility of instant syncing between computers makes it a must have for every geek with several computers active.

    But installing it on a X free Linux server, has so far been a bit tricky.

    Not anymore – some guys have made an excellent script for installing Dropbox and linking to your account.

    Check it out here

    Weird MS Word problem – Home and Delete keys dont work

    I suddenly noticed that my Home and Delete keys didnt work in MS Word.
    When marking a bunch of text, and pressing delete, i had to confirm by pressing Y (small message poppin up in lower status line).

    Well i found the problem and have fixed it. Go to TOOLS -> OPTIONS , and the GENERAL tab.

    There you find two boxes labeled :

  • Help for Wordperfect users
  • Navigation help for Wordperfect users.
  • Disable them.(they shall not be crossed)

    And whoops. Your keys will work perfectly.