Posts

Showing posts with the label Windows

How to install apk file on android emulator

  Sometimes you do not have android device to test the android app (apk). But don’t worry you can install the android app on the emulator. It is very easy to install and test the app on android emulator. For this even you do not require any IDE or any development experience. In this post, I have will show you how to install any external app (apk) to the android emulator. I assume that the emulator is already running on your machine. To know more how to  run the emulator Following are the step to install the apk on the android emulator. Linux/Mac Paste the .apk file to platform-tools in the android-sdk directory. Open Terminal and navigate to platform-tools folder in android-sdk. Then Execute this command – ./adb install xyz. apk If the installation is successful then you will get your app in the launcher of your android emulator. Windows Open the cmd, and move to the platform-tools folder of the android-sdk directory. Paste the .apk file in the ‘platform-tools‘ folder. Then Execute thi

How to run windows programs on linux

Image
  Wine is a great way to run your favorite Windows programs on Linux , but if you don't want to mess with a program's settings to get it just right, free app PlayOnLinux has a bunch in its database that you can install with one click. Run Windows Apps in Linux with Wine 1.0 No matter how easy Linux distributions make it for newcomers to install and use a free,… Read more PlayOnLinux uses Wine to install these programs, so you aren't getting some half-assed emulation here—this is just a way to quickly and easily install your favorite apps from one simple menu. It has a  ton  of games, from Starcraft II to Portal to Mass Effect, plus other popular Windows apps like Microsoft Office. Essentially, it takes the technical, behind-the-scenes work and does it all for you, so you can get to using your apps. It'll even install the best version of Wine for each app, meaning you always get the best experience possible. Hit the link to check it out, and see the How-To Geek link for

How to change PostgreSQL database encoding to UTF8

  The default encoding of the template databases in PostgreSQL is set to SQL_ASCII. If this encoding has not been changed, then the new databases will be created using this template and hence will have the same encoding SQL_ASCII. Overall this should not be a big problem unless Unicode data is required to be saved in the database. In that case you will receive an error such as : Unicode escape values cannot be used for code point values above 007F when the server encoding is not UTF8. In this blog, we will go through all steps in order to change the encoding of the database to UTF8. First of all one needs to know that encoding of already created database cannot be altered. Hence we need to drop and create a new one. Checking the current server encoding. postgres@yourserver : ~ $ psql psql ( 10.7 ( Ubuntu 10.7 - 0ubuntu0 .18 . 04.1 ) ) Type "help" for help . postgres = # SHOW SERVER_ENCODING; server_encoding - - - - - - - - - - - - - - - - - SQL_ASCII ( 1 row ) po

Why most servers run on linux

  There are many reasons that most servers on the Internet run Linux. Software.  Web servers, caches, FTP servers, web applications, DNS severs, and on and on. They are available for Linux and Unix first and in a wide variety. History.  Windows was designed for the single user desktop, whereas Unix was designed as a multiuser networked machine early on, even before Windows existed. Secondly, Unix was commercial, and the BSDs were tied up in court when Linux rose to power. Price.  Linux systems are free. A company can grab a Linux variant and have an industrial strength server for free. Sure, they can get support and such if they pay - but the fact is many companies let support go. Marketshare.  Back in the 80s there was a slogan:  No one has ever been fired for buying IBM.  That sentiment now extends to Linux. The lawsuit that embroiled Unix did a huge amount of damage to Unix in the marketplace and Linux filled the void. Security.  Linux was designed as a multiuser environment from th