This article describes a method of locking the PC when the user is not around.Actually it detects the user mobile phone’s bluetooth (And yes it has to be turned on all the time.) and if the application can’t find the phone it sends a command to lock down the workstation.The codes are written in JAVA and it uses the Bluecove library ,which is a open source one. The app uses the bluetooth MAC address instead of the name so as to provide security. So first we need to find out…
Read MoreCategory: Utilities
Automatic project structure/git creation in Windows
While working in projects on a daily basis, as I do for YouTube videos, we tend to create the same folder structure and related repositories every time, as we move to the next project. For me, it is like creating folders for video, code, uploaded video, schematics and so on and in my most of the video for YouTube, I always create almost same folders. Along with that, I create GitHub repository to host the codes that I use in the project or tutorial to distribute. And I hate doing the…
Read MoreInstall Zulu JDK on Ubuntu
Recently I moved my server to Ubuntu from windows. I went with Ubuntu 16.04 server edition as it is lightweight as compared to the desktop edition and comes preloaded with some server tools. As I am running OpenHAB for my home automation system I wanted to install it on the server but the server edition doesn’t come with JAVA/JDK pre-installed. As per OpenHAB, Zulu JDK is the recommended JAVA platform and performs better as compared to OpenJDK. Though Oracle JDK can be installed, I thought of trying ZULU. So let’s…
Read MoreFetch data from websites using XPATH and PHP
This video is around XPATH and PHP. XPath is an element in the XSLT standard. I Over here our matter of interest is to use XPATH with PHP server scripting language to fetch some required information from websites, like youtube subscriber count, twitter followers etc. So if you are interested in making something like live facebook or twitter follower counters you can use it to do the job. You can upload the script to an online server or you can use it on your local server or you can even…
Read MoreOnline Electronics Stores in India to buy Electronic Components
This post is all about different Online Electronics Stores in India from where you can order different Electronic Components for your project if you are not getting locally. If you know any other store please let me know and I will add those to list and it will help others. Also, you can share your experiences with any store if you have any. If you are aware of any other stores please let me know below in the comments. And if you have experience with any stores mention in the comments…
Read MoreCustom Character Generator for 16×2/Dot Matrix LCD
Around microcontrollers, 16×2 LCD is a great way of displaying information to users. They are the cheapest and easy to use. Moreover, there are tons of libraries available to use these across different microcontrollers. If you want to learn more about 16×2 displays interfacing, you can check out this post. In this post, we will discuss how to show custom characters in a 16×2 LCD and dot matrix displays also. To generate the array bytes for such character generation I have written a small JAVA program, which lets you draw…
Read MoreDesktop app using JAVA to share to social media
Thsi is a JAVA based desktop app that I use to share to social media accounts. I have used Facebook4J, Twitter4J like opensource libraries to make it work.Feel free to contribute to the repo… Links: GITHub Repo : https://goo.gl/Pz3D5z Facebook4J:https://goo.gl/NivxPh Twitter4J:https://goo.gl/sK1uG3 Facebook Developer :https://goo.gl/6TRS40 Twitter Developer: https://goo.gl/OLASFE ******************************************************************** Subscribe YouTube : https://goo.gl/FhfdL7 Guys Subscribe to my channel for latest contents into your inbox. Support me to keep going. ___________________________________________ Website : https://wglabz.in Twitter : https://twitter.com/geekybikash YouTube : https://www.youtube.com/weargenius Instagram : https://www.instagram.com/weargenius/ GIT : https://github.com/oksbwn Facebook: http://www.facebook.com/geekybikash Bikash Narayan PandaDeveloper, Tinkere,…
Read MoreCalculate Energy Usage using Current Sensor ACS712 30A
This is a simply cheap solution to calculate Energy consumed by your gears..But still the accuracy i have not tested..Buy a module as shown below with ACS712 and please make sure of the current rating according to your requirement. The module has one Vcc, one Gnd and one Vout pins so simply you connect the Vout pin to any Analog input of Arduino and power up the module from Arduino. But don’t forget to change the analog pin no in the provided sketch.. /*…
Read MoreHow to create a WIFI Hotspot in your Laptop.
Sometimes we need to create a wifi hotspot while we have connected a dongle or wired broadband connection to a PC. Although we can use thirdparty software with pretty GUI do so, they often comes with a price tag. This method cam let you create own free Wi-Fi hotspot from any PC running Windows OS. Screenshots Commands We have to run the cmd as administration.First check weather wlan drivers are available on your pc or not.…
Read MoreQRCode Generator In PHP
This post will guide you to create your own QR code Generator. Basically we will use Google’s API to generate the QR code. QR code is a machine-readable code consisting of an array of black and white squares, typically used for storing URLs or other information for reading by the camera on a smartphone. Screenshots[Demo] Home page of the script showing which takes the Input.
Read More