Showing posts from 2016

Google Code-in 2016 Day 8

… Continuing from last post.
Task 9 “Website: Identify and Fix Issues our PSLab site on Github Pages”. But the problem was PSLab Site was way too simple and was using Clean Blog template so it was hard to find issues in it. So, I went ahead to check Site and what I found was that the site was broken or its not rendering properly. So, I reported the Issue#10 and someone fixed it by using CDN links insteas. Open Source :P. But, then I found out that developers.html, the second file was not fixed. So, I went ahead and fixed it and then I reported the Issue#14 and immediately created PR#15. Also in the meanwhile I found out that site was not having a Favicon(image placed on Tab, which generally is Logo or part of Logo). So, I created one more Issue#13 and this time I mentioned that I’m working on it. Then I created a Logo for PSLab, also I though about using FOSSASIA “F” logo as used in other sites of FOSSASIA to use as Favicon. Also, I googled and found out Font Awesome’s Flask Icon. I …

Google Code-in 2016 Day 7

… Continuing from last post.
Where’s Day 4, 5, 6? Well, I was working on FOSSASIA GCI 16 Site New look so didn’t got time to write’em.
Task 8 I was and still am enjoying working on GCI Site, and so I picked this task named “Website: Add a feature or fix an issue for the GCI website from the github issue tracker”. I found this Issue#400 and I planned to work on it. When I went through index.html and main.css, it was inconsistent at places and few sections were differently configured than rest. So, I mainly focused on Blog Section and fixed both the files. What I didn’t realised is that someone was working on blog section as well and has already committed his code. At the time of merging it created a merge conflict. Maintainers merge it by resolving the conflicts and it created a mess. So, I asked them that my version is fine and so we can use that to fix things and so I created PR#445 .

I was kinda off due to this ( I don’t know why) and so I decided to give the whole site a new look.…

Google Code-in 2016 Day 3

… Continuing from last post.
Task 6 So, after Task 5 I was like Why not try a task which is completely new to me and hence, Task 6 “ loklak search: Deploy the website of loklak search on your own GitHub account”. A completely new and exciting thing to me. But very less information was there in both task and loklak search So, that means I have to do all the research. But I call it a day. I woke up and all I was thinking was about loklak search. I asked in Slack and after some googling I got to a result, I was about deploying angularjs apps on Github which involve use of Bower components. I did everything and I got an empty site. Guess what?? It was wrong so I asked again in Slack and this time a loklak search project contributor was present he pointed me out to Angular-cli README. I read it and did all the things and I was still getting an empty site. I asked again and he helped me overcome a small issue and BOOM!!, I deployed my version of search engine. Unbelievable, isn’…

Google Code-in 2016 Day 2

… I’ll continue from where I left in last post. Late night my Parental Consent was approved and that marked the ending of Task#1.
Task 2 The first task was deploy FOSSASIA’s webapp, but wait, I’m not even part of the community right? So, I claimed task “Join the FOSSASIA channels and become a community member”. Yeah, that’s right it was a task and not a beginner one. So, in order to finish this one I generated an auto-invite and added myself in FOSSASIA Slack Team, subscribed myself to FOSSASIA Newsletter and Mailing List. Then I filled a form powered by Google Forms to get into Github GCI Team of FOSSASIA. Then I forked interesting repositories that I’d like to contribute to and starred others that I find interesting. I shared about this on Twitter, Facebook and Google+ and Done! Submitted for review. When I woke up it was approved.
Task 3 Till this time I’m actively participating in Slack channel and met lots of new people including Mentors and Fellow students. I looked for new tas…

Google Code-in 2016 Day 1

Google Code-in Google Code-in is a contest sponsored by Google to encourage pre-university students to know about open-source Projects and helps them contribute actively in such Projects.

This year, the contest started on 28 November 2016, and will go on till 16 January 2017. Preparation of this world-wide contest started much sooner. Around 10 October it was announced, and from 24 October, preparation started.
Task 1 Well, my bad I forgot to register and it was only today, that I registered. This is my first time in GCI. But, I have checked previous year archives. Today, when the registration process ended, I rushed towards task list and there FOSSASIA and KDE were the only two organisations that I recognise. So, I claimed the task from FOSSASIA, it was about deploying Event Webapp on Heroku. I’ve already used Heroku once and so I’ve already registered on Heroku. So, went ahead and forked the FOSSASIA Event Webapp repository on Github and I cloned it on my laptop. The deployment was…

Installing Owncloud 9 on Ubuntu 16.04 LTS

Clouds Most of the modern users now-a-days store there data on cloud storage. Cloud storages generally give some free space to everyone and they charge for more storages. Common cloud storage providers include Google Drive, One Drive, DropBox. Generally you get around 10-15GB storage for free.
Owncloud Owncloud is kinda replacement for cloud storages which you can host on your own servers. Its free and open-source. Also as you’re hosting on your own servers so you don’t have to worry about safety. And you can store as much data as your server supports. So, no limitation.

Basically, it is a software which will run on your server and provides a cloud experience. It can be installed on both Windows servers and Linux based servers.
How to install Owncloud on Ubuntu Install apache and mysql packagges.
$ sudo apt-get install apache2 mysql-server
Owncloud is not available in Ubuntu repositories but Owncloud maintain a repository for Ubuntu. We have to add the repository.
$ curl https://downl…

Blogging Platforms

I started blogging last year in December. Since then I’ve switched between a lot of platforms. I’m going to talk about them.
Blogger I started blogging with Blogger, however, I deleted those blog posts. Its kinda primitive blogging platform good for beginners, but not much to do. Its a Google site, so you can expect 100% uptime. But the design and style are very primitive. However, there are templates available on the internet to modify the look, but still not easy to do such things, atleast for a normal guy.
Wordpress Then I switched to is the version, in which Wordpress hosts the site, and gives you a sub-domain. You can also get a personal domain for different prices depends upon the domain, or map one you already own, that too will little price. This as a blogging platform is good option, specially for beginners and non-technical people. This provides a good range of customization options. Also Wordpress provide few nicely build templates to use.


My Experience with Linux

Over two months passed since my last post. And this time too I’ll promise myself to update this blog ASAP.

After around 10 months with Linux, I’m more comfortable with it. Over this time, I’ve tried different distros varing from very stable ones to rolling release ones. In this post I’m going to talk about few of them.
Debian Over this period the distro that I’ve used the most is Debian. Its really good and very stable. Debian makes a good distro for servers. I’ve even used Debian cloud server for a while, and I’m using Debian on my home server everyday. This is also a light-weight distro, which will use less resources, so I’ll do fine on Netbooks or Old computers. My most favorite part is apt. Debian is one of the old distros which is being developed since 1993 and its development is not going to stop anytime soon. Also Debian project supports any given specific version for atleast 2-3 years. Thats the reason why a lot of distros use Debian as its base. Even Ubuntu is using Debian a…

Arch Linux Installation

Arch Linux A Linux distro which is commonly considered for power users. It provides a lot of customisation right from the installation process. Its very light-weight distro, and it install very few core packages at the time of installation. Also one get all the latest packages as Arch Linux is rolling release distro. Also Arch users get access to Arch User Repository aka AUR which is a comprehensive repository with tons of packages. One can say that AUR contain all the packages that you can find on any other distro.

But the installation process is little complicated as you don’t get any GUI installer instead you’ve to install it from command line only. So, here’s the step by step guide to install Arch Linux on your machine.
Steps Download the Arch Linux iso from here. Note that the iso is common for both 64 bit and 32 bit. Burn the iso into a CD or make a bootable usb from the iso downloaded and boot from it. Choose your architecture from the boot menu. Once you get to the commandlin…

My New Thinkpad

Its been a while since my last post. I am quite busy with studies these days.

ThinkPads are very famous laptops among developers. These are very stable and very reliable laptops with a very good ergonomic keyboard. Trackpoint is also a piece of attraction which integrates well with the fine trackpad of the laptop. Each laptop comes with Thinkpad logos engraved.

Now, lets talk about the model I bought. Its ThinkPad E450, an entry level but still stiff and reliable laptop. This models come with different configurations. Mine comes packed with an Intel i5 processor and 4 gigs of DDRIII ram. Integrated Intel graphics with 2 gigs AMD radeon R5 M250 graphics. 1 TB of HDD completes the laptop.

All ThinkPad’s share common design with Black Matte finish combined with little Red colour on Trackpoint and a fine line on Trackpad Keys. Design is super-sleek and minimal with sturdy hinges.

Lets talk about ports now. On left side 1 USB 2.0 port with 3.0mm headphone jack. Also a grill to keep the la…

Github Student Developer Pack

Last night I was going through my mails and there was one from Github. They accepted my request for Student Developer Pack. This pack include a lot of freebies and free tools, those which can be used by students to create an online presence, and start developing cool stuff.
This pack includes
ToolsDescriptionAtomA hackable text editor for the 21st century Open source by Github, free for everyoneAWS EducateAccess to the AWS cloud, free training and collaboration resourcesBitnamiInstall cloud applications in a single click Business 3 plan free for one yearCrowdFlowerCrowdsourcing and data enrichment platform.
Access to the CrowdFlower platform.Digital OceanSimple cloud hosting, built for developersDNSimlpeSimple DNS management with one click serves and a robustGithubPowerful collaboration, code review, and code managementHackhandsLive programming help available 24/7Microsoft AzureA suite of Microsoft Azure cloud services and developer tools, including the VIsual Studio IDE Microsoft Azur…

How to setup SSH Server on Debian

This is a tutorial for setting up SSH server on Debian or distros based on Debain.
Steps: Install the openssh-server package.
$ sudo apt-get install openssh-server Configure it to start at boot.
$ sudo update-rc.d -f ssh remove $ sudo update-rc.d -f ssh defaults $ sudo update-rc.d -f ssh enable 2 3 4 5 For more security, you can change the default keys.
$ cd /etc/ssh $ sudo mkdir keys_orig $ sudo mv ssh_host_* keys_orig Now, generate new keys.
$ sudo dpkg-reconfigure openssh-server For more customisation, you can edit the sshd_config file.
$ gedit /etc/ssh/sshd_config After all the changes restart ssh service.
$ sudo service ssh restart Done!

GNOME Asia Summit 2016 Part 2

Writing this a little late, as I stayed few more days in Delhi. It was very interesting and exciting. This was first event of its kind for me and it was great learning experience.
If you’re the most intelligent person in the room then you’re in the wrong room. That’s why I choose a room filled with Linux Enthusiasts, developers, and professionals to place myself in. This whole event was divided in 3 days.
Day 0 I arrived a little late but the event was still not started. So, I got an ID card with schedule for the day and volunteers directed me to the hall. I was kinda uncomfortable at first as didn’t know anybody. Ekaterina started the event’s first workshop. It was about How to make first contribution. Then we had a little break, that’s when I started talking to few guys. I was getting more comfortable, people were very kind and welcoming. This was followed by workshop by David King on Writing a Gnome application for newcomers. At last the Arun and Nirbheek took over with the worksh…

GNOME Asia Summit 2016 Part 1


This is my first post.

It all started 8 months ago when suddenly my hard disk failed. But need to use computer for Lectures, and then while surfing on internet I found out that Linux Distros have Live boot option so I thought why not give it a try.

As Ubuntu is very famous and recommended distro for new users so I downloaded Ubuntu. But, soon I was bored of it, and then begin a journey of trying new distros. I downloaded a lot of distros including Fedora, Chromixium, Chromium OS, Remixos, Elementary os, Debian, Tails, even Kali linux et cetera.

But at that point of time I started using Kali Linux for live boot as when I came to know about its popularity amongst the hackers, I suddenly become intrested. That’s where Gnome came in. Kali Linux uses Gnome desktop as default and Gnome was very different from Windows and much simpler and minimal.

Then I came to know that Gnome desktop can be actually manipulated using tools to make it how you want unlike windows from surfing the interne…