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

📚 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

📚 Design Automation

📗 Before you take the course

  • ✏️ Prerequisites

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

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
#!/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)

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
[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.
(function () {
var skilllevelsPlot = angular.module("skillmaze").directive("skilllevelsPlot", function () {
return {
restrict: "E",
scope: {
data: "="
},
link: function (scope, elem, attrs) {
var maxWidth = 800;
@kneerunjun
kneerunjun / attrrouting.cs
Last active January 3, 2016 13:31
understanding attribute routing in MVC4 ASP
[RoutePrefix("home")]
[Route("{action=index}")] //this would assign the default action from the controller
public class HomeController:Controller
{
//here despite not giving route attribute the controller woudl still pick up this action as the default
public ActionResult Default(){
}
[Route("users")]
//route /home/users
@kneerunjun
kneerunjun / 01ratingcontrol.html
Last active January 3, 2016 10:47
quick rating control for feedback activity
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Demostraiton for the rating control</title>
<script src="Scripts/jquery-2.1.4.min.js"></script>
<script src="Scripts/bootstrap.min.js"></script>
<script src="Scripts/d3/d3.js"></script>
<script src="Scripts/angular.min.js"></script>
</head>
<body>
@kneerunjun
kneerunjun / inplaceselect.md
Last active November 29, 2015 04:10
Complete description on how to use the inplace-select control that helps you have a drop down for edit. With configurable services to download the choices from this is quite handy

Requirement

  1. We need a control, or for that matter a self sufficient directive that would help us select choices onto a specific field of an object, or the object itself
    • The control comes to play on requirement of the user to edit the value on the object
    • The control once done selecting should switch back to only displaying the value
  2. Such a multi option select control to have a configuration that downloads the choices once for all instances of the control
  3. This control ought be configurable for the services it uses to get the choices from. The control has to be agostic of the domain and since the services are attached to the domain it would mean the services shoould be dynamically injected in the directives

Inclusions

  1. Bootstrap.css 3.xx : the control uses bootstrap controls formatting , so to make it appear like one of those flat contemporary controls you would have to include Bootstrap css styles