Android 4.1, 4.2, 4.3 Jelly Bean with Adobe Flash

Android 4.1, 4.2, 4.3 Jelly Bean with Adobe Flash

Android 4.1, 4.2, 4.3 Jelly Bean with Adobe Flash

Some browsers such as Google Chrome and Opera Mini doesn’t support Flash on your Android device. So far, Mozilla Firefox, Dolphin, Boat and default Android 4.0 browser supports the functionality. If you device is running Android Jelly Bean version, here are the steps to install and use Adobe Flash.

1.      Enable the option to install non-market…

View On WordPress

Android 4.1, 4.2, 4.3 Jelly Bean with Adobe Flash

Android 4.1, 4.2, 4.3 Jelly Bean with Adobe Flash

image-2591.jpg

Android 4.1, 4.2, 4.3 Jelly Bean with Adobe Flash

Some browsers such as Google Chrome and Opera Mini doesn’t support Flash on your Android device. So far, Mozilla Firefox, Dolphin, Boat and default Android 4.0 browser supports the functionality. If you device is running Android Jelly Bean…
– Read More from source @ http://blog.cripperz.sg/2014/08/11/android-4-1-4-2-4-3-jelly-bean-adobe-flash/

View On WordPress

Android 4.1, 4.2, 4.3 Jelly Bean with Adobe Flash - CP Blog

New Post has been published on http://blog.cripperz.sg/2014/08/11/android-4-1-4-2-4-3-jelly-bean-adobe-flash/

Android 4.1, 4.2, 4.3 Jelly Bean with Adobe Flash

Android 4.1, 4.2, 4.3 Jelly Bean with Adobe Flash

Some browsers such as Google Chrome and Opera Mini doesn’t support Flash on your Android device. So far, Mozilla Firefox, Dolphin, Boat and default Android 4.0 browser supports the functionality. If you device is running Android Jelly Bean version, here are the steps to install and use Adobe Flash.

1.      Enable the option to install non-market apps on your device. Go to Settings > Security > Check Unknown Sources.

2.      Download the Adobe Flash version 11.1.115.81 for Android OS on your computer or directly to your device via browser.

3.      If you downloaded the APK file on your computer, copy and paste it to the internal storage or microSD card of your Android device.

4.      Go to the File Manager of you Android device and find the APK of Adobe Flash you’ve copied or downloaded earlier.

5.      Now tap the APK file to install Adobe Flash on your Android Jelly Bean running device.

6.      After that, go to your mobile browser and enable Flash from the settings option.

Android 4.4 KitKat Adobe Flash

Android 4.4 KitKat was not supported by Adobe to have Flash as a native system feature but you can still install manually the application on your device.

1.      Enable the installing of APK files by checking Unknown Sources on the settings just like on Android Jelly Bean.

2.      Download the Boat or Dolphin Browser from the Google Play Store.

3.      If you are using Dolphin, download the Dolphin Jetpack app as well from the Play Store.

4.      Download the Adobe Flash version 11.1.115.81 on your mobile device using a browser or to the computer. You need to copy and paste the APK to the mobile device if you downloaded it on a computer.

5.      Go to the File Manager then tap on the APK to install Adobe Flash.

6.      After the installation, launch Boat or Dolphin browser then go to the browser’s settings to enabled Flash plugin.

Once your device has Adobe Flash, mobile browsers can now access and load Web pages with Flash content displays just like desktop browsers.

Source Article @ http://blog.cripperz.sg/2014/08/11/android-4-1-4-2-4-3-jelly-bean-adobe-flash/

Common Tar Command Tutorial with 10 Practical Examples

Common Tar Command Tutorial with 10 Practical Examples

On Unix platform, tar command is the primary archiving utility. Understanding various tar command options will help you master the archive file manipulation.

In this article, let us review various tar examplesincluding how to create tar archives (with gzip and bzip compression), extract a single file or directory, view tar archive contents, validate the integrity of tar archives, finding out the…

View On WordPress

Common Tar Command Tutorial with 10 Practical Examples

Common Tar Command Tutorial with 10 Practical Examples

image-2587.jpg

http://blog.cripperz.sg/wp-content/uploads/2013/10/linux-tux-logo.jpg On Unix platform, tar command is the primary archiving utility. Understanding various tar command options will help you master the archive file manipulation.

In this article, let us review various tar examples including how to create tar archives (with gzip and bzip compression), extract a…
- Read More from source @ http://blog…

View On WordPress

Common Tar Command Tutorial with 10 Practical Examples - CP Blog

New Post has been published on http://blog.cripperz.sg/2014/07/28/common-tar-command-tutorial-10-practical-examples/

Common Tar Command Tutorial with 10 Practical Examples

On Unix platform, tar command is the primary archiving utility. Understanding various tar command options will help you master the archive file manipulation.

In this article, let us review various tar examples including how to create tar archives (with gzip and bzip compression), extract a single file or directory, view tar archive contents, validate the integrity of tar archives, finding out the difference between tar archive and file system, estimate the size of the tar archives before creating it etc.,

1. Creating an archive using tar command

Creating an uncompressed tar archive using option cvf

This is the basic command to create a tar archive.

$ tar cvf archive_name.tar dirname/

In the above command:

  • c – create a new archive
  • v – verbosely list files which are processed.
  • f – following is the archive file name

Creating a tar gzipped archive using option cvzf

The above tar cvf option, does not provide any compression. To use a gzip compression on the tar archive, use the z option as shown below.

$ tar cvzf archive_name.tar.gz dirname/
  • z – filter the archive through gzip

Note: .tgz is same as .tar.gz

Note: I like to keep the ‘cvf’ (or tvf, or xvf) option unchanged for all archive creation (or view, or extract) and add additional option at the end, which is easier to remember. i.e cvf for archive creation, cvfz for compressed gzip archive creation, cvfj for compressed bzip2 archive creation etc., For this method to work properly, don’t give – in front of the options.

Creating a bzipped tar archive using option cvjf

Create a bzip2 tar archive as shown below:

$ tar cvfj archive_name.tar.bz2 dirname/
  • j – filter the archive through bzip2

gzip vs bzip2: bzip2 takes more time to compress and decompress than gzip. bzip2 archival size is less than gzip.

Note: .tbz and .tb2 is same as .tar.bz2

2. Extracting (untar) an archive using tar command

Extract a *.tar file using option xvf

Extract a tar file using option x as shown below:

$ tar xvf archive_name.tar
  • x – extract files from archive

Extract a gzipped tar archive ( *.tar.gz ) using option xvzf

Use the option z for uncompressing a gzip tar archive.

$ tar xvfz archive_name.tar.gz

Extracting a bzipped tar archive ( *.tar.bz2 ) using option xvjf

Use the option j for uncompressing a bzip2 tar archive.

$ tar xvfj archive_name.tar.bz2

Note: In all the above commands v is optional, which lists the file being processed.

3. Listing an archive using tar command

View the tar archive file content without extracting using option tvf

You can view the *.tar file content before extracting as shown below.

$ tar tvf archive_name.tar

View the *.tar.gz file content without extracting using option tvzf

You can view the *.tar.gz file content before extracting as shown below.

$ tar tvfz archive_name.tar.gz

View the *.tar.bz2 file content without extracting using option tvjf

You can view the *.tar.bz2 file content before extracting as shown below.

$ tar tvfj archive_name.tar.bz2

4. Listing out the tar file content with less command

When the number of files in an archive is more, you may pipe the output of tar to less. But, you can also use less command directly to view the tar archive output, as explained in one of our previous article Open & View 10 Different File Types with Linux Less Command — The Ultimate Power of Less.

5. Extract a single file from tar, tar.gz, tar.bz2 file

To extract a specific file from a tar archive, specify the file name at the end of the tar xvf command as shown below. The following command extracts only a specific file from a large tar file.

$ tar xvf archive_file.tar /path/to/file

Use the relevant option z or j according to the compression method gzip or bzip2 respectively as shown below.

$ tar xvfz archive_file.tar.gz /path/to/file

$ tar xvfj archive_file.tar.bz2 /path/to/file

6. Extract a single directory from tar, tar.gz, tar.bz2 file

To extract a single directory (along with it’s subdirectory and files) from a tar archive, specify the directory name at the end of the tar xvf command as shown below. The following extracts only a specific directory from a large tar file.

$ tar xvf archive_file.tar /path/to/dir/

To extract multiple directories from a tar archive, specify those individual directory names at the end of the tar xvf command as shown below.

$ tar xvf archive_file.tar /path/to/dir1/ /path/to/dir2/

Use the relevant option z or j according to the compression method gzip or bzip2 respectively as shown below.

$ tar xvfz archive_file.tar.gz /path/to/dir/

$ tar xvfj archive_file.tar.bz2 /path/to/dir/

7. Extract group of files from tar, tar.gz, tar.bz2 archives using regular expression

You can specify a regex, to extract files matching a specified pattern. For example, following tar command extracts all the files with pl extension.

$ tar xvf archive_file.tar --wildcards '*.pl'

Options explanation:

  • –wildcards *.pl – files with pl extension

8. Adding a file or directory to an existing archive using option -r

You can add additional files to an existing tar archive as shown below. For example, to append a file to *.tar file do the following:

$ tar rvf archive_name.tar newfile

This newfile will be added to the existing archive_name.tar. Adding a directory to the tar is also similar,

$ tar rvf archive_name.tar newdir/

Note: You cannot add file or directory to a compressed archive. If you try to do so, you will get “tar: Cannot update compressed archives” error as shown below.

$ tar rvfz archive_name.tgz newfile
tar: Cannot update compressed archives
Try `tar --help' or `tar --usage' for more information.

9. Verify files available in tar using option -W

As part of creating a tar file, you can verify the archive file that got created using the option W as shown below.

$ tar cvfW file_name.tar dir/

If you are planning to remove a directory/file from an archive file or from the file system, you might want to verify the archive file before doing it as shown below.

$ tar tvfW file_name.tar
Verify 1/file1
1/file1: Mod time differs
1/file1: Size differs
Verify 1/file2
Verify 1/file3

If an output line starts with Verify, and there is no differs line then the file/directory is Ok. If not, you should investigate the issue.

Note: for a compressed archive file ( *.tar.gz, *.tar.bz2 ) you cannot do the verification.

Finding the difference between an archive and file system can be done even for a compressed archive. It also shows the same output as above excluding the lines with Verify.

Finding the difference between gzip archive file and file system

$ tar dfz file_name.tgz

Finding the difference between bzip2 archive file and file system

$ tar dfj file_name.tar.bz2

10. Estimate the tar archive size

The following command, estimates the tar file size ( in KB ) before you create the tar file.

$ tar -cf - /directory/to/archive/ | wc -c
20480

The following command, estimates the compressed tar file size ( in KB ) before you create the tar.gz, tar.bz2 files.

$ tar -czf - /directory/to/archive/ | wc -c
508

$ tar -cjf - /directory/to/archive/ | wc -c
428

Source Article @ http://blog.cripperz.sg/2014/07/28/common-tar-command-tutorial-10-practical-examples/

scp different ssh port

scp different ssh port

scp different ssh ports (one or two different ports)

You can use ~/.ssh/config to specify the ports to use for the hosts (and for setting many other nice things; check the man page man ssh_config):

# ~/.ssh/config

Host 67.12.21.133
  Port 6774

Host 67.129.242.40
  Port 6774

When doing this, you have to use the option -3to scp, which copies the files through your local machine. Otherwise, scp…

View On WordPress

scp different ssh port

scp different ssh port

image-2584.jpg

http://blog.cripperz.sg/wp-content/uploads/2013/10/linux-tux-logo.jpg scp different ssh ports (one or two different ports)

You can use ~/.ssh/config to specify the ports to use for the hosts (and for setting many other nice things; check the man page man ssh_config):
# ~/.ssh/config

Host 67.12.21.133
Port 6774

Host 67.129.242.40
Port 6774

When…
- Read More from source @ http://blog.cripperz.s…

View On WordPress

scp different ssh port - CP Blog

New Post has been published on http://blog.cripperz.sg/2014/07/26/scp-different-ssh-port/

scp different ssh port

scp different ssh ports (one or two different ports)

You can use ~/.ssh/config to specify the ports to use for the hosts (and for setting many other nice things; check the man page man ssh_config):

# ~/.ssh/config

Host 67.12.21.133
  Port 6774

Host 67.129.242.40
  Port 6774

When doing this, you have to use the option -3 to scp, which copies the files through your local machine. Otherwise, scp issues the scp command via ssh on the first host, so it actually runs

 ssh -p 6774 denny@67.12.21.133 scp -rp /home/denny/testapp1.txt denny@67.129.242.40:

and then the ~/.ssh/config of the first remote host (67.12.21.133) is used instead of your local one.

When you have setup your ~/.ssh/config correctly, this should work:

scp -rp3 denny@67.12.21.133:/home/denny/testapp1.txt denny@67.129.242.40:

Of course, you can also copy the contents of the ~/.ssh/config file onto your first remote host, and then you can use scp without the -3 option, which will probably speeden up the transfer.

Or you can use the trick that scp uses and use such a command line:

ssh -p 6774 denny@67.12.21.133 scp -rp -P 6774 /home/denny/testapp1.txt denny@67.129.242.40:

(Note the different case of the port parameter for ssh and scp: ssh -p 6774 vs. scp -P 6774)

PS: I got this information from the OpenSSH bugzilla where I entered this as a bug: https://bugzilla.mindrot.org/show_bug.cgi?id=2020

Source Article @ http://blog.cripperz.sg/2014/07/26/scp-different-ssh-port/

5 Best Uploading PHP Script Free / Opensource / Freemium

5 Best Uploading PHP Script Free / Opensource / Freemium

There are many file uploading/hosting scripts available in the internet. Today i have collected 5 best open source file hosting scripts that can help you create a file hosting service easily.

5 Best File Hosting Scripts To Make File Sharing Websites

1. Xfilesharing (Free+Commercial)

XFileSharing Prois SibSoft’s advanced, professional solution for file sharing services. Xfilesharing is most…

View On WordPress

5 Best Uploading PHP Script Free / Opensource / Freemium

5 Best Uploading PHP Script Free / Opensource / Freemium

image-2582.jpg

http://blog.cripperz.sg/wp-content/uploads/2012/10/cpavatarwhite120x1201.png There are many file uploading/hosting scripts available in the internet. Today i have collected 5 best open source file hosting scripts that can help you create a file hosting service easily.
5 Best File Hosting Scripts To Make File Sharing Websites
1. Xfilesharing…
- Read More from source @ http://blog.cripperz.sg/2014/…

View On WordPress

5 Best Uploading PHP Script Free / Opensource / Freemium - CP Blog

New Post has been published on http://blog.cripperz.sg/2014/07/25/5-best-uploading-php-script-free-opensource-freemium/

5 Best Uploading PHP Script Free / Opensource / Freemium

There are many file uploading/hosting scripts available in the internet. Today i have collected 5 best open source file hosting scripts that can help you create a file hosting service easily.

5 Best File Hosting Scripts To Make File Sharing Websites

1. Xfilesharing (Free+Commercial)

XFileSharing Pro is SibSoft’s advanced, professional solution for file sharing services. Xfilesharing is most recommended file hosting script.With XFileSharing’s upload system you can upload multiple files simultaneously. You get a visual representation of files that have been loaded, as well as what is currently uploading. Password authentication allows your users to protect all of their sensitive upload data. Users can send links to recently uploaded files to their friends or themselves. For popular websites with heavy file transfer traffic, you can add as many additional servers as you need. Additional file servers can be located on different host networks  they can even be in different countries. XFileSharing Pro will aggregate the power of all your servers for ultra-quick file transfers for uploads and downloads.

Demo
2.Oxishare (Free+commercial)

With OxiShare, you can setup a fully functional and advanced file hosting site within minutes and earn profits through showing advertisements on your site, download pages and more. OxiShare fully supports PayPal IPN and MoneyBookers to take payments from users wanting to upgrade to a premium account. In the future more payment methods will be introduced.

Demo

3. Uploadscript (Commercial)

UploadScript is php file hosting script which is  extremely configurable. You can control generic settings, as well as per-group settings (such as restrictions) from a convenient control panel. You can customize the skin and language used throughout the script, the mime-type output (for instance, to show ads on the page displaying an image), group restrictions, and more.

Demo

4.Mega File Hosting Script (Commercial)

Mega File Hosting Script was Built to Handle Large files (500M +) and is designed to be of minimal burden on your server. MFHS has been rigorously tested and designed to handle brutal file sizes and endure lengthy uploading periods without breaking. This alone sets MFHS world’s apart from any competing script.

Demo

5.PHP File Uploader (Free)

PHP File Uploader is an easy to use, hi-performance free File Upload Script which allows you to upload files to web server without refreshing the page. It allows you select and upload multiple files and cancel running uploads, add new files during uploading.

Demo

Bonus list :

Source Article @ http://blog.cripperz.sg/2014/07/25/5-best-uploading-php-script-free-opensource-freemium/

Rsync Examples (Linux Command)

Rsync Examples (Linux Command)

HowTo Use rsync For Transferring Files Under Linux or UNIX

by on December 5, 2006 · 60 comments· LAST UPDATED August 8, 2012

in , ,

How do you install and use rsync to synchronize files and directories from one location (or one server) to another location? – A common question asked by new sys admin.

rsyncis a free software computer program for Unix and Linux…

View On WordPress

Rsync Examples (Linux Command) - CP Blog

New Post has been published on http://blog.cripperz.sg/2014/07/16/rsync-examples-linux-command/

Rsync Examples (Linux Command)

HowTo Use rsync For Transferring Files Under Linux or UNIX

by on December 5, 2006 · 60 comments· LAST UPDATED August 8, 2012

in , ,

How do you install and use rsync to synchronize files and directories from one location (or one server) to another location? – A common question asked by new sys admin.

rsync is a free software computer program for Unix and Linux like systems which synchronizes files and directories from one location to another while minimizing data transfer using delta encoding when appropriate. An important feature of rsync not found in most similar programs/protocols is that the mirroring takes place with only one transmission in each direction.

So what is unique about the rsync command?

It can perform differential uploads and downloads (synchronization) of files across the network, transferring only data that has changed. The rsync remote-update protocol allows rsync to transfer just the differences between two sets of files across the network connection.

How do I install rsync?

Use any one of the following commands to install rsync. If you are using Debian or Ubuntu Linux, type the following command:
# apt-get install rsync
OR
$ sudo apt-get install rsync
If you are using Red Hat Enterprise Linux (RHEL) / CentOS 4.x or older version, type the following command:
# up2date rsync
RHEL / CentOS 5.x or newer (or Fedora Linux) user type the following command:
# yum install rsync

Always use rsync over ssh

Since rsync does not provide any security while transferring data it is recommended that you use rsync over ssh session. This allows a secure remote connection. Now let us see some examples of rsync command.

Comman rsync command options

  • --delete : delete files that don’t exist on sender (system)
  • -v : Verbose (try -vv for more detailed information)
  • -e "ssh options" : specify the ssh as remote shell
  • -a : archive mode
  • -r : recurse into directories
  • -z : compress file data

Task : Copy file from a local computer to a remote server

Copy file from /www/backup.tar.gz to a remote server called openbsd.nixcraft.in
$ rsync -v -e ssh /www/backup.tar.gz jerry@openbsd.nixcraft.in:~
Output:

Password:
sent 19099 bytes  received 36 bytes  1093.43 bytes/sec
total size is 19014  speedup is 0.99

Please note that symbol ~ indicate the users home directory (/home/jerry).

Task : Copy file from a remote server to a local computer

Copy file /home/jerry/webroot.txt from a remote server openbsd.nixcraft.in to a local computer’s /tmp directory:
$ rsync -v -e ssh jerry@openbsd.nixcraft.in:~/webroot.txt /tmp

Task: Synchronize a local directory with a remote directory

$ rsync -r -a -v -e "ssh -l jerry" --delete /local/webroot openbsd.nixcraft.in:/webroot

Task: Synchronize a remote directory with a local directory

$ rsync -r -a -v -e "ssh -l jerry" --delete openbsd.nixcraft.in:/webroot/ /local/webroot

Task: Synchronize a local directory with a remote rsync server or vise-versa

$ rsync -r -a -v --delete rsync://rsync.nixcraft.in/cvs /home/cvs
OR
$ rsync -r -a -v --delete /home/cvs rsync://rsync.nixcraft.in/cvs

Task: Mirror a directory between my “old” and “new” web server/ftp

You can mirror a directory between my “old” (my.old.server.com) and “new” web server with the command (assuming that ssh keys are set for password less authentication)
$ rsync -zavrR --delete --links --rsh="ssh -l vivek" my.old.server.com:/home/lighttpd /home/lighttpd

Read related previous articles

Other options – rdiff and rdiff-backup

The rdiff command uses the rsync algorithm. A utility called rdiff-backup has been created which is capable of maintaining a backup mirror of a file or directory over the network, on another server. rdiff-backup stores incremental rdiff deltas with the backup, with which it is possible to recreate any backup point. Next time I will write about these utilities.

rsync for Windows Server/XP/7/8

Please note if you are using MS-Windows, try any one of the program:

  1. DeltaCopy
  2. NasBackup
Further readings

=> Read rsync man page
=> Official rsync documentation

Source Article @ http://blog.cripperz.sg/2014/07/16/rsync-examples-linux-command/

Xen Server console to vm via command line / CLI

Xen Server console to vm via command line / CLI

How to get console on linux domU with XenServer (xm console equivlent)

Besides the gui/vnc con­soles you can still use the equiv­lent of xm con­sole in Cit­rix XenServer.

On the host console:

  • xe vm-list to get the list of domins run­ning (just note the uuid of the domain you want).
  • list_domains will list the domain name and the uuid of the domains. Match up your uuid so you get the proper dom_id

View On WordPress