Saturday, September 24, 2016

Flip the screen of your Linux desktop.

Ever seen a YouTube video uploaded in mirror effect to prevent from the Copyright infringement? Mostly, live shows and cover videos are uploaded mirror effect. To view those videos it can be disturbing. But if you are a Linux user, you can flip the screen using certain codes in terminal.
The command 'xrandr' is used for this purpose.
Following are those codes to flip the desktop accordingly:

  1. Flip the screen horizontally like a mirror.
    xrandr -x
  2. Flip the screen vertically.
    xrandr -y
  3. Revert to normal the screen.
    xrandr -o normal
  4. Invert the screen.
    xrandr -o inverted

Thursday, July 7, 2016

Change (NEXT or PREV) the songs on the iDevice using volume keys (JAILBROKEN)

If you have a jailbroken iDevice(iPhone, iPad or iPod) then you can use the volume keys to change the songs while playing. You can either Next the playing song or Prev(Previous) the playing song. You just need a simple Cydia tweak known as 'Activator' to do so!

Activator is a simple but very important tweak developed by Ryan Petrich used for defining many tasks for simple gestures. It can be downloaded by adding this repo:
http://rpetri.ch/repo
After you've installed this tweak, following process commences:
  1. Go to Settings > Activator.


  2. Click on 'At Lock Screen'.

  3. Scroll down to VOLUME BUTTONS section then tap 'Up Short Hold'.

  4. A new menu appears, tap on 'Next Track'. This will allow to play the next track while playing the music.

NOTE: 
  • The above process will work only on the locked iDevices. 
  • Similar process can be carried out to play the previous track. Just tap on 'Down Short Hold' instead of 'Up Short Hold' and 'Previous Track' instead of 'Next Track'.
  • This trick will only work on JAILBROKEN devices.

Wednesday, July 6, 2016

Are you ready to CATCH EM' ALL?

The Hype is Real. Pokemon Go is rolling out on ios and android. 


The Pokemon franchise is back with a bang with "Pokemon Go". For those who were not following Nintendo; Pokemon Go is an augmented reality mobile game which uses smartphone's camera and sensors and GPS that allows you to fulfill your childhood fantasy of becoming a pokemon trainer in real. 

Nintendo teamed up with renowned game developer Niantic who also developed the famous AR mobile game called Ingress.  Pokemon Go uses location based algorithms so that traveling to different places will let you catch new pokemons and battle in gyms and on top of that you will be helping yourself with daily exercise as well. You can buy a 35$ wrist wearable that will allow you to play the game without having to open your phone. 

You can download the game HERE.  








Tuesday, July 5, 2016

Restrict videos from autoplaying in your browser

It's annoying when you've opened six tabs and you cannot figure out how to close the playing video.

                        It's annoying when you are surfing the web with many tabs and cannot figure out where on earth is this video playing from and on top of that you are suffering from low bandwidth.
You can solve this in few steps without having the trouble of installing any software.

                                               


STEP 1: Navigate to the 3 lines at the top right corner and click on settings.
                                 


STEP 2: Scroll down and go to advanced settings and click on content settings.




 STEP 3: Now you can choose when to run those plugins manually and you can even manage exceptions for some sites as well like facebook videos. 

                          



STEP 4:  Disable the adobe flash player and then you are good to go. 


Next time you find yourself an auto playing video, you will get a gray box with a jigsaw symbol and if you feel like playing it then right click it and click Run this plugin. 

Download and Install XAMPP for Linux

XAMPP is one of the most convenient platform to install Apache distribution containing MariaDB, PHP and Perl. The package is open source and is easy to install and manipulate. By installing XAMPP, one can create an offline site to test their PHP skills, install offline WordPress and create an offline WordPress site, etc.
XAMPP is really easy to install, one just need to download suitable package from this website.
After installing the package, proceed to following steps:
  1. Open the terminal: Ctrl+Alt+T

  2. Locate the destination of package by 'change directory' command, i.e. "cd":
    cd location/location/.../location

  3. Type the following commands and press enter key:
    sudo ./xampp.run

  4. Note that the name 'xampp.run' might be different from the original package name that you've downloaded. Also that I'm doing the installation process for XAMPP for Linux 5.6.15 
  5. You will be asked to give your password. Give the correct password and hit enter.

  6. A new window of setup will appear after the logo of 'Bitnami' pops out.

  7. Click 'Next' button and check(or cross) the 'XAMPP Core Files'. This will allow the installation to install the core files of Apache, MySQL, PHP, Perl and their dependencies.

  8. Click the 'Next' button till the windows wants. Click 'Finish' to end the installation successfully.

  9. Click on the 'Manage Servers' tab. Then click on 'Restart All' button to start all the servers and database.

  10. Open the browser and type 'localhost/dashboard' to proceed to your desired task.

Monday, July 4, 2016

Change permission of all the contents of a folder in Ubuntu


The method for changing the permission of specific file or folder was discussed in this post. However, if anyone is not allowed accessing multiple files or folder inside a folder then you might be trying the code for every single contents. That's just a waste of time in my opinion. Here's quick method of changing the permission of every contents of a folder:
  • Open the terminal: Ctrl+Alt+T
  • Change the directory by using the change directory command, 'cd' as:
    cd location/location/.../location
  • Type the following codes(here, foldername means the name of the folder whose contents are to be accessed):
    chmod -R 777 foldername
    
  • This will give you access to every contents of the folder.

Change permission of specific file or folder in Ubuntu


Sometimes user might not get access to read/write a file or folder. This is due to the fact that the user is not granted full permission to modify them. The simplest method to change the permission for files and folder in Ubuntu are given below:
  • Open the terminal: Ctrl+Alt+T
  • Change the directory by using the change directory command, 'cd' as:
    cd location/location/.../location
  • Type the following codes:
    chmod 777 filename_with_extension/foldername
  • This will give you access to the specific file or folder.
    Click here to know how to get access to all the contents of a folder.