SSH into a raspberry pi and connect pi to wifi

This quick post is on two important things in pi. Enable wifi and connect to internet Open the file for network interfaces, and look for a section called wlan0, or add this section- vi /etc/network/interfaces auto wlan0 allow–hotplug wlan0 iface wlan0 inet dhcp     wpa–scan–ssid 1     wpa–ap–scan 1     wpa–key–mgmt WPA–PSK   …

More

Getting started with the raspberry pi

Buy all the hardware stuffs Raspberry pi Display Screen HDMI Cable Keyboard Micro SD card and Card reader UBB Hub and 2 Micro USB cables Download Raspberry pi Image : https://www.raspberrypi.org/downloads/ Create Raspberry pi image on your computer. I created one on My box using this video – https://www.youtube.com/watch?v=jxAcvEsPkd8 The micro card is ready and insert it into …

More

Yash joins Atlassian

This post have been on hold for a really long time. I have finally moved out of India after long 26 years on this adventurous journey. I moved to Sydney to Join Atlassian to join as a Data Engineer in the Growth Team. Atlassian is an awesome company with a lot of like minded crazy …

More

Log4j

The following blog is a simple insight into a very helpful and widely used framework for logging purpose. Bingo !!! You are right – Log4j Log4j is designed to be highly configurable using simple configuration files at runtime. Using its main components viz. Loggers,appenders and layouts it provides a very extensive logging process in quiet many …

More

Python error while indexing data in Solr – PySolr Error – 2

Error: Traceback (most recent call last): File “index_data.py”, line 47, in main(sys.argv[1:]) File “index_data.py”, line 41, in main s.add(items, commit=True) File “/usr/lib/python2.6/site-packages/pysolr.py”, line 779, in add return self._update(m, commit=commit, waitFlush=waitFlush, waitSearcher=waitSearcher) File “/usr/lib/python2.6/site-packages/pysolr.py”, line 387, in _update return self._send_request(‘post’, path, message, {‘Content-type’: ‘text/xml; charset=utf-8’}) File “/usr/lib/python2.6/site-packages/pysolr.py”, line 306, in _send_request raise SolrError(error_message % (url, err)) …

More