This document contains code snippets for connecting to a Netpie broker using an access token with an OAuth token and secret, appkey, and endpoint to subscribe to topics starting with "/HelloChiangMaiMakerClub/" using the mosquitto_sub client.
Create connected home devices using a Raspberry Pi, Siri and ESPNow for makers.Nat Weerawan
The Chiang Mai Maker Club is an open-source maker space that promotes the HomeKit accessory protocol and provides resources such as hap-nodejs for home control implementations. The document includes links to installation guides for Node.js and various maker club resources. It highlights the active community engagement through Facebook and related online platforms.
The Installer is a PHP command line tool for Magento extension development and scaffolding created by @monsieurbiz and @jacquesbh. Its roadmap includes improving documentation, releasing a version 2 using the Symfony Console component, and potentially integrating with Magerun. The tool is open source and available on GitHub at http://github.com/jacquesbh/installer.
The document outlines various Windows commands and their respective functions, including accessing client configurations, opening network settings, and launching applications like Notepad and the on-screen keyboard. It provides practical guidance by recommending video resources for further assistance on using these commands. Additionally, the document lists commands for quickly accessing folders like Documents, Downloads, and Pictures.
Workflow para desenvolvimento Web & Mobile usando grunt.jsDavidson Fellipe
This document discusses using Grunt.js to automate workflows for mobile development. It begins by explaining why automation is useful, then discusses various task runners like Grunt, Make, Ant, etc. It focuses on Grunt, explaining how to set it up, configure it with plugins, and use tasks like Compass, Watch, Uglify, Imagemin. Finally, it shows how to integrate Grunt with PhoneGap for mobile app development. The overall document provides an introduction and guide to using Grunt.js to improve the development process.
Level up your front-end skills- going beyond cold fusion’s ui tagsColdFusionConference
Why - Security, vendor lock-in, and pigeonholed skillset. How - Ditch all CF UI tags and explore native HTML/CSS or JS libraries instead, then wrap in custom tags if desired. Restrict CFML tags to views only. Future proof apps by considering pure HTML/JS front-end with CFML back-end or single page app architectures. Resources for alternatives to CF UI tags and places to experiment with CFML provided.
This document provides an introduction and overview of using Vagrant to manage virtual machines.
It begins with a brief explanation of what Vagrant is and its basic features. It then demonstrates simple commands to install Vagrant, add a base box, initialize a Vagrantfile configuration, and boot a virtual machine.
The document progresses to more advanced Vagrantfile configuration topics like specifying base boxes, network configuration, shared folders, and defining multiple virtual machines. It also introduces using Puppet configuration management with Vagrant to provision virtual machines in a repeatable way.
This document discusses functional programming concepts in JavaScript including:
- Functional programming focuses on dividing problems into smaller subproblems and immutable data.
- Functional programming principles include transparency, purity, and immutability.
- Benefits include writing pure functions without side effects, avoiding state changes by using immutable data, declarative programming, reducing complexity, and composition.
- Common functional programming techniques in JavaScript include map, filter, reduce, some, every, and lazy evaluation.
CasperJS and PhantomJS for Automated TestingX-Team
The document discusses PhantomJS, a headless WebKit browser that can be programmed using JavaScript, and outlines how to install and utilize it for tasks like taking screenshots and performance monitoring. It also introduces CasperJS, which serves as a testing framework on top of PhantomJS, offering functionalities for simulating user interactions and assertions. Installation instructions and code examples for both tools are provided, along with references for further information.
The document serves as an introduction to WebAssembly, covering its definition, advantages, and various use cases in programming. It explains how to utilize WebAssembly with JavaScript and other languages, provides examples of coding in AssemblyScript, and illustrates performance comparisons with JavaScript. The document also highlights the capabilities of WebAssembly regarding efficiency in image processing and algorithms like Fibonacci.
Varnish Cache is an open-source web application accelerator that enhances the speed of websites by caching HTTP responses. It functions as a reverse proxy and allows web servers to handle more traffic efficiently. The document includes technical configurations and performance comparisons showcasing the improvements in request handling with and without Varnish.
This document summarizes a presentation about building a time machine using .NET Core and event sourcing. The presentation covers getting started with event sourcing, the history and concepts of event sourcing like commands, events, aggregates and projections. It also demonstrates a banking example and addresses challenges like replaying large numbers of events through rolling snapshots and fixing past issues by adding new events. The presentation aims to explain how to use event sourcing to build scalable and asynchronous applications that can rebuild state from immutable event records.
This document discusses Sprockets, a Ruby library that concatenates JavaScript files for development and optimizes them into a single file for deployment. It addresses the problem of long load times from many separate JavaScript files. Sprockets turns code modules into a single file with dependencies managed through requires. It reduces file size by 34% and HTTP requests by 25% compared to non-optimized code. The document provides instructions on installing Sprockets via Ruby Gems and using it through the terminal or as a Rails plugin.
CasperJS is an open source functional testing utility written in JavaScript that allows testing and navigation of web pages using a headless WebKit browser. It provides a high level API to programmatically browse pages, fill forms, click links, and assert page content. CasperJS can be used to write automated functional tests to test the integration of different layers of an application from routing to views by testing business rules and page integration. For example, a CasperJS test script is shown that navigates to a site, clicks a link, asserts URL and page content, and verifies specific text is found on the page.
Superfast Automated Web Testing with CasperJS & PhantomJS Hervé Vũ Roussel
CasperJS is a navigation scripting and testing utility for PhantomJS that allows testing of web pages and user interactions. It provides functions for navigation, clicking elements, filling forms, taking screenshots, and assertions. CasperJS runs quickly without a browser UI and allows debugging through verbose mode, capturing screenshots, and monitoring network requests and console logs. Tests can be refactored and common functions extracted to improve maintainability.
The document discusses Google's AMP (Accelerated Mobile Pages) project. It provides an overview of what AMP is, including its history and timeline, key components like AMP HTML and the AMP JavaScript library. It also discusses how AMP aims to improve page load speeds and user experience on mobile, as well as tracking conversions on AMP pages and implementing AMP on WordPress sites.
The document discusses an upcoming Sampa.js conference, including information about sponsors, available jobs, the schedule of presentations, wifi access, use of social media to discuss the event, and contact information for the organizer Thiago Avelino. Technologies discussed include Java, Ruby, PHP, MongoDB, Ext JS, Node.js, Coffeescript, HTML5, and SVG. The conference will focus on front-end performance, disconnected web applications, and real-time communication using WebSockets.
Vagrant is a tool for creating and sharing consistent work environments through virtual machines. It allows users to easily create, manage, and provision these environments, promoting portability and streamlined local development. The document provides links to essential resources and instructions for getting started with Vagrant and using it in conjunction with other tools like Puphpet and Varying Vagrant Vagrants.
This document provides a summary of the history and evolution of JavaScript and Node.js technologies. It discusses the creation of JavaScript in 1995 and key events like the launch of Node.js in 2009. Technologies like AJAX, MongoDB, and frameworks like AngularJS and React are also mentioned. The document shares links and resources for learning more about JavaScript and Node.js communities and documentation.
ServiceWorker: New game changer is coming!Chang W. Doh
The document discusses the introduction and potential of service workers as a significant advancement in web technology, enabling better control over offline resources, background processing, and network requests. It highlights key features, specifications, security considerations, and ways to implement and test service workers. Overall, service workers empower developers to manage caching and enhance user experience by improving loading times and enabling offline capabilities.
OpenCV is a library that provides image and video processing capabilities including input/output, manipulation, and computer vision/machine learning algorithms. It allows easy access to webcams and includes functions like capturing video frames, displaying images, and detecting motion or facial features. The library is open source and available for C/C++, Python, and other languages with documentation and examples on its website.
Config managament for development environments iiGareth Rushgrove
The document discusses configuration management for development environments, highlighting challenges developers face, such as the need for sysadmin skills and the variability of local setups. It emphasizes the use of Vagrant for automating the creation and management of virtual environments, allowing developers to maintain consistent environments across different systems. The content also addresses provisioning with tools like Chef and Puppet, along with practical examples of setting up development environments efficiently.
The document discusses performance measurement and optimization for web applications, emphasizing that optimization relies on accurate measurement. It covers various factors affecting rendering performance, page loading times, and offers tools and further readings for optimization techniques. Users are encouraged to utilize performance APIs and profiling tools to enhance their web app's efficiency.
The document defines a PermissionsTable that specifies the allowed actions for different app certification levels to access the camera and device storage photos. It also provides instructions to modify the prefs.js file to disable restrictions on accessing the debugging tools for certified apps in the B2G process.
CasperJS is an open source navigation scripting and testing utility written in JavaScript that eases the process of defining navigation scenarios and provides functions for common tasks like filling forms, clicking links, taking screenshots, and testing websites. It uses the PhantomJS or SlimerJS headless browsers under the hood. The Casper API provides methods like start(), then(), run(), and exit() to control navigation and run test suites, as well as utilities like fill(), click(), evaluate(), and waitForSelector() to interact with pages.
This document summarizes a presentation about using the CasperJS testing framework to test dynamic web applications built with Meteor. It discusses the challenges of testing dynamic apps, provides an overview of CasperJS and how it can be used to automate browser tasks and application testing. It also includes examples of using CasperJS to test simple Todo and party apps created with Meteor.
Quick & Easy Dev Environments with VagrantJoe Ferguson
Vagrant is a tool that allows users to easily create and configure virtual development environments and ensures that everyone is working with the same target environment. The document demonstrates how to install Vagrant and VirtualBox, acquire a virtual machine box, set up a basic LAMP stack environment, configure port forwarding and shared folders, and introduce some common Vagrant commands.
MLBlock is updating with new features based on user feedback. It will become a standalone application written in Typescript with a NextJS frontend and backend bundled together as a Docker container. The update will focus on peer-to-peer connectivity, Google Colab integration, Home Assistant integration, and support for application updates. Developers can look forward to using MLBlock via the command line with a new MLBlock CLI.
The document discusses the internet of things (IoT) and how it connects physical devices to the internet through sensors, software and network connectivity. It provides examples of various smart IoT devices like a smart fork, water bottle, toothbrush and more. It then discusses some of the key concepts and technologies behind IoT like MQTT, a lightweight messaging protocol commonly used for IoT. It also outlines the history and growth of IoT from its origins in the late 2000s to the projected 50 billion connected devices by 2020.
The document discusses the structure of KidBright plugins and how to generate a new plugin using the KidBright plugin generator. It lists the key files that a plugin contains such as blocks.js, generators.js, routes.js, and code files like NTTRandom.h and NTTRandom.cpp. The generator can be installed and used to quickly create a new plugin project template called NTTMyTestPlugin.
The document discusses the structure of KidBright plugins and how to generate a new plugin using the KidBright plugin generator. It lists the key files that a plugin contains, such as blocks.js for the plugin blocks, generators.js for generators, and msg/en.js for localization strings. It also provides code snippets for a sample NTTRandom plugin implementation with C++ and header files.
The document serves as an introduction to WebAssembly, covering its definition, advantages, and various use cases in programming. It explains how to utilize WebAssembly with JavaScript and other languages, provides examples of coding in AssemblyScript, and illustrates performance comparisons with JavaScript. The document also highlights the capabilities of WebAssembly regarding efficiency in image processing and algorithms like Fibonacci.
Varnish Cache is an open-source web application accelerator that enhances the speed of websites by caching HTTP responses. It functions as a reverse proxy and allows web servers to handle more traffic efficiently. The document includes technical configurations and performance comparisons showcasing the improvements in request handling with and without Varnish.
This document summarizes a presentation about building a time machine using .NET Core and event sourcing. The presentation covers getting started with event sourcing, the history and concepts of event sourcing like commands, events, aggregates and projections. It also demonstrates a banking example and addresses challenges like replaying large numbers of events through rolling snapshots and fixing past issues by adding new events. The presentation aims to explain how to use event sourcing to build scalable and asynchronous applications that can rebuild state from immutable event records.
This document discusses Sprockets, a Ruby library that concatenates JavaScript files for development and optimizes them into a single file for deployment. It addresses the problem of long load times from many separate JavaScript files. Sprockets turns code modules into a single file with dependencies managed through requires. It reduces file size by 34% and HTTP requests by 25% compared to non-optimized code. The document provides instructions on installing Sprockets via Ruby Gems and using it through the terminal or as a Rails plugin.
CasperJS is an open source functional testing utility written in JavaScript that allows testing and navigation of web pages using a headless WebKit browser. It provides a high level API to programmatically browse pages, fill forms, click links, and assert page content. CasperJS can be used to write automated functional tests to test the integration of different layers of an application from routing to views by testing business rules and page integration. For example, a CasperJS test script is shown that navigates to a site, clicks a link, asserts URL and page content, and verifies specific text is found on the page.
Superfast Automated Web Testing with CasperJS & PhantomJS Hervé Vũ Roussel
CasperJS is a navigation scripting and testing utility for PhantomJS that allows testing of web pages and user interactions. It provides functions for navigation, clicking elements, filling forms, taking screenshots, and assertions. CasperJS runs quickly without a browser UI and allows debugging through verbose mode, capturing screenshots, and monitoring network requests and console logs. Tests can be refactored and common functions extracted to improve maintainability.
The document discusses Google's AMP (Accelerated Mobile Pages) project. It provides an overview of what AMP is, including its history and timeline, key components like AMP HTML and the AMP JavaScript library. It also discusses how AMP aims to improve page load speeds and user experience on mobile, as well as tracking conversions on AMP pages and implementing AMP on WordPress sites.
The document discusses an upcoming Sampa.js conference, including information about sponsors, available jobs, the schedule of presentations, wifi access, use of social media to discuss the event, and contact information for the organizer Thiago Avelino. Technologies discussed include Java, Ruby, PHP, MongoDB, Ext JS, Node.js, Coffeescript, HTML5, and SVG. The conference will focus on front-end performance, disconnected web applications, and real-time communication using WebSockets.
Vagrant is a tool for creating and sharing consistent work environments through virtual machines. It allows users to easily create, manage, and provision these environments, promoting portability and streamlined local development. The document provides links to essential resources and instructions for getting started with Vagrant and using it in conjunction with other tools like Puphpet and Varying Vagrant Vagrants.
This document provides a summary of the history and evolution of JavaScript and Node.js technologies. It discusses the creation of JavaScript in 1995 and key events like the launch of Node.js in 2009. Technologies like AJAX, MongoDB, and frameworks like AngularJS and React are also mentioned. The document shares links and resources for learning more about JavaScript and Node.js communities and documentation.
ServiceWorker: New game changer is coming!Chang W. Doh
The document discusses the introduction and potential of service workers as a significant advancement in web technology, enabling better control over offline resources, background processing, and network requests. It highlights key features, specifications, security considerations, and ways to implement and test service workers. Overall, service workers empower developers to manage caching and enhance user experience by improving loading times and enabling offline capabilities.
OpenCV is a library that provides image and video processing capabilities including input/output, manipulation, and computer vision/machine learning algorithms. It allows easy access to webcams and includes functions like capturing video frames, displaying images, and detecting motion or facial features. The library is open source and available for C/C++, Python, and other languages with documentation and examples on its website.
Config managament for development environments iiGareth Rushgrove
The document discusses configuration management for development environments, highlighting challenges developers face, such as the need for sysadmin skills and the variability of local setups. It emphasizes the use of Vagrant for automating the creation and management of virtual environments, allowing developers to maintain consistent environments across different systems. The content also addresses provisioning with tools like Chef and Puppet, along with practical examples of setting up development environments efficiently.
The document discusses performance measurement and optimization for web applications, emphasizing that optimization relies on accurate measurement. It covers various factors affecting rendering performance, page loading times, and offers tools and further readings for optimization techniques. Users are encouraged to utilize performance APIs and profiling tools to enhance their web app's efficiency.
The document defines a PermissionsTable that specifies the allowed actions for different app certification levels to access the camera and device storage photos. It also provides instructions to modify the prefs.js file to disable restrictions on accessing the debugging tools for certified apps in the B2G process.
CasperJS is an open source navigation scripting and testing utility written in JavaScript that eases the process of defining navigation scenarios and provides functions for common tasks like filling forms, clicking links, taking screenshots, and testing websites. It uses the PhantomJS or SlimerJS headless browsers under the hood. The Casper API provides methods like start(), then(), run(), and exit() to control navigation and run test suites, as well as utilities like fill(), click(), evaluate(), and waitForSelector() to interact with pages.
This document summarizes a presentation about using the CasperJS testing framework to test dynamic web applications built with Meteor. It discusses the challenges of testing dynamic apps, provides an overview of CasperJS and how it can be used to automate browser tasks and application testing. It also includes examples of using CasperJS to test simple Todo and party apps created with Meteor.
Quick & Easy Dev Environments with VagrantJoe Ferguson
Vagrant is a tool that allows users to easily create and configure virtual development environments and ensures that everyone is working with the same target environment. The document demonstrates how to install Vagrant and VirtualBox, acquire a virtual machine box, set up a basic LAMP stack environment, configure port forwarding and shared folders, and introduce some common Vagrant commands.
MLBlock is updating with new features based on user feedback. It will become a standalone application written in Typescript with a NextJS frontend and backend bundled together as a Docker container. The update will focus on peer-to-peer connectivity, Google Colab integration, Home Assistant integration, and support for application updates. Developers can look forward to using MLBlock via the command line with a new MLBlock CLI.
The document discusses the internet of things (IoT) and how it connects physical devices to the internet through sensors, software and network connectivity. It provides examples of various smart IoT devices like a smart fork, water bottle, toothbrush and more. It then discusses some of the key concepts and technologies behind IoT like MQTT, a lightweight messaging protocol commonly used for IoT. It also outlines the history and growth of IoT from its origins in the late 2000s to the projected 50 billion connected devices by 2020.
The document discusses the structure of KidBright plugins and how to generate a new plugin using the KidBright plugin generator. It lists the key files that a plugin contains such as blocks.js, generators.js, routes.js, and code files like NTTRandom.h and NTTRandom.cpp. The generator can be installed and used to quickly create a new plugin project template called NTTMyTestPlugin.
The document discusses the structure of KidBright plugins and how to generate a new plugin using the KidBright plugin generator. It lists the key files that a plugin contains, such as blocks.js for the plugin blocks, generators.js for generators, and msg/en.js for localization strings. It also provides code snippets for a sample NTTRandom plugin implementation with C++ and header files.
ESP-Now is a protocol developed by Espressif that enables wireless devices to communicate in a peer-to-peer and connectionless manner without using Wi-Fi. It requires pairing between devices first, then allows for persistent and encrypted connections of up to 250 bytes. It is ideal for applications like smart lights and sensors. Some limitations include a lack of broadcast support and limited numbers of encrypted peers.
The document discusses the Internet of Things (IoT). It defines IoT as the network of physical devices embedded with sensors, software and network connectivity that enables the collection and exchange of data. It explains that IoT allows objects to be sensed and controlled remotely via existing network infrastructure. It estimates that IoT will consist of almost 50 billion connected objects by 2020. It also provides examples of common IoT applications and discusses some of the key enabling technologies and protocols used in IoT systems like MQTT.
This document discusses Internet of Things (IoT) technologies and protocols. It provides examples of smart IoT devices like a smart fork, toothbrush, air conditioner, bike, and hydroponic system. It then explains common IoT protocols like HTTP, MQTT, and CoAP. MQTT in particular is highlighted as a lightweight protocol suitable for IoT messaging. The document also discusses MQTT features like publishing, subscribing, retained messages, and presence. Finally, resources for learning more about MQTT are provided.
The document introduces IBM Bluemix and IoT Foundation, providing an overview of their architecture and how to get started. It explains that Bluemix allows users to publish and subscribe to topics without sign-up, and provides a quickstart demo for developing IoT applications. The recap section lists key concepts like usernames, passwords, client IDs and topics. It encourages readers to explore documentation and try out a quickstart demo.
The document describes the Chiang Mai Maker Club (CMMC) and its work connecting devices using internet of things technology like the ESP8266 and MQTT protocol. It discusses pains faced around connectivity, reliability, and dependencies. The club created a wrapper called "talking-things" to manage devices and their communication, as well as a dashboard for quick device information. Overall the CMMC works to connect devices using IoT standards for cooperative technology advancement in Chiang Mai.
This document provides configuration instructions for setting up an OpenWrt device to act as both a wireless station and access point. It includes using uci to configure the station and access point interfaces, restarting the network, and examples of setting up an SSH tunnel for port forwarding.
This document provides an overview of a WebRTC demonstration session. It introduces the ChiangMai Maker Club as the presenters and lists the front-end technologies used like Angular.js and Bootstrap 3. The back-end technologies listed are Sails.js, Express.js and Node.js. It then describes using real-time communication like Socket.io and WebRTC to draw to a canvas periodically, send the data to the server, have the server process and send back the data to paint the processed image on the client and control RGB LEDs.
LoveNotYet - The first Thailand sex education game.Nat Weerawan
The document discusses taboo topics in Thai schools and solutions to address them. It notes that Thailand has a high teen pregnancy rate compared to global averages. It proposes having two-way conversations between parents and children and teachers and students about taboo topics, as well as using games, to help reduce misunderstandings. An app was created and saw over 100,000 downloads, with the goal of improving education and outcomes.
The document outlines a group's journey from learning about Raspberry Pi and Arduino to creating various projects over five months. They highlight their progression from basic understanding to developing a real-time web-based wireless sensor monitoring system and a tic-tac-toe game, utilizing mobile interfaces and software frameworks. The document also mentions their focus on knowledge sharing and the impact of their projects on the community.
This document outlines several experiential projects focused on Raspberry Pi, Arduino, and sensors including building a data logger, real-time technology projects using Rabbit MQ and Angular.js, a demo using Meteor.js and Rabbit MQ with Mongo DB, and demos of Pubsub and PubNub. It also mentions building a home media center for home entertainment.
Booklat @ Social Innovation Camp Asia 2013 (SICA2013)Nat Weerawan
The document outlines the schedule and activities for a team working on a sex education game over a weekend. It includes meetings with the team on Monday evening, working on setup and design on Tuesday, and brainstorming and finalizing a presentation on Sunday to present the game. Key members included a Rails Guy, Django Guy, and someone who was originally not the designer but became the designer. They worked overnight multiple times to complete the project.
CoffeeScript is a programming language that compiles to JavaScript. It aims to enhance JavaScript with Python-like syntax, including features like classes, lexical scoping, default arguments, string interpolation, and concise conditional assignment. The document provides examples of CoffeeScript code and how it compiles to equivalent JavaScript, highlighting some of CoffeeScript's key features like class definitions, lexical scoping without global variables, default arguments, string interpolation, conditional suffixes, operator aliases, destructuring assignment, the existential operator, splats, and list comprehensions.
This document provides an overview of different types of Facebook applications including news sites, entertainment sites, brand sites, and social plugins. It discusses the anatomy and key components of each type of site. The document also addresses topics like the Facebook session, signed requests, promotion guidelines, and feedback on the Like story. It outlines different ways to build Facebook apps such as canvas apps, static HTML apps, and tabs.
This article includes an introduction to the structure, model, and features of cryogenic liquid nitrogen containers.
Core products:
1. Storage Series Liquid Nitrogen Tanks
2. Laboratory Series Liquid Nitrogen Tanks
3. Animal Husbandry Series Tanks
4. Vapor Phase Cryogenic Storage
5. LN2 Supply Tanks
6. Small Gas Phase Liquid Nitrogen Tanks
7. Biobank Tanks
8. Accessories & Instruments
Ideal for Biobanks, research labs, veterinary clinics, industrial facilities, and medical institutions seeking reliable, certified cryogenic storage and transfer solutions.
Web: www.cryogenicstoragetank.com