64 Online Resources to Learn to Code for Free

Get Our FREE Ultimate Guide to Coding for Beginners






1. Codecademy

Codecademy is where most people who are new to coding get their start. If you haven’t been to the site yet…where have you been!? The platform revolves around interactive learning; that is, you read a little, type your code right into the browser, and see results immediately.

Topics taught: HTML & CSS, JavaScript, PHP, Python, Ruby, Angularjs, The Command Line, and more

2. Codewars

Codewars offers a fun way to learn coding. With a martial-arts theme, the program is based on challenges called “kata.” Complete them to earn honor and progress to higher ranks.

Topics taught: CoffeeScript, JavaScript, Python, Ruby, Java, Clojure, and Haskell

3. Coursera

Large online course library, where classes are taught by real university professors. All courses are free of charge, but you have the option to pay for a “Coursera Verified Certificate” to prove course completion. These cost between $30 and $100 depending on the course. Coursera also now has specializations, which you do have to pay for.

Topics taught: Many (far beyond your basic coding/computer science)

4. edX

An open-source higher education program governed by MIT and Harvard. Offers 107 courses under the “computer science” category, teaching various coding languages.

Topics taught: Java, C#, Python, and many more

5. Free Code Camp

Teaches coding first through an established curriculum, then by giving you hands-on experience working on projects for nonprofits.

Topics taught: HTML, CSS, Bootstrap, JavaScript, Databases, DevTools, Node.js, React.js, and D3.js

6. GA Dash

General Assembly’s free online learning platform. Entirely project-based. You build a “project” with each walk-through.

They are one of the very few options that have a course on how to build a Tumblr theme from scratch.

Topics taught: HTML, CSS, JavaScript, and responsive design

7. Khan Academy

Tons of subjects (as their front page says, “You can learn anything”), including many on computer programming. A few courses are offered for younger kids, too.

Topics taught: Many

8. MIT OpenCourseware

Competition to get into MIT may be stiff, but accessing their course material has no minimum SAT score. They maintain an online library of every subject they teach, with no account required for access.

Topics taught: Many

9. The Odin Project

Made by the creators of Viking Code School—a premiere online coding bootcamp. The Odin Project is their free version. FYI: you can also work with others in in-person or online study groups.

Topics taught: HTML, CSS, JavaScript & jQuery, Ruby programming, Ruby on Rails

10. Udacity

Offers individual courses, as well as “nanodegrees” that train you for specific careers like front-end web developer or data analyst. Some course materials are free, but nanodegrees require a tuition fee.

Topics taught: Many

11. Udemy

Paid and free courses on a variety of subjects, including web development, programming, datascience, and more. Courses can be created by anyone, so make sure to read reviews. Coupons can also be easily found, too. Check out some of their top development courses here.

Topics taught: Many

12. The Code Player

A compilation of video tutorials to help you walk through a process from start to finish. Good for learning “smaller” projects or tasks one at a time.

Topics taught: HTML5, CSS3, Javascript, Regex, JQuery

YouTube Channels

13. Coder’s Guide

Features numerous series of videos on coding topics: a 19-video series on JavaScript, another 19 videos on HTML/CSS, and more.

Topics taught: HTML, CSS, JavaScript, Bootstrap, WordPress, iOS and Android, and more

Subscribers: 44,215

14. DevTips

One of Travis Neilson’s YouTube channels. Focuses on web design and web development, with occasional live Q&As.

Topics taught: HTML, CSS, responsive design, development advice

Subscribers: 82,907

15. LearnCode.academy

My personal favorite. Web-development-focused videos made by Will Stern.

Topics taught: Sublime Text, Responsive Design, Node.js, Angular.js, Backbone.js, deployment strategies, and more

Subscribers: 154,590

16. thenewboston

Over 4,000 videos on a range of programming languages, game development, and design. Has over one million subscribers.

Topics taught: Android development, C programming, MySQL, Python, and more.

Subscribers: 1,131,977

For a more comprehensive list of 33 YouTube channels where you can learn to code, look here.


17. A List Apart

Lots of authors. They write books, have events, and run a great development and design blog. See all code topics here.

18. CSS-Tricks

Goes deep into CSS with their big, bad CSS almanac. However, the blog now goes beyond just CSS and talks about other things like Sass, JavaScript, PHP, and more. Explore tons of resources and check out their code snippets.

19. David Walsh

Run by David Walsh (a senior developer at Mozilla), although there are others who write on the site too. Tutorials, how-tos, demos, and more.

20. Scotch.io

Covers lots of topics related to web development and workflow. To name a few: Angular, Node.js, Laravel, Sublime Text, and more.

21. SitePoint

They have lots of writers and publish often. Topics range from HTML and CSS to entrepreneurship. SitePoint now also has paid books and courses on their child site Learnable.

22. Tuts+

Tons of free tutorials, as well as paid options like actual courses. Has over 570 expertly-instructed video courses (on all topics, not just computer-related). Also publishes eBooks.

The Command Line

23. Command Line Power User

Free video series created by Wes Bos. More at an intermediate level, so not for total newbies.

24. Conquering the Command Line

Free online book by Mark Bates. Very in-depth. Can purchase hard copy and screencasts.

25. Learn Command Line the Hard Way

Free online book by Zed Shaw. (My personal favorite command line resource.)

Git and GitHub

26. Try Git

An interactive series of challenges to learn about and experiment with Git. Created by Code School.

27. Git Immersion

A guided tour to teach you the basics of Git. Set preferences and create your own projects.


28. Skillcrush’s Coding Bootcamp

Skillcrush’s free coding bootcamp is a perfect place to start for absolute newbies. You’ll learn what it means to work in tech, get digestible definitions of common industry lingo, and get the chance to write your first lines of code.

29. Learn CSS Layout

This website will teach you CSS fundamentals that are used in setting up a website’s layout. It’s best for those who already have basic HTML and CSS know-how.

30. Marksheet.io

For beginners. Broken down into four chapters: The web, HTML5, CSS3, and Sass. It’s like an online ebook, but under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. So you can adapt it for your needs.

31. Mozilla Developer Network

Free documentation on HTML and CSS (also JavaScript). Has tutorials for people of different levels, introductory to advanced.

32. HTML5 Dog

HTML beginner tutorial here. (They also offer intermediate and advanced HTML tutorials.) And ones on CSS.


33. Eloquent Javascript

Another online book, longer than most. It has big-tech financial backers like Mozilla and Hack Reactor (“the Harvard of coding bootcamps”).

34. Javascript.com

Created by Code School. Quick and perfect for absolute beginners. (Warning: JS in real life is a lot tougher.) 9 mini-lessons. At the end, it points you to more in-depth JS learning materials.

35. JavaScript for Cats

It’s like a single-webpage book broken down into sections. Created by programmer Max Ogden. Filled with non-cat gifs but has cat pics at the end. Just because. Lol.

36. Learn JS

Go through lessons, type in the window at the bottom. Created by the same folks who make learnpython.org.

37. NodeSchool

Has in-person workshops and events all over the world, as well as an active web presence. See online tutorials here.

38. That JS Dude

A website that teaches JavaScript. Specifically this, scope, hoisting, closures, inheritance, and more. It relies on videos as well as text to explain concepts. Created by @mdkhan005.

39. The Node Beginner Book

Written by Manuel Kiessling, this book targets people who have some experience in other programming languages. While the free version online is a shortened version of the full book, it still teaches a lot about Node.


40. WordPress.tv

Recordings of live WordCamp lectures around the world. Created by Automattic.

41. WPBeginner

Website for beginner WP users. Great WP glossary of terms, plus coupon deals, video tutorials, and a blog which publishes useful articles by different authors.


42. A Byte of Python

Free online book for beginners. Can choose to download it as a PDF for free or invest in the hard copy.

43. LearnPython.org

Interactive online tutorial to learn Python coding. Has a little window at the bottom where you can write your code as you go through the lessons.

44. Learn Python The Hard Way (Website)

The book costs money, but the website is free. Written by Zed Shaw. (I used the book when I first started learning.)

45. Python Spot

Beginner and intermediate Python tutorials. Most come in a written form. There’s also some tutorials on game development, databases, and more. All using Python, of course.


46. Learn Ruby the Hard Way

Free HTML version of the book online. Buying the hard copy also gets you access to videos. Another book written by Zed Shaw.

47. Rails For Zombies

An interactive way to learn Ruby on Rails right in your browser. (This is a better choice for people who know some Ruby already.) Created by Code School.

48. Rails Tutorial

12-chapter book by Michael Hartl. Can purchase ebooks, screencasts from author, and more. Or just read it for free online.

49. RubyMonk

Entirely free, though you have the option to donate. Based on interactive tutorials, where you read a lesson and type in code. Lastly, “run” it. RubyMonk has one beginner course option, two intermediate, and one advanced.

50. Try Ruby

Also created by Code School, this is a better option for beginners. Type into an in-browser prompt window as you go through the exercises.


51. Learn SQL the Hard Way

Another resource created by Zed Shaw. This free online book takes you through 33 exercises. By the end, you should understand SQL, how to design data, and know a bit about database optimization. You don’t need to know how to program to work through the book, but it helps.

52. MongoDB University

Courses on MongoDB. Lessons come in video form. There are also quizzes and graded exercises along the way. Courses last seven weeks, but you can work through at your own pace. As of now, 200,000+ people have already taken courses on MongoDB University.

53. MySQLtutorial.org

Offers a range of MySQL tutorials including how to use MySQL as a developer and database administrator. They offer over ten different MySQL tutorials in total.

54. SQL for Web Nerds

Free digital book created by renowned computer science professor at MIT, Philip Greenspun. It contains 16 sections including data modeling, simple queries, transactions, trees, and more.

55. Vertabelo

This free platform has three different SQL courses: SQL Queries, Operating on Data in SQL, and Creating Tables in SQL. On Vertabelo you’ll learn in an interactive code editor, table, and console.

Design/User Experience

56. HackDesign

HackDesign is, “an easy to follow design course for people who do amazing things.” There are 50 lessons total, all taught by different instructors. Topics include typography, interaction design, front-end design, and more. You can get a design lesson delivered to your inbox once a week or you can view all the lessons on their site.

57. UX Apprentice

Created by Theresa Neil and the team at Balsamiq. This is like a UX 101 course — perfect for beginners. Three main parts: discovery, strategy, and design. As you go through, you are quizzed and shown related resources.

58. UXPin

While UXPin has paid offerings, there are a variety of free UX books available on the site. All you need to do is provide your email to access the material. They have books on minimalism, color theory, flat design, interaction design, and more.

Online Communities

59. CodeBuddies

Learn with others in peer-to-peer organized Google Hangouts. Great for those who want to study with others or do pair programming. CodeBuddies also has a Slack chatroom as well as Facebook group where people can congregate and ask questions.

60. CodeNewbie

CodeNewbie has a variety of tools for beginners including a Slack community where you can ask questions, a Twitter chat every Wednesday, a weekly podcast, and more. Now there are also some in-person meetups – like in Atlanta.

61. Newbie Coder Warehouse

Full disclosure: Newbie Coder Warehouse is my Facebook group of 2,200+ self-taught coders (and counting!). It’s a great place to ask questions as well as connect with others. And it’s super simple to join: all you need is a Facebook profile!

In-Person Workshops

62. codebar

codebar’s goal is enable underrepresented groups to learn how to code. They do this by offering free weekly workshops and events. Keep in mind codebar is based in the UK.

63. Girl Develop It

Girl Develop It (GDI) has chapters across the US and Canada. While most of GDI’s in-person workshops cost money, all of their course materials are readily available online for free. GDI also has free events, like their Code & Coffee meetup.

64. Women Who Code

Women Who Code is a non-profit with networks around the world. They have different events and workshops, all relating to code.

What’s next?

Relying on free courses and books is great when you’re just starting out. However, they can only get you so far.

Once you have the basics down, you’ll want to explore other options – like the Skillcrush Blueprints. If you’re brand new to the Skillcrush blog (welcome!) make sure to check out the free 10-day coding bootcamp. It’s the perfect way to test the waters, and see what Skillcrush is all about!


Laurence is a self-taught freelance web developer, focusing primarily on front-end technologies. In her spare time she manages learntocodewith.me, a blog geared to beginners teaching themselves how to code. Laurence is addicted to side projects and travel.


Refer: https://skillcrush.com/2016/03/15/64-online-resources-to-learn-to-code-for-free/



The Fourth Industrial Revolution – Cách Mạng Công Nghiệp Lần 4

Ebook tiếng việt : The Fourth Industrial Revolution – Cách Mạng Công Nghiệp Lần 4

The Fourth Industrial Revolution-Cuoc cach mang cong nghiep lan 4



Cuộc Cách mạng Công nghiệp Lần thứ tư

Klaus Schwab

Người dịch:

Đồng Bích Ngọc

Trần Thị Mỹ Anh


Lời mở đầu 1
1. Cuộc Cách mạng Công nghiệp Lần thứ tư 4
1.1. Bối cảnh lịch sử 4
1.2. Thay đổi sâu sắc và hệ thống 6
2. Các Nhân tố Thúc đẩy 10
2.1. Các xu thế lớn 10
2.1.1. Vật lý 10
2.1.2. Kỹ thuật số 12
2.1.3. Sinh học 14
2.2. Điểm bùng phát 18
3. Tác động 20
3.1. Kinh tế 20
3.1.1. Tăng trưởng 20
3.1.2. Việc làm 24
3.1.3. Bản chất của việc làm 33
3.2. Doanh nghiệp 36
3.2.1 Kỳ vọng của khách hàng 38
3.2.2 Những sản phẩm được nâng cao chất lượngnhờ dữ liệu 40
3.2.3 Đổi mới trong hợp tác 41
3.2.4 Các mô hình điều hành mới 41
3.3 Quốc gia và toàn cầu 48
3.3.1 Các chính phủ 49
3.3.2 Các quốc gia, khu vực và thành phố 53
3.3.3 An ninh Quốc tế 58
3.4 Xã hội 67
3.4.1 Bất bình đẳng và tầng lớp trung lưu 67


3.4.2 Cộng đồng 69
3.5. Cá nhân 72
3.5.1. Bản sắc, Đạo lý và Đạo đức 73
3.5.2. Kết nối con người 75
3.5.3. Quản lý Thông tin Công cộng và Cá nhân 76
Con đường Phía trước 79
Lời cảm ơn 86


Phụ lục: Biến đổi Sâu sắc 88
1. Công Nghệ Cấy Ghép trên Cơ thể Người 89
2. Hiện diệnSố 91
3. Ánh mắt Trở thành Phương tiện Giao tiếp mới 92
4. Thiết bị đeo trên người kết nối Internet 95
5. Mô hình Điện toán Phân tán rộng khắp 97
6. Siêu Máy tính Bỏ túi 99
7. Lưu trữ cho Tất cả 103
8. Mạng lưới Vạn vật Kết nối Internet 105
9. Ngôi nhà Kết nối 109
10. Các Thành phố Thông minh 111
11. Dữ liệu Lớn cho Những Quyết định 113
12. Những Chiếc Xe Không Người lái 114
13. Trí tuệ Nhân tạo và Trình Ra Quyết định 117
14. Trí Thông minh Nhân tạo AI và các Công việc Bàn giấy 119
15. Người máy và Dịch vụ 122
16. Bitcoin và Đầu mối phân phối Blockchain 124
17. Nền Kinh tế Chia sẻ 125
18. Chính phủ và Đầu mối phân phối (Blockchain) 128
19. In và Sản xuất sử dụng công nghệ 3D 129
20. Công nghệ In 3D và Sức khỏe con người 132
21. Công nghệ in 3D và Các Sản phẩm Tiêu dùng 134
22. Con người được Thiết kế [103] 136
23. Công nghệ thần kinh Neurotechnologies [104] 138
Notes   141

Website giúp bạn theo dõi các cuộc tấn công mạng theo thời gian thực


Dựa vào công nghệ phân tích và mạng lưới theo dõi virus hay mã độc rộng khắp, các bản đồ được giới thiệu trong bài viết sẽ mang đến cái nhìn toàn cảnh về các cuộc tấn công trên mạng Internet theo thời gian thực, qua đó giúp người dùng sớm đưa ra được những biện pháp phòng tránh hữu hiệu nhất.

Ngày nay, mọi thiết bị đều có nguy cơ bị tấn công bởi virus, mã độc theo nhiều cách thức phức tạp và tinh vi đến mức khó nhận biết. Những phần mềm chống và diệt virus, mã độc trên thực tế chỉ giúp chúng ta an tâm phần nào chứ không giúp cho hệ thống, thông tin, dữ liệu luôn được an toàn tuyệt đối.

Do vậy, bên cạnh việc cung cấp các giải pháp phòng chống virus, mã độc trên thiết bị của người dùng, một số hãng bảo mật cũng tạo ra các bản đồ Malware Tracker Maps, cho phép người dùng có thể nắm bắt, cập nhật được thông tin mới nhất về các cuộc tấn công mạng trên thế giới theo thời gian thực. Bằng cách này, người dùng có thể biết chính xác loại virus, mã độc đang hoành hành trên mạng Internet và sớm đưa ra những biện pháp phòng ngừa trước.

Lưu ý, một số bản đồ được giới thiệu dưới đây cũng yêu cầu người dùng phải kích hoạt JavaScript.


Về cơ bản, Threatbutt sẽ hiển thị mọi cuộc tấn công mạng trên thế giới theo thời gian thực trên nền giao diện trang web khá đơn giản nhưng đầy đủ thông tin cơ bản như địa chỉ IP của thiết bị tấn công và thiết bị bị chọn làm mục tiêu, tên của nhóm tấn công, thông điệp…



Bên cạnh đó, Threatbutt cũng cung cấp một số thông tin chi tiết hơn về nhóm tấn công khi người dùng nhấn vào tên của nhóm này được cung cấp trong khung thông tin ở góc trái giao diện trang web. Tuy nhiên, trang thông tin chi tiết khá rối và yêu cầu người dùng phải có đủ kiến thức để việc phân tích các dữ liệu được hiển thị tại đây.

Bạn có thể truy cập vào bản đồ Threatbutt : https://threatbutt.com/map/

Norse Corp Malware Map

Bản đồ này dựa vào một hệ thống mạng máy tính chuyên biệt do hãng bảo mật Norse thiết kế, có khả năng quét các vụ tấn công mạng đang diễn ra trên thế giới theo thời gian thực và cung cấp một bức tranh sơ lược về các vụ tấn công mạng trên toàn cầu.




Bạn có thể truy cập vào bản đồ Norse Corp Malware Map : http://map.norsecorp.com/#/

FireEye Cyber Threat Map

Điểm đặc biệt của FireEye Cyber Threat Map đó là ngoài việc cung cấp bản đồ về các cuộc tấn công mạng trên thế giới theo thời gian thực, người dùng còn có thể đăng nhập để nhận được thông báo khi phát hiện ra các cuộc tấn công và giữ cho dữ liệu cá nhân của người dùng được an toàn.

Tuy nhiên, điểm hạn chế của bản đồ này đó là giao diện khá đơn giản và không cung cấp đầy đủ thông tin liên quan đến các cuộc tấn công mạng.




Bạn có thể truy cập vào bản đồ FireEye Cyber Threat Map ( https://www.fireeye.com/cyber-map/ebc-view.html ) . Lưu ý, nếu truy cập vào trang web FireEye Cyber Threat Map bằng trình duyệt Chrome, bạn phải thu nhỏ giao diện trang web còn khoảng 75% để bản đồ này được tối ưu hóa hình ảnh.

ESG MalwareTracker

ESG MalwareTracker về cơ bản sẽ cho phép người dùng xem được xu hướng lây nhiễm virus, mã độc mới nhất theo thời gian thực và kiểm tra sự bùng phát của virus, mã độc tại các khu vực cụ thể thông qua bản đồ Google Map.

Bên cạnh đó, bản đồ này cũng hiển thị dữ liệu của việc lây nhiễm virus, mã độc đã được thu thập thông qua các báo cáo của máy tính được quét bởi SpyHunter Spyware Scanner. Các máy quét sau khi phân tích dữ liệu sẽ tạo ra một đồ họa trực tiếp, bao gồm các mối nghi ngờ và xác nhận đã lây nhiễm virus, malware trên thế giới.

Bên cạnh đó, ESG MalwareTracker cũng như cho thấy xu hướng phổ cập của các phần mềm độc hại tấn công máy tính cá nhân trên cơ sở hàng ngày, hàng tháng.

Theo ghi nhận của PC World Vietnam, bản đồ này khá rườm rà, khó hiểu và chỉ cung cấp thông tin về việc lây nhiễm trên từng quốc gia, vùng lãnh thổ cụ thể.




Bạn có thể truy cập vào bản đồ ESG MalwareTracker : https://www.enigmasoftware.com/malware-research/malwaretracker/

CheckPoint’s Live Cyber Attack Map ThreatCloud intelligence

CheckPoint’s Live Cyber Attack Map được cung cấp bởi hãng bảo mật ThreatCloud intelligence, có khả năng hiển thị dữ liệu liên quan đến cuộc tấn công và xu hướng của các mối đe dọa trên toàn cầu thông qua hệ thống máy chủ của hãng. Qua đó, người dùng có thể nằm bắt thông tin về cuộc tấn công và sớm có biện pháp phòng tránh.




Bạn có thể truy cập vào bản đồ CheckPoint’s Live Cyber Attack Map : https://threatmap.checkpoint.com/ThreatPortal/livemap.html

Kaspersky Cyberthreat Real-time Map

Tương tự các bản đồ vừa được giới thiệu trên, Cyberthreat Real-time Map là cũng là một bản đồ theo dõi các cuộc tấn công trên toàn thế giới theo thời gian thực do hãng bảo mật nổi tiếng Kaspersky phát triển.

Bên cạnh khả năng phát hiện các cuộc tấn công bằng virus, malware, bản đồ này được trang bị một số tính năng khác như Web Anti-virus, On-Scanner access, On Demand Scanner, Intrusion Detection System,Kaspersky Anti-spam,…




Cyberthreat Real-time Map có giao diện hiện đại và bắt mắt, người dùng cũng có thể tương tác vào bản đồ này tương tự Google Map như xoay vòng, phóng to/thu nhỏ…

Ngoài ra, bản đồ này còn được trang bị giao diện Statistics, giúp người dùng nằm bắt mọi thông tin chi tiết về các cuộc tấn công trên mạng Internet.

Bạn có thể truy cập vào bản đồ Kaspersky Cyberthreat Real-time Map : https://cybermap.kaspersky.com/


Đức Tiến – PCworldVN


IoT: New Paradigm for Connected Government



The Internet of Things (IoT) is an uninterrupted connected network of embedded objects/ devices with identifiers without any human intervention using standard and communication protocol.  It provides encryption, authorization and identification with different device protocols like MQTT, STOMP or AMQP to securely move data from one network to another. IoT in connected Government helps to deliver better citizen services and provides transparency. It improves the employee productivity and cost savings. It helps in delivering contextual and personalized service to citizens and enhances the security and improves the quality of life. With secure and accessible information government business makes more efficient, data driven, changing the lives of citizens for the better. IoT focused Connected Government solution helps in rapidly developing preventive and predictive analytics. It also helps in optimizing the business processes and prebuilt integrations across multiple departmental applications. In summary, this opens up the new opportunities for government to share information, innovate, make more informed decisions and extend the scope of machine and human interaction.

The Internet of Things (IoT) is a seamless connected system of embedded sensors/devices in which communication is done using standard and interoperable communication protocols without human intervention.

The vision of any Connected Government in the digital era is “To develop connected and intelligent IoT based systems to contribute to government’s economy, improving citizen satisfaction, safe society, environment sustainability, city management and global need.”

IoT has data feeds from various sources like cameras, weather and environmental sensors, traffic signals, parking zones, shared video surveillance service.  The processing of this data leads to better government – IoT agency coordination and the development of better services to citizens.

Market Research predicts that, by 2020, up to 30 billion devices with unique IP addresses are connected to the Internet [1]. Also, “Internet of Everything” has an economic impact of more than $14 trillion by 2020 [2].  By 2020, the “Internet of Things” is powered by a trillion sensors [3]. In 2019, the “Internet of Things” device market is double the size of the smartphone, PC, tablet, connected car, and the wearable market combined [4]. By 2020, component costs will have to come down to the point that connectivity will become a standard feature even for processors costing less than $1 [5].

This article articulates the drivers for connected government using IoT and its objectives. It also describes various scenarios in which IoT used across departments in connected government.

IoT Challenges Today
The trend in government seems to be IoT on an agency-by-agency basis leading to different policies, strategies, standards and subsequent analysis and use of data. There are number of challenges preventing the adoption of IoT in governments. The main challenges are:

  • Complexity: Lack of funding, skills and usage of digital technologies, culture and strategic leadership commitment are the challenges today.
  • Data Management: In Government, there is a need for managing huge volumes of data related to government departments, citizens, land and GIS. This data needs to be encrypted and secured. To maintain the data privacy and data integrity is a big challenge.
  • Connectivity: IoT devices require good network connectivity to deliver the data payload and continuous streaming of unstructured data. Example being the Patient medical records, rainfall reports, disaster information etc.  Having a network connectivity continuously is a challenge.
  • Security: Moving the information back and forth between departments, citizens and third parties in a secure mode is the basic requirement in Government as IoT introduces new risks and vulnerabilities. This leaves users exposed to various kinds of threats.
  • Interoperability: This requires not only the systems be networked together, but also that data from each system has to be interoperable. Majority of the cases, IoT is fragmented and lacks in interoperability due to different OEMs, OS, Versions, Connecters and Protocols.
  • Risk and Privacy: Devices sometimes gather and provides personal data without the user’s active participation or approval. Sometimes gathers very private information about individuals based on indirect interactions violating the privacy policies.
  • Integration: Need to design an integration platform that can connect any application, service, data or device with the government eco system. Having a solution that comprises of an integrated “all-in-one” platform which provides the device connectivity, event analytics, and enterprise connectivity capabilities is a big challenge.
  • Regulatory and Compliance – Adoption of regulations by an IoT agencies is a challenge.
  • Governance: One of the major concerns across government agencies is the lack of big picture or an integrated view of the IoT implementation. It has been pushed by various departments in a silo-ed fashion.  Also, government leaders lack a complete understanding of IoT technology and its potential benefits.

IoT: Drivers for Connected Government
IoT can increase value by both collecting better information about how effectively government servants, programs, and policies are addressing challenges as well as helping government to deliver citizen-centric services based on real-time and situation-specific conditions. The various stakeholders that are leveraging IoT in connected government are depicted below,



Information Flow in an IoT Scenario
The Information flow in Government using IoT has five stages (5C) : Collection, Communication, Consolidation, Conclusion and Choice.

  1. Collection: Sensors/devices collect data on the physical environment-for example, measuring things such as air temperature, location, or device status. Sensors passively measure or capture information with no human intervention.
  2. Communication: Devices share the information with other devices or with a centralized platform. Data is seamlessly transmitted among objects or from objects to a central repository.
  3. Consolidation: The information from multiple sources are captured and combined at one point. Data is aggregated as a devices communicate with each other. Rules determine the quality and importance of data standards.
  4. Conclusion: Analytical tools help detect patterns that signal a need for action, or anomalies that require further investigation.
  5. Choice: Insights derived from analysis either initiate an action or frame a choice for the user. Real time signals make the insights actionable, either presenting choices without emotional bias or directly initiating the action.

Figure 2: IoT Information Flow


Role of IoT in Connected Government
The following section highlights the various government domains and typical use cases in the connected government.

Figure 3: IoT Usage in Connected Government

a. Health
IoT-based applications/systems of the healthcare enhance the traditional technology used today. These devices helps in increasing the accuracy of the medical data that was collected from large set of devices connected to various applications and systems. It also helps in gathering data to improve the precision of medical care which is delivered through sophisticated integrated healthcare systems.

IoT devices give direct, 24/7 X 365 access to the patient in a less intrusive way than other options. IoT based analytics and automation allows the providers to access the patient reports prior to their arrival to hospital. It improves responsiveness in emergency healthcare.

IoT-driven systems are used for continuous monitoring of patients status.  These monitoring systems employ sensors to collect physiological information that is analyzed and stored on the cloud. This information is accessed by Doctors for further analysis and review. This way, it provides continuous automated flow of information. It helps in improving the quality of care through altering system.

Patient’s health data is captured using various sensors and are analyzed and sent to the medical professional for proper medical assistance remotely.

b. Education
IoT customizes and enhances education by allowing optimization of all content and forms of delivery. It reduces costs and labor of education through automation of common tasks outside of the actual education process.

IoT technology improves the quality of education, professional development, and facility management.  The key areas in which IoT helps are,

  • Student Tracking, IoT facilitates the customization of education to give every student access to what they need. Each student can control experience and participate in instructional design. The student utilizes the system, and performance data primarily shapes their design. This delivers highly effective education while reducing costs.
  • Instructor Tracking, IoT provides instructors with easy access to powerful educational tools. Educators can use IoT to perform as a one-on-one instructor providing specific instructional designs for each student.
  • Facility monitoring and maintenance, The application of technology improves the professional development of educators
  • Data from other facilities, IoT also enhances the knowledge base used to devise education standards and practices. IoT introduces large high quality, real-world datasets into the foundation of educational design.

c. Construction
IoT enabled devices/sensors are used for automatic monitoring of public sector buildings and facilities or large infrastructure. They are used for managing the energy levels of air conditioning, electricity usage. Examples being lights or air conditioners ON in empty rooms results into revenue loss.

d. Transport
IoT’s can be used across transport systems such as traffic control, parking etc. They provide improved communication, control and data distribution.

The IoT based sensor information obtained from street cameras, motion sensors and officers on patrol are used to evaluate the traffic patterns of the crowded areas. Commuters will be informed of the best possible routes to take, using information from real-time traffic sensor data, to avoid being stuck in traffic jams.

e. Smart City
IoT simplifies examining various factors such as population growth, zoning, mapping, water supply, transportation patterns, food supply, social services, and land use. It supports cities through its implementation in major services and infrastructure such as transportation and healthcare. It also manages other areas like water control, waste management, and emergency management. Its real-time and detailed information facilitate prompt decisions in emergency management.  IoT can automate motor vehicle services for testing, permits, and licensing.

f. Power
IoT simplifies the process of energy monitoring and management while maintaining a low cost and high level of precision. IoT based solutions are used for efficient and smart utilization of energy. They are used in Smart grid, Smart meter solution implementations.

Energy system reliability is achieved through IoT based analytics system. It helps in preventing system overloading or throttling and also detects threats to system performance and stability, which protects against losses such as downtime, damaged equipment, and injuries.

g. Agriculture
IoT minimizes the human intervention in farming function, farming analysis and monitoring. IoT based systems detect changes to crops, soil environment etc.

IoT in agriculture contribute to,

  • Crop monitoring: Sensors can be used to monitor crops and the health of plants using the data collected. Sensors can also be used for early monitoring of pests and disease.
  • Food safety: The entire supply chain, the Farm, logistics and retails, are all becoming connected. Farm products can be connected with RFID tags, increasing customer confidence.
  • Climate monitoring: Sensors can be used to monitor temperature, humidity, light intensity and soil moisture. These data can be sent to the central system to trigger alerts and automate water, air and crop control.
  • Logistics monitoring: Location based sensors can be used to track vegetables and other Farm products during transport and storage. This enhances scheduling and automates the supply chain.
  • Livestock farming monitoring: The monitoring of Farm animals can be monitored via sensors to detect potential signs of disease. The data can be analysed from the central system and relevant information can be sent to the farmers.

There are many opportunities for the government to use the IoT to make government services more efficient. IoT cannot be analyzed or implemented properly without collaborative efforts between Industry, Government and Agencies. Government and Agencies need to work together to build a consistent set of standards that everyone can follow.

Connected Government solutions using IoT is used in the domain front:

  • Public Safety departments to leverage IoT for the protection of citizens. One method is through using video images and sensors to provide predictive analysis, so that government can provide security to citizen gathering during parades or inaugural events.
  • Healthcare front, advanced analytics of IoT delivers better and granular care of patients. Real time access of patient’s reports, monitoring of patients health status improves the emergency healthcare.
  • IoT helps in content delivery, monitoring of the students, faculty and improving the quality of education and professional development in Education domain.
  • In energy sector, IoT allows variety of energy controls and monitoring functions. It simplifies the process of energy monitoring and management while maintaining low cost and high level of precision. It helps in preventing system overloading, improving performance of the system and stability.
  • IoT strategy is being utilized in the agricultural industry in terms of productivity, pest control, water conservation and continuous production based on improved technology and methods.

In the technology front:

  • IOT connects billions of devices and sensors to create new and innovative applications. In order to support these applications, a reliable, elastic and agile platform is essential. Cloud computing is one of the enabling platforms to support IOT.
  • Connected Government solution can manage the large number of devices and volume of data emitted with IoT. This large volume of new information generated by IoT allows a new collaboration between government, industry and citizens. It helps in rapidly developing IoT focused preventive and predictive analytics.
  • Optimizing the business processes with process automation and prebuilt integrations across multiple departmental applications. This opens up the new opportunities for government to share information, innovate, save lives, make more informed decisions, and actually extend the scope of machine and human interaction.


  1. Gartner Says It’s the Beginning of a New Era: The Digital Industrial Economy.” Gartner.
  2. Embracing the Internet of Everything to Capture your share of $14.4 trillion.” Cisco.
  3. With a Trillion Sensors, the Internet of Things Would Be the “Biggest Business in the History of Electronics.” Motherboard.
  4. The ‘Internet of Things’ Will Be The World’s Most Massive Device Market And Save Companies Billions of Dollars.” Business Insider.
  5. Facts and Forecasts: Billions of Things, Trillions of Dollars. Siemens.


Source: http://iotbootcamp.sys-con.com/node/4074527


Mass provisioning of Kismet and Apache MiNiFi in Raspberry Pi using Ansible

Holistic Security and Technology

Lately I’m focusing on Automation in Big-Data Projects, and with my experience in Cyber Security I can bring new approaches and ideas to those Big-Data Projects are related to IT Security aspects (Threat Analisys, Privacy, Intrusion Detection, etc.).
With this post I will start a serie of articles explaining how to do “Data Ingestion/Capture” in the Edge by using:

  • Ansible to provisioning.
  • Multiple and remote devices in the Edge (Raspberry Pi).
  • Kismet to capture WIFI Anonymous traffic in the Edge.
  • Apache MiNiFi to enrich and route the captured traffic in the Edge.
  • Apache NiFi to collect the enriched traffic and forward to Solr / ElasticSearch.

…everything, near to real-time ;)

And if you want to explore in deep other use cases, this article is a must read: (EDGE INTELLIGENCE FOR IOT WITH APACHE MINIFI)[https://hortonworks.com/blog/edge-intelligence-iot-apache-minifi/]

In short, I will explain in this post the following:
– Manage several…

View original post 1,475 more words

My Experiment with Raspberry Pi 3

I recently bought a Raspberry Pi 3 to perform simple experiment. Experiment is to try flashing Android Internet of Things(IOT) on it and run sample app.


  • Raspberry Pi3, Model B, 1GB RAM
  • MicroSdCard 8Gb
  • Latest preview image from Android of things
  • Instructions on copying the image to SDCardusing Mac here
  • Instructions on using the image on Raspberry PI here
  • HDMI cable connected to monitor, microUsb acting as power supply, ethernet cable for internet and mouse.

20161222_085324Experiment’s steps overview

  • Downloaded the preview image from the android of things and copied it in microSdCard from the instructions above.
~/Downloads|⇒ sudo dd bs=1m if=iot_rpi3.img of=/dev/rdisk2
4352+0 records in
4352+0 records out
4563402752 bytes transferred in 2116.041664 secs (2156575 bytes/sec)
  • Connected to local ethernet and used it configure Wifi service. This is how it looks at first screen, it should have Wifi SSID and IP address.


  • Run a sample app given

View original post 248 more words

Raspberry Pi Zero W review


Buy now from Amazon

The Raspberry Pi Foundation recently launched the Raspberry Pi Zero W, an improved version of the original Raspberry Pi Zero that adds built-in Wi-Fi and Bluetooth. These have been two features many Raspberry Pi fans have been requesting for a long time, and now, thankfully, they’re finally built into the wonderful Raspberry Pi Zero.

  • Raspberry Pi Zero review
  • Raspberry Pi 3 review

Since the Raspberry Pi Zero W is simply a variant of the Raspberry Pi Zero, this isn’t going to be a full, in-depth review. Instead this review will focus on all the new features the Zero W brings to the table. If you’re looking for detailed performance metrics on this board, I’d suggest heading over to my original Raspberry Pi Zero review. It’s also worth reading my review of the Raspberry Pi 3 as it was the first Raspberry Pi to feature built-in Wi-Fi and Bluetooth.

View original post 1,126 more words

Create Your First IoT Application by Connecting Raspberry Pi to FAVORIOT Platform

IOT World

Magazine Favoriot-9.pngThis section provides tutorials on connecting Raspberry Pi to FAVORIOT platform.

code for creating a data stream

import requests
import json

url = "https://api.favoriot.com/v1/streams"
payload = json.dumps({
  "device_developer_id": "deviceDefault@favoriot.iot",
  "data": {"temp":"14"}
headers = {
    "apikey": "YOUR API KEY HERE",
    "content-type": "application/json",
    "cache-control": "no-cache",

response = requests.request("POST", url, headers=headers, data=payload)
parsed = json.loads(response.text)
print json.dumps(parsed, indent=4, sort_keys=True)

code for getting all data stream

import requests
import json

url = "https://api.favoriot.com/v1/streams"
headers = {
    "apikey": "YOUR API KEY HERE",
    "content-type": "application/json",
    "cache-control": "no-cache"
response = requests.request("GET", url, headers=headers)
parsed = json.loads(response.text)
print json.dumps(parsed, indent=4, sort_keys=True)

Raspbian comes preloaded with Python, the official programming language of the Raspberry Pi and IDLE 3, a Python Integrated Development Environment. We’re going to…

View original post 146 more words