Skip to content

Instantly share code, notes, and snippets.

View kneerunjun's full-sized avatar
🖥️
Working for the love of programming

kneerunjun kneerunjun

🖥️
Working for the love of programming
View GitHub Profile
(function () {
var skilllevelsPlot = angular.module("skillmaze").directive("skilllevelsPlot", function () {
return {
restrict: "E",
scope: {
data: "="
},
link: function (scope, elem, attrs) {
var maxWidth = 800;
[RoutePrefix("some")]
public class SomeController :ApiController{
[HttpGet]
[Route("test")]
public IHttpActionResult Test(){
Repo repo = new Repo();
var task = repo.GetAll();
task.Wait(); //Im sure this was working in the previous versions but is not now.

Distributable python modules using distutils.core


If you have lately installed a module using python's distutils then you must have hit the wall when it comes to un-installing the same. python-pip is good but then it would not work if you have used python's distutils actually to install it in the first place.

This is most probably what you have done to install your python module

$ cd "module directory"
$ python3 setup.py sdist
#!/usr/bin/python
import RPi.GPIO as gpio
import time
import math
gpio.setmode(gpio.BOARD)
gpio.setwarnings(False)
print('Temperature oC')
print('-------------------')
while True:
gpio.setup (5, gpio.IN)

Iot topics : path for becoming developer / builder

  • All the tables together make a stack You can call it as the architechture stack up
  • Each Table refers to a section in the stack. At all given times you need all the sections to build a complete solution
  • Each section has a option of either acquiring the skills- DIY or buyout option where you can customize by learning a few commands
  • If a person is DIY for all the sections then he / she is referred to as a full-stack developer
  • The target needs to be decided as to which path would he /she like to DIY or buyout

📚 Design Automation

📗 Before you take the course

  • ✏️ Prerequisites

    • CATIA v5
    • Mechanical Design fundamentals
    • Mechanical space analysis and measurements
  • Visual Basic.NET

📚 Academy collects quarterly data

Educational function (Academy) of your organization provides you with training services, which include:

  • 🎓 Foundation program for the fresh graduates
  • 🎓 Continuous education support for employees
  • 🎓 Certification program for the employees
  • 🎓 Books and procurement - Library function is not included though
  • 🎓 Field trips and industrial visits
  • 🎓 E-learning and publications.
  • 🎓 Workshops, roadshows, awareness campaigns

Getting docker started on Linux machine

Like me I expect you to have a Linux machine running atop VMbox that may inturn running on either Win10 or Mac. This also means that you have a linux machine already and all your docker commands are fired from a linux machine. Which gets me to the straight point - no need for docker-machine commands

Installing docker on your linux machine

Im using Anteregos(Arch) with Gnome desktop

Problem description: 

  1. Create an application which requires the users to input username and password to register.
  2. Write a program to check the validity of password input by users.

Following are the criteria for checking the password:

  1. At least 1 letter between [a-z]
  2. At least 1 number between [0-9]
  3. At least 1 letter between [A-Z]
  4. At least 1 character from [$#@]
  • Design Automation using CATIA VBA

    • Pre requisites

      • Mechanical design fundamentals
      • Mechanical Computer Aided Design (CAD)
      • VB.NET syntax, OO programming
      • Understanding of COM principles & Interface based design
    • The need for CATIA v5VBA (Why) :

      • State: CATIA is authorititive/popular CAD tool used for virtual mechanical design. Althought when it comes to repititive tasks that need precision it can get some assitance from the CATIA VBA tools.
      • VB code run without human interventions atop CATIA (CATIA VBA) leads to better efficiency + precision.Saves time for the engineers so that they can concentrate on higher, more innovative tasks.
  • For large engineering organizations,since the business logic becomes **less