Skip to main content

Posts

Showing posts with the label technology

How to get over Qwiklabs glitches to learn GCP

This blog entry is primarily recorded for Dev/Sys/Ops people who have little to no experience with javascript. I have been using different services offered by different cloud providers for some time now. For any cloud provider, the learning curve is linear and the only catch is you should have prior knowledge of the service you are consuming, be it VM, load balancer, database, code repository or container-related services. Just like any random guy in IT, my first cloud experience came with AWS, I deployed some hobby projects to experiments, and I also used the same to deliver some MVP for official work. There was a difference between working as a sole developer utilizing personal account and using IAM under enterprise cloud account but I guess they are all part of the learning curve. The second provider I worked on is Google Cloud, I wanted to evaluate their GKE service. This was about 3 years back, some months ago I came across an offer from Google, the offered an SRE course with a ce...

My Oracle OCI certifications

I'm going to try and narrate my experience trying to complete the OCI certifications, that I signed up for because of peer pressure. If you are here from the future, China does China eating raw animals and shit, COVID-19 outbreak starts in Wuhan ~ Dec 2019 and is declared a pandemic by March 2020. Countries all over are forced to shut shop and kind of sleep with an empty stomach. Tourism, Aviation, Manufacturing, Automobiles, and their dependant services are worst hit; which includes the IT department from both product and service companies; pink slips starts to shower all over! And everyone is trying to differentiate themselves among thousands in the candidate pool, LinkedIn articles and learning badges becomes the norm. It seems Oracle saw an opportunity to make their new cloud offering familiar with IT community, and they announced that "5 Oracle Cloud Infrastructure certifications are free till May 15, 2020 ", later extends the program by adding 1 more certification  ...

SonarQube LTS comprehensive study and 6.7 evaluation

https://www.sonarqube.org The elegant and comprehensive static code quality analysis tool's latest LTS - 6.7 was out by end of 2017. From LTS stand point of view every version shows significant improvement from the predecessor, in case of SonarQube there have been three LTS so far, 4.5; 5.6; 6.7. Sonar, as it was called when it was started had a very humble yet powerful thought of analyzing java code with existing static code analysis tools like pmd and findbugs and persisting the report in database. This opened new opportunities for PMO and people concerned with productivity as it preserves history of project. But Sonar was still only helpful for java developers and was almost exclusive for maven. By becoming a part of Codehaus projects it became more popular among maven communit y, around the same time they were recognized with Jolt award . Sonar started getting more attention, and they indeed lived up to it. Sonar soon incorporated other languages analyses into their ars...

Setting up LAN with BSNL router AN 1020-21

An abstract overview for building a LAN is presented here, you can use the essence of article to build LAN with any other router you can lay your hands on. That said don't confuse modem with router, most routers are modem but a modem simply can't be router* Post is written in the hope that reader is equipped with basic knowledge about connecting line to splitter to router to device you want to use. It is assumed the your modem is configured for both wireless and ethernet access. My work requires that I interact daily with servers using putty or such terminal emulator, gradually I loved doing work the *nix way. This made me install Cygwin in almost every machine I use, thanks to MobaXTerm I need not do that anymore :) Off story on to TODO. 1. Connect the machines you want to use to Router That's all! Your router takes care of establishing (W)LAN Surprisingly simple to establish LAN, but the hard part is knowing how to use the systems connected in the network. Here...

Learning curve: SQL writing by Unlocking HR schema

Its been a long time since I have studied anything with enthusiasm or a goal to achieve. The last time was when I took MarkLogic CCP but I don’t remember anything on that now, I never got an opportunity to work on it, not even a POC. Now I’m part of study group which has a goal, to get certified in SQL writing. The learning is exiciting after all the java codes I write and debug its a refreshing change to use SQL. Wait a minute, does that mean I’m not using any SQL database at the back end? No, Yes – my application uses Oracle 11g but I’m not having any SQL developer to work with it, rarely I open SQL + to check if password is to expire. The bad part is that I have to fill boring tables to query on them, quering is natural to human but not recording :D Some guy said “I’ll find the laziest person to do toughest job so he finds a shortcut” guess he was rit! I found the lazy easy way to query without to having to record. Unlock the HR user So I found there is a user called HR wh...

How I fixed the CMOS baterry time & date issue

As CMOS battery in my PC got rotten my system won't boot, unless I press F1. Then I try to access the internet, Google wont open as it sights security risk! that's the first time I realized my PC date & time is getting reset to 01-01-2004 12:00:00 AM cause of this battery problem. The simplest way to fix this would have been to replace the battery. But I'm really afraid to touch anything in my decade old PC as it is running on the power of Karma not by the virtue of power cord. So I was using it as such like pressing F1 every time to boot and then later setting the time using the clock. Slowly this boring ritual started to irritate me and then I thought "hey I'm a techie let me find some good way". Automation it is! The only development work I do in my office is when I get a work item on "automation". So I simply wrote a 5 line batch script and placed it in the start up. Now when Desktop opens a Command window pops up asking ...

What makes Internet Explorer the King? - I

IE the King ‘Give me the power of IE’ this will be the cry of most modern browser that you’d fight for its code analysis tools, synchronization, bookmark organizer, plug-ins, attractive themes, overriding fast paced processing speed, HTML5 comp., and some more. So whats so powerful in IE? well IE is a part of Windows OS and not any application that you install that’s more than enough for anyone to say its important, lemme list out some more points. 1. Hard times went but still most organization ran their test and compatibility check with IE for that simple reason that  IE came pre-installed with every Windows OS . 2. It is  Robust , delay in process but completes it. I have tried IRCTC* tatkal booking with IE, Firefox, Chrome, Safari, Opera all failed but IE had the least failure rate. 3. It is  Safe and Strong , for there is a reason only rich countries are invaded ok no more parodies on praise post. It follows protocol of browsers strictly, t...

How to: Write a file inside webapp directory of Tomcat with Struts2 or JSP & Servlet

Hi! This time its for struts break for database, ever felt you wanna store files temporarly inside your server directory? then this post is to help you out if you are new to java and you have interest in learning, this is good to know! trust me even big folks won’t know this I’m going to tell for Struts2 framework. ============================================ Using ServletContext & ServletActionContext in Struts2 import javax.servlet.ServletContext; import org.apache.struts2.ServletActionContext; ============================================ public String execute() { try { String path = “/folder1/file1.txt” ; System.out.println(“where it might write ” + System.getProperty(“user.dir”)); ServletContext context = ServletActionContext.getServletContext(); //Line No.6 path = context.getRealPath(path); File file = new File(path); // if file doesnt exists, then create it if (!file.exists()) { System.out.println(“trying to creat new file at ” ...

How to make Recycle bin understand your mood? Delete operations made easier

I know the title is bit void ;) but i can't come up with better. With the internet age on high we are finding it difficult to actually delete outdated items. So here is way to make your Recycle bin to understand you. How? Properties dialog box of it :) Recycle bin Properties dialog box Right click Recycle-bin icon to access Properties , at the bottom of dialog box you'd find a check box (Red box in image) whether to ask for conformation un-check it when you are on week-end PC clean work. Delete operations are now just a button away ;) cool isn't it, but beware of consequences. {Sorry for the old-look image I use windows classic theme, as I heard it will use only minimum processor so speed will increase you can try this too } Still not enough you want the file to go away... just go away instead of sitting in recycle bin watch the pink box. Click configure for independent drives, every drive tab will have options similar to as Global settings except for '...

How to Buy external Hard disk drive? Things to look for in External Hard disk drive

Here I'm trying to discuss about optimal performance but absolute value for money Brand: Must be top brand offering warranty at least for 2-3 years, don't confuse Top brand is totally different from popular brand(cheaper its popular will be in India most here don't mind performance). These days manufacturers are offering 5 year warranty too. Connection: Can be two ways Firewire or USB. These days USB is sported high cause can be connected with most computers. But choose what best suits you cause Firewire's performance is unmatchable to USB. Speed: Seek time <10ms  | Buffer Size > 4Mb  |  RPM : 5,400 - 7,200 (Please keep in mind values here are for optimum performance, go higher if you can spend) Size: Must be greater than 80GB, as said before if you can spend go for bigger but not biggest it will degrade performance. Search: If you reading this post its obvious that you are searching sites for idea, but don't stop here. Go to Manuf...

How to: SCJP / OCJP certification, best practice, chennai

Oracle Certified Professional, Java Programmer(OCP,JP) is the certification I’m gonna discuss in this post. This certification is offered by ORACLE prior to this Sun was offering it in the name SCJP, in a generic way I’m gonna refer this as OCJP. Here I have given a list of FAQs that you can use. 1. What are the prerequisites or Should I have completed any other exam before this? A: Not required. But it is good that you take mock exams available in various sites before facing the big challenge. You’ll face 60 questions within 150mins you have to answer them and score 61% to clear the exam (37 questions must be correct). 2. What is the best book for this exam? A: I haven’t heard of a book for OCP,JP 1Z0-851 but there is book for SCJP 310-065 which is essentially the same exam but the name was changed once Oracle started to offer the exam. The book is authored by peoples who prepares the examination papers and patterns so they would be the best guide. 3. Is book enough for ...

How to register in National Do Not Call Registry? Is there anyway that I would get promotional SMS/Call from any particular category and leave other blocked?

To Registry in National Do Not Call Registry previously we have to SMS "START DND" to 1909. But for the benefit of Costumer and Promoters you can still receive promotional SMS/Call from particular category that you choose. New procedure is as follows. SMS "START DND" to 1909. They'll send you a conformation message Then you'll receive a message regarding categories that you want to give permission Select a category you want to receive promotions from else Reply "START 0" to 1909 to stop all promotional SMS/Call To receive SMS- based promotions for the following sector, reply with your choices to 1909: START 1 - Banking, Insurance & Financial products START 2 - Real Estate START 3 - Education START 4 - Health START 5 - Consumer Goods & Automobiles START 6 - Service provider communication, Entertainment, IT START 7 - Tourisum & Leisure You can choose multiple sectors as per your preference. Regist...

When PC slows down!

There are numerous reasons for a Computer to slow down on its processing speed. If you are experiencing this problem in your PC please don't immediately put a costly Anti-Virus program and check for hidden malware or worms! Remember you are the worst virus in your PC if you are not treating your computer well . I'll be listing some easy ways to solve this problems make a note of it. Don't Installing all programs that you use in C:\ drive( or where OS is installed) its a sin! don't commit it. Keep the C:\ drive free from images, videos and other documents that are not related to OS or primary application. By default all browsers stores  download files in C drive so change the position to some other drive. (My documents is also in C drive) Clear all temp folders so that they don't block RAM [some temp folders "temp", "%temp%", "prefetch", "recent", type these in your windows run command(without quotes) and clear if ...

R U USING your MOUSE?

This internet age has got lot to do with mouse. Basically 'Mouse' is used for moving around the screen with/without any motto and make sure screen savers don't disturb us! But what makes is stay in the field even after introduction of touch screen is it just the money? I'm sure its not! Remember mouse is not manufacture with one button and scroll ball or laser beneath. Modern mouse come with many button with unwanted/illogical uses, from the perspective of manufacturers its the edge that they are going to have against their competitor. But from the view of user like its just waste of money. The well developed and fully useful mouse is displayed below, check out their parts for further discussion Usage of left click and right click is universal, there is nothing much to say about it but there is lot about the rest, I'll point out one by one.If you notice I have have pointed "Scroll button" not Scroll roll/bar or something! Simply click on the link will ope...

List of Internet Ideas for better living

By the word better living I don't literally mean it but these ideas will help you in different ways While making a money transaction watch for 'https' in the sites address instead of 'http' which denotes it as secured site and don't believe on dumb promises by the site itself ATM/VISA ATM's Locator all around the world http://visa.via.infonow.net/locator/global/ Watch TV online http://mastcity.com/tv.html Orkut Shortcuts Scrapbook=>Alt+Shift+S Home=>Alt+Shift+H Community=>Alt+Shift+C Friends=>Alt+Shift+B Profile=>Alt+Shift+P Logout=>Alt+Shift+L (I'll update this post often make sure you browse through them often)

Microsoft showing no mercy: Morro and Media player 12 are neither for XP user nor for Vista users

Windows 7 beta version went on to places replacing all other operating system. Even before the official launch of the OS Microsoft was ready to launch software which will not work on xp or partially on Vista. Windows Vista was a big failure for Microsoft they lost their market; Not because of its incompatibility to software’s without digital signature or pirated software but also because of the requirements and the large space that it occupies for no reason. Once Microsoft was The commander in chief the OS market with Windows XP later with its service packs. The fall of the giant was not because of Mac or Useless firewall it was because of the much hiked Vista. Vista was a good for nothing OS neither they were little nor compatible; Even though they caught the minds and eyes of many failed to rule the market as XP did. Windows 7 successor of Vista is not just a compatible OS its requirements are lower than its predecessor. There is no problem in Windows 7 but it is creating pr...