Skip to main content

Posts

Generate release mode APK for React-Native project to publish on PlayStore

Good Day All! I hope you are doing Good. From last couple of days, Me and my friends were doing comparative study of ionic3 and react-native. During that period, we were struggling to generate release mode APK for React-Native project. Finally, we came across following solution:   1.      Create and then copy a keystore file to android/app keytool -genkey -v -keystore mykeystore.keystore -alias mykeyalias -keyalg RSA -keysize 2048 -validity 10000   2.      Setup your gradle variables in android/gradle.properties MYAPP_RELEASE_STORE_FILE=mykeystore.keystore MYAPP_RELEASE_KEY_ALIAS=mykeyalias MYAPP_RELEASE_STORE_PASSWORD=***** MYAPP_RELEASE_KEY_PASSWORD=*****   3.      Add signing config to android/app/build.gradle   android {     signingConfigs {         release {             storeFile file(MYAPP_RELEASE_STORE_FILE)             storePassword MYAPP_RELEASE_STORE_PASSWORD             keyAlias MYAPP_RELEASE_KEY_ALIAS             keyPassword MYAPP_RELEASE_KEY_PASSWORD         }   
Recent posts

Easy Way to Calculate Remainder of Long Division

       Most of the calculators unable to calulate Remainder of long division. Today I am going to show you a easy way to Calculate Remainder of Long Division using square-and-multiply algorithm. Consider example as (25) 17 % 77 As we know,             25 17 = 25 16 x 25 1 So we perform steps as follows:             25 1 % 77 = 25             25 2 % 77 = 9             25 4 % 77 = 9 2 % 77 = 4             25 8 % 77 = 4 2 % 77 = 16             25 16 % 77 = 16 2 % 77 =25 Since, 17 = 16 + 1 we stopped after 25 16 % 77  Final computation,             (25) 17 % 77 = { [ (25) 16 % 77 ] x [ (25) 1 % 77 ] } % 77                                 = { 25x25 } % 77                                 = 9  Happy Coding With Mathematics!

The selection procedure of Persistent

The different levels of campus recruitment for Persistent Systems involves following stages. 1. Aptitude test Involving 60 questions to be answered in 60 mins. Involves 5 aptitude questions, and other 55 questions from all Computer Science/IT subjects like Data Structures, Microprocessor, C/C++, Java, DBMS, Networking, Operating Systems and Communication Systems. 2. Written Test Involving Essay Writing and a C program (we were asked to write a program to convert source code input as a file.c into a source code file with C specific indentation removing extraneous spaces and performing appropriate indentation ). This test is to be completed in 30 mins. Results were declared after this two rounds of 90 mins. 3. Technical Round: 1 This round is toughest of all to clear as it involved too much elimination of students. You will be asked questions from all subjects mentioned above, core programming concepts and DBMS queries. Subjects may different based

L&T InfoTech Recruitment Process Overview - Pune, October 9th, 2015

Hello everyone, I was at the L&T Infotech pool campus drive conducted on 8th and 9th Oct'15 and I got placed in L&T Infotech. To describe the procedure from the start: 1. Aptitude! Probably the most important (in my opinion) part/phase/round of the recruitment process. This is the part where most of students are dropped out and reason for that is quite obvious->"Not Being Smart Enough". Everyone who is eligible for L&T InfoTech Recruitment Process is an overall good candidate itself because they have a criteria of around 60%+ and lot of other things that you already might be knowing or will know at the Pre-Placement Talk. So basically even if you haven't prepared for the aptitude it should only take 1 or 2 smart moves while the aptitude exam to crack it. I never had prepared for aptitude questions seriously nor did I solve any test papers on IndiaBix or any other website for that matter before my Infotech aptitude. My smart move

Why to use Ubuntu?

On April, 2014 Microsoft ends support for XP. Now it is vulnerable and unsecure to use XP. But, few hundred million people still using XP since they don’t know other options and can’t afford Win 7, 8.0, 8.1., 10 I have one suggestion for such people that is Canonical’s Ubuntu . Ubuntu is healthy OS which can run very well on old platform i.e. XP-era hardware. Many people don’t like Linux’s (it is kernel from which Ubuntu has been developed) GUI for them I have Ubuntu-Gnome, KDE, Unity, LXDE and many other interfaces. Ubuntu-Gnome’s GUI is better than Windows GUI and more customizable. There are also Ubuntu flavours for education, server, multimedia, etc. Chinese government also developed Kylin OS for whole China from Ubuntu. You can dual boot your PC with Ubuntu keeping your existing windows. Followings are some points where Ubuntu beats Windows: 1.       Open source and community: -                      Ubuntu is free . -                      If you are in troub

Top 4 qualities of a good software developer

          Have you ever wondered whether you can consider yourself a good software developer? If so, you probably also wondered what it means to be a good software programmer. What are the skills of a good software engineer? What are the differences between the bad and the good one? Is this just a matter of experience? Is this connected with knowledge and practice or rather with some inborn abilities? How to become a good software developer? Let me share with you my definition of a good programmer. 1. Analytical mind There is no strict definition of an analytical mind. One thing is for sure: if you have an analytical mind you are able to think, observe data, remember and basing on these activities, resolve problems. Unfortunately,  this is the most crucial and needed skill of a good software developer. Why “unfortunately”? Well this means that not everybody can become a good software developer, even if they really struggle. Having analytical mind is to a

Linux Shell Tips and Tricks

Check if remote port is open with bash: echo > /dev/ tcp / 8.8 . 8.8 / 53 && echo "open" Suspend process:   Ctrl + z Move process to foreground:   fg Generate random hex number where n is number of characters:   openssl rand - hex n Execute commands from a file in the current shell:   source / home / user / file . name Substring for first 5 characters:   $ { variable : 0 : 5 } SSH debug mode:   ssh - vvv user@ip_address SSH with pem key:   ssh user@ip_address - i key . pem Get complete directory listing to local directory with wget:   wget - r -- no - parent -- reject "index.html*" http : //hostname/ -P /home/user/dirs Create multiple directories:   mkdir - p / home / user /{ test , test1 , test2 } List processes tree with child processes:   ps axwef Create war file:   jar - cvf name . war file Test disk write speed:   dd if = /dev/ zero of = /tmp/ output . img bs