ConJobs: Part 1 - Program your receipt printer
|
|
- Eric King
- 5 years ago
- Views:
Transcription
1 ConJobs: Part 1 - Program your receipt printer Step 1: Prepare thermal printer Cut wires and connect the power to the printer. Screw the wires down from the power adapter. Check that the green light flashes, then place paper inside. Step 2: Connect thermal printer to Raspberry Pi For connecting the Pi to the printer, use this guide: Then plug in printer wires to Raspberry Pi GPIO pins Step 3: Set up Raspberry Pi to control thermal printer a. Install the necessary libraries: sudo apt-get install python-serial sudo apt-get install python-imaging-tk b. Give the serial port permission to dialout output: sudo usermod -a -G dialout pi c. Edit sudo nano /boot/cmdline.txt Replace dwc_otg.lpm_enable=0 console=ttyama0, kgdboc=ttyama0, console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait with dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait d. Remove last line of /etc/inittab and reboot pi e. Download python files needed to control printer from the pi sudo apt-get install git-core clone into a directory git clone git://github.com/luopio/py-thermal-printer.git f. Edit printer.py file sudo nano printer.py add #!/usr/bin/env python to top g. point to correct port /dev/ttyama0 h. Run printer.py to verify the printer prints! Step 4: Use Indeed.com API to fetch job data a. Register for indeed.com API. This will allow access to query indeed s database of jobs. b. Make queries using the Job Search API. For example, at the following URL: &q=political&l=san+francisco%2C+ca&sort=&radius=&st=&jt=&start=&limit=5&fr
2 omage=&filter=&latlong=1&co=us&chnl=&userip= &useragent=mozilla/%2f4.0%2 8Firefox%29&v=2 c. Alter the publisher query parameter value with the key granted to you. d. Alter the q query parameter value with any keyword desired. e. To further customize a search, consult the API documentation at for information about the other query parameters. f. This service will output XML data. Step 5: Set up Ruby on Rails web application to serve json data a. Create a new rails project rails new conjobs b. Heroku only uses postgresql for production, so change depencies from SQLite to PostgresQL. In Gemfile, replace gem sqlite with gem pg. In database.yml change adapter s value to postgresql c. Set up the main MVC (Model View Controller) i. rails generate controller main ii. Rails handles routes by naming conventions, so add method to main_controller.rb def new_jobs iii. Create a view of the same name - new_jobs.html.erb (erb is a ruby templating format, to easily input data to views) iv. Go to config/routes.rb to add the route: get main#newl_jobs v. Go to the gemfile and add gem http, gem crack, and gem json. These will help parse the XML, and convert the data to JSON. vi. Go to the new_jobs method and make a request to the indeed.com api, and format the data as json using the imported libraries def = = = {'jobs' rer json: JSON.pretty_generate(@output_json) def get_json_jobs url = " er= &q=political&l=san+franci sco%2c+ca&sort=&radius=&st=&jt=&start=" + get_start_value.to_s + "&limit=5&fromage=&filter=&latlong=1&co=us&c hnl=&userip= &useragent=mozilla/%2f4.0 = HTTP[:accept => = Crack::XML.parse(@job_search_xml)
3 def = [] json_jobs.each do job new_obj = {} new_obj['jobtitle'] = job['jobtitle'] new_obj['company'] = job['company'] new_obj['formattedlocation'] = job['formattedlocation'] new_obj['date'] = job['date'] new_obj['url'] = vii. End Make sure the json is being served by running a local server and testing the url /new_jobs (rails s and visit localhost:3000/new_jobs) Step 6: Set up web app for viewing all job listings a. Create the necessary model to store job data, including its attributes rails generate model job title:string company:string formattedlocation:string date:string url:string b. run rake db:reset. This drops all db files, setups the db, and adds the migrations. c. add a path to config/routes.rb. root main#all_jobs d. define a method of the same name in your routes file: def all_jobs. This is going to be the url to serve all the job postings def = Job.all def save_job(job) Job.create!(:title => job['jobtitle'], :company => job['company'], :formattedlocation => job['formattedlocation'], :date => job['date'], :url => job['url'], ) def get_start_value master_index_object = Index.first
4 master_index_object.start_index def update_index_position master_index_object = Index.first master_index_object.start_index += 5 master_index_object.save e. Create a view file of the same name: all_jobs.html.erb. Set up the view to display all the objects in variable the method is holding on too. The variables in the controller are accessible from the views, and can be referenced using html.erb templating techniques <div> do job %> <ul><%= job.title %> <li><%= job.company %></li> <li><%= job.formattedlocation %></li> <li><%= job.date %></li> <a href="<%= job.url %>" target='_blank'><li>more info</li></a> </ul> <% %> </div> f. run a local server, go to the root path and see if all_jobs are posted (rails s). If nothing is there, visit /new_jobs, which is the url that maps to the controller method that is making the request for new data, and saving the data to the Jobs database. Step 7: Set up web app for resetting database a. Go to config/routes.rb and add a route get reset => main#reset b. Go to controllers/main_controller.rb and add a new method, reset def reset clear_job_database reset_index def clear_job_database Job.destroy_all def reset_index master_job_index = Index.first master_job_index.start_index = 1 master_job_index.save c. Add a new view of the same name, to make sure the url wont error. In views/main/reset.html.erb, signal to the user the database is being wiped clean.
5 <p>database reset. Job index to 1, and all jobs destroyed.</p> d. Run a local server and visit /reset and then /all_jobs to test! (rails s) Step 8: Fetch data onto Raspberry Pi a. Create new file - conjobs.py import urllib import json import printer import requests import time NUMBER_OF_JOBS = 5 p = printer.thermalprinter(serialport= /dev/ttyama0 ) p.justify( C ) While True: result = urllib.urlopen( jobs ).read() data = json.loads(result) p.print_text( \n\n\n\n\n\n\n\n ) p.print_text( CONJOBS\n ) p.print_text( Today s hot 5 jobs\n\n\n\n ) time.sleep(2) for i in range(number_of_jobs): job = data( jobs )[i] title = %s\n % job[u jobtitle ] company = %s\n % job[u company ] formatted_location = %s\n % job[u formattedlocation ] posting_date = %s\n % job[u date ] p.print_text(title) p.print_text(company) p.print_text(formatted_location) p.print_text(posting_date) p.print_text( \n\n\n ) p.print_text( \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n ) time.sleep(86400) Step 9: Double check the programming
6 Run the file, see that it prints, check conjobs.herokuapp.com for the same jobs, with more information, including an link to apply. Enclose in box and voilà! Conjobs!
neo.cortec. User Guide for NeoGateway
User Guide for NeoGateway Doc Status: Release Doc version: 1.2 Date: June 2017 Table of Contents 1 Document revisions... 4 2 Introduction... 4 3 Abbreviations... 4 4 Definitions... 4 5 NeoGateway Technical
More informationAdafruit Ultimate GPS on the Raspberry Pi
Adafruit Ultimate GPS on the Raspberry Pi Created by Kevin Townsend Last updated on 2016-03-28 04:33:14 PM EDT Guide Contents Guide Contents Introduction What you'll need: Setting Everything Up Hooking
More informationAdafruit Ultimate GPS on the Raspberry Pi
Adafruit Ultimate GPS on the Raspberry Pi Created by Kevin Townsend Last updated on 2017-07-28 03:08:38 PM UTC Guide Contents Guide Contents Introduction What you'll need: Setting Everything Up Hooking
More informationLecture 4. Ruby on Rails 1 / 49
Lecture 4 Ruby on Rails 1 / 49 Client-Server Model 2 / 49 What is it? A client (e.g. web browser, phone, computer, etc.) sends a request to a server Request is an HTTP request Stands for HyperText Transfer
More informationIntroduction and first application. Luigi De Russis. Rails 101
Introduction and first application Luigi De Russis 2 About Rails Ruby on Rails 3 Framework for making dynamic web applications created in 2003 Open Source (MIT License) for the Ruby programming language
More informationARPI600. Contents. From Waveshare Wiki
ARPI600 From Waveshare Wiki Contents 1 How to start up serial debugging function 2 How to control peripherals by Raspberry Pi 2.1 System serial port configuration 2.2 Install relative libraries 2.3 Serial
More informationContents in Detail. Foreword by Xavier Noria
Contents in Detail Foreword by Xavier Noria Acknowledgments xv xvii Introduction xix Who This Book Is For................................................ xx Overview...xx Installation.... xxi Ruby, Rails,
More informationLecture 4. Ruby on Rails 1 / 52
Lecture 4 Ruby on Rails 1 / 52 Homeworks 2 & 3 Grades were released for homework 2 Homework 3 was due last night Everyone got a style freebie since my default setup ignores spec files and I didn't change
More informationPiCAN 2 GPS Rev B V1.0. PiCAN GPS USER GUIDE V1.0. PiCAN GPS CAN-Bus Board for Raspberry Pi. SK Pang Electronics Ltd
PiCAN GPS USER GUIDE V1.0 Product name Model number Manufacturer PiCAN GPS CAN-Bus Board for Raspberry Pi RSP-PICANGPS SK Pang Electronics Ltd 1 Contents Table of Contents 1. Introduction... 3 1.1. Features...
More informationPiCAN GPS + Gyro +Accelerometer USER GUIDE V1.0
PiCAN GPS + Gyro +Accelerometer USER GUIDE V1.0 Product name Model number Manufacturer PiCAN GPS + Gyro + Accelerometer CAN-Bus Board for Raspberry Pi RSP-PICANGPSACC SK Pang Electronics Ltd 1 Contents
More informationAdafruit Ultimate GPS HAT for Raspberry Pi
Adafruit Ultimate GPS HAT for Raspberry Pi Created by lady ada Last updated on 2016-01-11 12:50:11 PM EST Guide Contents Guide Contents Overview Pinouts Serial Console Pins PPS Pin HAT EEPROM Pi GPS Setup
More informationAdafruit Ultimate GPS HAT for Raspberry Pi
Adafruit Ultimate GPS HAT for Raspberry Pi Created by lady ada Last updated on 2016-03-28 04:37:26 PM EDT Guide Contents Guide Contents Overview Pinouts Serial Console Pins PPS Pin HAT EEPROM Pi GPS Setup
More informationInstallation guide. Step1. Install the OS for Raspberry Pi 3. Go to to download Raspbian to the PC.
Installation guide Step1. Install the OS for Raspberry Pi 3 Go to https://www.raspberrypi.org/downloads/ to download Raspbian to the PC. Unzip 2017-01-11-raspbian-jessie.zip and you will get a disc image
More informationCSCI-2320 Web Programming: Ruby on Rails
CSCI-2320 Web Programming: Ruby on Rails Mohammad T. Irfan Plan u Model-View-Controller (MVC) framework of web programming u Ruby on Rails 1 Ruby on Rails u Developed by David Hansson released 2004 u MVC
More informationTerra-Berry DAC2. Serial port communication setting manual at volumio2 & Raspberry Pi3. Notes
Terra-Berry DAC2 Serial port communication setting manual at volumio2 & Raspberry Pi3 Notes This procedure contains volumio modifications. Please be aware that whatever problem happens as a result of following
More informationWeb System Development by Ruby on Rails. Day 3(4/Oct/2012) First Project Internationalization
Web System Development by Ruby on Rails Day 3(4/Oct/2012) First Project Internationalization Today s Goal (Continued) Run Rails 3 on CentOS, and generate the first project. Generate the bi-lingual screen
More informationRails Guide. MVC Architecture. Migrations. Hey, thanks a lot for picking up this guide!
Rails Guide Hey, thanks a lot for picking up this guide! I created this guide as a quick reference for when you are working on your projects, so you can quickly find what you need & keep going. Hope it
More informationCOM401 Software Engineering Laboratory
Computer Engineering Department COM401 Software Engineering Laboratory November 04, 2014 LAB-3: Rails Introduction Time: 2 lab hours Objectives: Practice with Ruby Symbols Routes MVC pattern CRUD operations
More informationInstalling Open Project on Ubuntu AWS with Apache and Postgesql
Installing Open Project on Ubuntu AWS with Apache and Postgesql Contents Installing Open Project on Ubuntu AWS with Apache and Postgesql... 1 Add new ports to your security group... 2 Update your system...
More informationDay 3: 26/April/2012 Scaffolding Generation of Skeletons; Test run Memopad
Day 3: 26/April/2012 Scaffolding Generation of Skeletons; Test run Memopad p Generate WEB screens of the MemoPad Database Application n Setting up for Database Connection n Automatic generation of DB Files
More informationRails: MVC in action
Ruby on Rails Basic Facts 1. Rails is a web application framework built upon, and written in, the Ruby programming language. 2. Open source 3. Easy to learn; difficult to master. 4. Fun (and a time-saver)!
More informationGuides SDL Server Documentation Document current as of 03/08/ :14 PM.
Guides SDL Server Documentation Document current as of 03/08/2018 04:14 PM. Overview This document provides the information for creating and integrating the SmartDeviceLink (SDL) server component with
More informationGooligum Electronics 2015
The Wombat Prototyping Board for Raspberry Pi Operation and Software Guide This prototyping board is intended to make it easy to experiment and try out ideas for building electronic devices that connect
More informationRaspberry Pi Class Ed 299. Mike Davis Truman College 5/26/2015
Raspberry Pi Class Ed 299 Mike Davis Truman College 5/26/2015 Goals for Today Discuss Raspberry Camera Projects Fruit Rotting Air Powered Car Photo booth Use a Python Program to control the camera Copy,
More informationThe Broadband Ham Net community has had a need for a stand alone time server for their meshes. This document will attempt to fill in this need.
Introduction: The Broadband Ham Net community has had a need for a stand alone time server for their meshes. This document will attempt to fill in this need. Some caveats to consider before embark on a
More informationRails: Views and Controllers
Rails: Views and Controllers Computer Science and Engineering College of Engineering The Ohio State University Lecture 18 Recall: Rails Architecture Wiring Views and Controllers A controller is just an
More informationIntroduction to Ruby on Rails
Introduction to Ruby on Rails Software Engineering II WS 2016/17 Arian Treffer arian.treffer@hpi.de Prof. Plattner, Dr. Uflacker Enterprise Platform and Integration Concepts group Introduction to Ruby
More informationIntroduction to Ruby on Rails
Introduction to Ruby on Rails Keven Richly keven.richly@hpi.de Software Engineering II WS 2017/18 Prof. Plattner, Dr. Uflacker Enterprise Platform and Integration Concepts group Introduction to Ruby on
More informationGetting started with Raspberry Pi (and WebIoPi framework)
Getting started with Raspberry Pi (and WebIoPi framework) 1. Installing the OS on the Raspberry Pi Download the image file from the Raspberry Pi website. It ll be a zip file as shown below: Unzip the file
More informationNetworked Thermal Printer using Raspberry Pi and CUPS
Networked Thermal Printer using Raspberry Pi and CUPS Created by Phillip Burgess Last updated on 2017-12-18 09:16:47 PM UTC Guide Contents Guide Contents Overview First-Time System Setup Connect and Configure
More informationCS 155 Project 2. Overview & Part A
CS 155 Project 2 Overview & Part A Project 2 Web application security Composed of two parts Part A: Attack Part B: Defense Due date: Part A: May 5th (Thu) Part B: May 12th (Thu) Project 2 Ruby-on-Rails
More informationIntroduction to Ruby on Rails
Introduction to Ruby on Rails Ralf Teusner ralf.teusner@hpi.de Software Engineering II WS 2018/19 Prof. Plattner, Dr. Uflacker Enterprise Platform and Integration Concepts group Introduction to Ruby on
More information*** All this without using a single GPIO digital I/O pin ***
SF Innovations Ltd Custard Pi 4-8 Digital I/O card using I2C for the Raspberry Pi GPIO User Instructions (22nd April 2016) Contents Introduction CE Compliance and Safety Information Circuit Description
More informationINTRODUCTION. To avoid the PHP7 conflicts use this OS image: STEP 1 - Parts List:
INTRODUCTION These are enhanced instruction set to install RaspberryPints on a Raspberry Pi 2 Model B with use of an AlaMode card and Flow Meters from AdaFruit.com. I started with instruction set here:
More informationCamJam! Workshop: Node-RED and getting started on the Internet of Things
http://nodered.org Tinamous.com http://shop.ciseco.co.uk! Node-RED is a visual tool for wiring the Internet of Things (IoT). Node- RED is platform- independent, but has been developed with small computers
More informationChiliProject - Bug # 529: builder is not part of the bundle. Add it to Gemfile
ChiliProject - Bug # 529: builder is not part of the bundle. Add it to Gemfile Status: Closed Priority: Normal Author: Enno Grà per Category: Created: 2011-07-17 Assignee: Updated: 2012-06-23 Due date:
More informationGuides SDL Server Documentation Document current as of 04/06/ :35 PM.
Guides SDL Server Documentation Document current as of 04/06/2018 02:35 PM. Overview This document provides the information for creating and integrating the SmartDeviceLink (SDL) server component with
More informationProblem: Write HTML would create web page depicted below. Your solution must include the following types of HTML elements (and no other
Problem: Write HTML would create web page depicted below. Your solution must include the following types of HTML elements (and no other types):!doctype, a (with href attribute), body, h1, head, html, img
More informationModel-View-Controller (MVC)
Model-View-Controller (MVC) with Ruby on Rails Software Languages Team University of Koblenz-Landau Ralf Lämmel and Andrei Varanovich MVC - a classic definition The Model is the application object The
More informationMoving Your Application on the Raspberry Pi to the UC-8100-LX Computer. 1 Background Requirement Overview System Environment...
Moving Your Application on the Raspberry Pi to the UC-8100-LX Computer Contents Jimmy Chen ( 陳永達 ) Field Application Engineer jimmy.chen@moxa.com 1 Background... 2 2 Requirement... 2 3 Overview... 2 4
More information레드마인 설치 작성일 : 작성자 : 김종열
레드마인 2.3.3 설치 작성일 : 2013-11-2 작성자 : 김종열 기준문서 : http://www.redmine.or.kr/projects/community/wiki/%eb%a0%88%eb%93%9c%eb%a7%88%ec%9d %B8_%EC%84%A4%EC%B9%98(Windows) 설치홖경 OS: Windows 7 64 DB: Mysql 5.5 이상
More informationD365 DATA ARCHIVAL & RETENTION
MICROSOFT LABS FEBRUARY 7, 2018 D365 DATA ARCHIVAL & RETENTION Highly scalable, secured and re-usable solution for Archive, Retain and Delete the Microsoft D365 data Contents Introduction... 2 Archiving...
More informationCustard Pi 5 - Breakout board with protection for 8 digital I/O and stacking connector for the Raspberry Pi GPIO
SF Innovations Ltd Custard Pi 5 - Breakout board with protection for 8 digital I/O and stacking connector for the Raspberry Pi GPIO User Instructions (11th November 2016) Contents Introduction CE Compliance
More informationClient Side MVC with Backbone & Rails. Tom
Client Side MVC with Backbone & Rails Tom Zeng @tomzeng tom@intridea.com Client Side MV* with Backbone & Rails Benefits of Client Side MVC Backbone.js Introduction Client Side MV* Alternatives Backbone
More informationEpisode 298. Getting Started With Spree
Episode 298 Getting Started With Spree Spree 1 is a fully-featured e-commerce solution that can be easily integrated into a Rails application. If you need to turn a Rails app into a store that sells products
More informationRaspiDigiHamClock. Raspberry Pi Amateur Radio Digital Clock. v WA4EFH R.Grokett
RaspiDigiHamClock Raspberry Pi Amateur Radio Digital Clock v2018-07-08 WA4EFH R.Grokett Overview Amateur Radio Operators (aka HAM Radio) use 24 hour UTC (Universal Coordinated Time) for much of their operation.
More informationDay 2: 19/April/2012 Installing Aptana IDE; Integrated Development Environment And Rails
Day 2: 19/April/2012 Installing Aptana IDE; Integrated Development Environment And Rails p Setting Up Aptana IDE n IDE; Integrated Development Environment n Set Up Japanese Language Support n Run rails
More informationDeploying Rails with Kubernetes
Deploying Rails with Kubernetes AWS Edition Pablo Acuña This book is for sale at http://leanpub.com/deploying-rails-with-kubernetes This version was published on 2016-05-21 This is a Leanpub book. Leanpub
More informationSF Innovations Ltd. User Instructions (5th January 2016) Contents. Introduction
SF Innovations Ltd Custard Pi 1 - Breakout Board with protection for the Raspberry Pi GPIO Custard Pi 1A - Breakout Board for the Raspberry Pi GPIO User Instructions (5th January 2016) Contents Introduction
More informationInstallation of RedHawk on Jetson TX1, TX2 and TX2i Development Boards Release Notes
Installation of RedHawk 7.3.2 on Jetson TX1, TX2 and TX2i Development Boards Release Notes July 20 th, 2018 0898003-7.3.2-TX-REV-A This page intentionally left blank 1. Introduction This document describes
More informationProject 15 - Reading a keypad with the Raspberry Pi
Project 15 - Reading a keypad with the Raspberry Pi Outline This application note describes how to read a 3 x 4 data keypad using the Raspberry Pi. Any of the Raspberry Pi models can be used including
More informationInstalling OptiRain Open on Raspbian
QUICKSMART Installing OptiRain Open on Raspbian QuickSmart Development P.O. Box 3689 Santa Clara, CA 95055 408-777-0944 www.quicksmart.com This document shows how to install OptiRain Open 2 on a Raspberry
More information9 Output Devices: Buzzers
9 Output Devices: Buzzers Project In this project, you will learn how to connect and control LEDs (Light Emitting Diode) and a buzzer with the Raspberry Pi. Components In addition to your Raspberry Pi,
More informationToby Crawley. Creative Commons BY-SA 3.0. Charlotte.rb May 2011
Toby Crawley Creative Commons BY-SA 3.0 Charlotte.rb May 2011 whoami @tcrawley C > Java > PHP > Java > Ruby > Java? Red Hat Senior Engineer member of Goal To convert you all to TorqueBox users! TorqueBox
More informationAdafruit PiOLED - 128x32 Mini OLED for Raspberry Pi
Adafruit PiOLED - 128x32 Mini OLED for Raspberry Pi Created by lady ada Last updated on 2017-06-02 04:28:36 AM UTC Guide Contents Guide Contents Overview Usage Step 1. Dependencies Step 2. Enable i2c Step
More informationUsing the BMP085/180 with Raspberry Pi or Beaglebone Black
Using the BMP085/180 with Raspberry Pi or Beaglebone Black Created by Kevin Townsend Last updated on 2014-06-28 08:31:07 PM EDT Guide Contents Guide Contents Overview A Note on Distributions Configuring
More informationAdafruit's Raspberry Pi Lesson 11. DS18B20 Temperature Sensing
Adafruit's Raspberry Pi Lesson 11. DS18B20 Temperature Sensing Created by Simon Monk Last updated on 2016-11-03 12:19:05 AM UTC Guide Contents Guide Contents Overview Other Code Libraries Parts Hardware
More informationBLiSo - Buttons, Lights, Sound
BLiSo - Buttons, Lights, Sound For the Raspberry Pi Introduction Thank you for purchasing this small module, designed to make exploring the GPIO port safe and easy. Hopefully the information provided in
More informationRuby in the Sky with Diamonds. August, 2014 Sao Paulo, Brazil
Ruby in the Sky with Diamonds August, 2014 Sao Paulo, Brazil JELASTIC PLATFORM AS INFRASTRUCTURE Jelastic provides enterprise cloud software that redefines the economics of cloud deployment and management.
More informationHelp Me! A Consumer Product Assistance Application
Grand Valley State University ScholarWorks@GVSU Technical Library School of Computing and Information Systems 2016 Help Me! A Consumer Product Assistance Application Ryan Kingsley Grand Valley State University
More informationGuides SDL Server Documentation Document current as of 05/24/ :13 PM.
Guides SDL Server Documentation Document current as of 05/24/2018 04:13 PM. Overview This document provides the information for creating and integrating the SmartDeviceLink (SDL) server component with
More informationRaspberry Pi NTP Clock Setup Guide
Raspberry Pi NTP Clock Setup Guide Several steps are involved in getting your Raspberry Pi to operate as a NTP Clock. To begin with, you must obtain a LCD Plate (www.adafruit.com) and build it. You must
More informationPROCE55 Mobile: Web API App. Web API. https://www.rijksmuseum.nl/api/...
PROCE55 Mobile: Web API App PROCE55 Mobile with Test Web API App Web API App Example This example shows how to access a typical Web API using your mobile phone via Internet. The returned data is in JSON
More informationZumobi Brand Integration(Zbi) Platform Architecture Whitepaper Table of Contents
Zumobi Brand Integration(Zbi) Platform Architecture Whitepaper Table of Contents Introduction... 2 High-Level Platform Architecture Diagram... 3 Zbi Production Environment... 4 Zbi Publishing Engine...
More informationHello, world! 3.1. Ruby on Rails Web SimpleGreeter Hello, world! Rails SimpleGreeter Web Rails projects. ruby $ mkdir -p ~/projects
3 Hello, world! Ruby on Rails Web SimpleGreeter Hello, world! 3.1 Rails SimpleGreeter Web Rails projects OIAX BOOKS Ruby on Rails 5.0 $ mkdir -p ~/projects ruby 2.3.1 15 3 Hello, world! $ cd ~/projects
More informationInstallation and Setup Guide
Wrenchman, Inc. 10K122 Interface for 2127 POS Printer Replacement Installation and Setup Guide October 11, 2004 1 Introduction The Wrenchman 10K122 interface enables the use of an IBM 4610 thermal printer
More informationTutorial 4 Data Persistence in Java
TCSS 360: Software Development Institute of Technology and Quality Assurance Techniques University of Washington Tacoma Winter 2017 http://faculty.washington.edu/wlloyd/courses/tcss360 Tutorial 4 Data
More informationSecurity Camera. by maartenbrysbaert. The SeCam is a security camera that allows you to: - Livestream. - Rotate your camera 180 degrees
instructables Security Camera by maartenbrysbaert The SeCam is a security camera that allows you to: - Livestream - Rotate your camera 180 degrees - Capture and record - View captured photos and recorded
More informationKeeping Rails on the Tracks
Keeping Rails on the Tracks Mikel Lindsaar @raasdnil lindsaar.net Working in Rails & Ruby for 5+ Years http://lindsaar.net/ http://stillalive.com/ http://rubyx.com/ On the Rails? What do I mean by on the
More informationTopics. What is a RaspberryPi? Why should I want one? What is Raspbian? What is SSH? What is FTP? What is LAMP? Making a LAMP Stack!
Topics What is a RaspberryPi? Why should I want one? What is Raspbian? What is SSH? What is FTP? What is LAMP? Making a LAMP Stack! What is a Raspberry Pi? The Raspberry Pi is a Credit Card sized computer.
More informationRaspberry Pi GPIO Zero Reaction Timer
Raspberry Pi GPIO Zero Reaction Timer Tutorial by Andrew Oakley Public Domain 1 Feb 2016 www.cotswoldjam.org Introduction This Python programming tutorial, shows you how simple it is to use an LED light
More informationEnterprise Systems & Frameworks
Enterprise Systems & Frameworks CS25010 - Web Programming Connor Goddard 5 th November 2015 Aberystwyth University 1 INTRODUCTION In today s session, we will aim to cover the following: Multi-tier Architectural
More informationSigma Tile Workshop Guide. This guide describes the initial configuration steps to get started with the Sigma Tile.
Sigma Tile Workshop Guide This guide describes the initial configuration steps to get started with the Sigma Tile. 1 Contents Contents... 2 Chapter 1: System Requirements... 3 Chapter 2: Configure Your
More informationPulp Python Support Documentation
Pulp Python Support Documentation Release 1.0.1 Pulp Project October 20, 2015 Contents 1 Release Notes 3 1.1 1.0 Release Notes............................................ 3 2 Administrator Documentation
More informationDay 8: 7/June/2012. Log-in Authentication
Day 8: 7/June/2012 Log-in Authentication p Learn authentication so that only specific users can use the Web information of the system. p We use Devise to p Add one line to the file project/gemfile gem
More informationLecture 7. Action View, Bootstrap & Deploying 1 / 40
Lecture 7 Action View, Bootstrap & Deploying 1 / 40 Homeworks 5 & 6 Homework 5 was graded Homework 6 was due last night Any questions? 2 / 40 How would you rate the di culty of Homework 6? Vote at http://pollev.com/cis196776
More informationnewauth Documentation
newauth Documentation Release 0.0.1 adrien-f April 11, 2015 Contents 1 Installation 3 1.1 Dependencies............................................... 3 1.2 Downloading...............................................
More informationGit Basi, workflow e concetti avanzati (pt2)
Git Basi, workflow e concetti avanzati (pt2) Andrea Fornaia, Ph.D. Department of Mathema.cs and Computer Science University of Catania Viale A.Doria, 6-95125 Catania Italy fornaia@dmi.unict.it hfp://www.cs.unict.it/~fornaia/
More informationHuman-Computer Interaction Design
Human-Computer Interaction Design COGS120/CSE170 - Intro. HCI Instructor: Philip Guo Lab 4 - Simulating a backend without needing a server (2017-11-03) made by Philip Guo, derived from labs by Michael
More informationHeroku. Rimantas Kybartas
Heroku Rimantas Kybartas Salesforce platform (PaaS) Facts about Heroku Has been in development since June 2007, 2010 acquired by Salesforce Open platform Languages and frameworks: Ruby and Rails Node.js
More informationGraphQL. Concepts & Challenges. - I m Robert Mosolgo - Work from home Ruby developer - From Charlottesville VA - For GitHub
GraphQL Concepts & Challenges - I m Robert Mosolgo - Work from home Ruby developer - From Charlottesville VA - For GitHub Rails API WHY - You have your Rails app, why bother with an API? - You have clients.
More informationBitnami JRuby for Huawei Enterprise Cloud
Bitnami JRuby for Huawei Enterprise Cloud Description JRuby is a 100% Java implementation of the Ruby programming language. It is Ruby for the JVM. JRuby provides a complete set of core built-in classes
More informationUser Guide for itrust over SMS and itrust over Wi-Fi Direct Installation and Use
National Science Foundation CNS 10-16193 User Guide for itrust over SMS and itrust over Wi-Fi Direct Installation and Use University of California, Santa Barbara by Isaí Michel Lombera This documentation
More informationConfiguration the Raspberry Pi for the SmartPI. There are two ways to install the necessary software to use the SmartPi with your Raspberry Pi!
Configuration the Raspberry Pi for the SmartPI There are two ways to install the necessary software to use the SmartPi with your Raspberry Pi! I. You install the pre-configured image on your Raspberry
More informationSend Raspberry Pi Data to COSM
Send Raspberry Pi Data to COSM Created by Mikey Sklar Last updated on 2014-12-16 12:00:28 PM EST Guide Contents Guide Contents Overview To follow this tutorial you will need Connecting the Cobbler to the
More informationMIT AITI Python Software Development Lab DJ1:
MIT AITI Python Software Development Lab DJ1: This lab will help you get Django installed and write your first application. 1 Each person in your group must complete this lab and have it checked off. Make
More informationComposer Help. Web Request Common Block
Composer Help Web Request Common Block 7/4/2018 Web Request Common Block Contents 1 Web Request Common Block 1.1 Name Property 1.2 Block Notes Property 1.3 Exceptions Property 1.4 Request Method Property
More informationLyna Framework Documentation
Lyna Framework Documentation Release 0.1 Nicolas Bounoughaz June 12, 2015 Contents 1 Features 3 2 Contribute 5 3 Support 7 4 License 9 5 Get started 11 5.1 Installation................................................
More informationAlarm Counter. A Ceilometer OpenStack Application
Alarm Counter A Ceilometer OpenStack Application Tejas Tovinkere Pattabhi UTD VOLUNTEER AT AWARD SOLUTIONS Summer 2015 Contents Alarm Counter 1 Introduction...2 2 Pre-Requisites...2 2.1 Server Creation...
More informationweb2py tutorial
web2py tutorial massimo.dipierro@gmail.com web2py start in 2007 one of the most popular web frameworks 2011 Bossie Award 2012 Technology of the Year Award 2 books about 8000+ registered users How did we
More informationPiCAN2 DUO ISO USER GUIDE V1.1. PiCAN 2 DUO ISO Rev B V1.1. PiCAN2 DUO CAN-Bus ISO Board for Raspberry Pi
PiCAN2 DUO ISO USER GUIDE V1.1 Product name Model number Manufacturer PiCAN2 DUO CAN-Bus ISO Board for Raspberry Pi RSP-PICAN2DUO-ISO SK Pang Electronics Ltd 1 Contents Table of Contents 1. Introduction...
More informationLecture 8. Validations & Sessions 1 / 41
Lecture 8 Validations & Sessions 1 / 41 Advanced Active Record 2 / 41 More Complex Queries Arel provides us with a number of methods to query our database tables So far, we've only used find which limits
More information3.2 / 3.5 Touch-Display
Ausgabe 13.10.2017 Copyright by Joy-IT 1 Index 1. Connection 2. Installing the software 3. Using the buttons on the 3.2 TFT 4. Calibrating the touchscreen 5. Simultaneously using the LCD and the HDMI output
More informationAzure Archival Installation Guide
Azure Archival Installation Guide Page 1 of 23 Table of Contents 1. Add Dynamics CRM Active Directory into Azure... 3 2. Add Application in Azure Directory... 5 2.1 Create application for application user...
More informationGrove - 2-Coil Latching Relay
Grove - 2-Coil Latching Relay Release date: 9/20/2015 Version: 1.0 Wiki: http://www.seeedstudio.com/wiki/grove_-_2-coil_latching_relay Bazaar: http://www.seeedstudio.com/depot/grove-2coil-latching-relay-p-1446.html
More informationBitnami Ruby for Huawei Enterprise Cloud
Bitnami Ruby for Huawei Enterprise Cloud Description Bitnami Ruby Stack provides a complete development environment for Ruby on Rails that can be deployed in one click. It includes most popular components
More informationIntroduction to containers
Introduction to containers Nabil Abdennadher nabil.abdennadher@hesge.ch 1 Plan Introduction Details : chroot, control groups, namespaces My first container Deploying a distributed application using containers
More informationProgramming Microcontrollers using OpenOCD on a Raspberry Pi
Programming Microcontrollers using OpenOCD on a Raspberry Pi Created by lady ada Last updated on 2017-07-14 05:18:55 AM UTC Guide Contents Guide Contents Overview OpenOCD Compiling OpenOCD Compiling OpenOCD
More informationGetting started with ESP IoT phat
Getting started with ESP IoT phat The ESP8266 is arguably one of the hottest microcontrollers right now, and at the heart of many Internet of Things (IoT) projects, thanks to its full TCP/IP stack. Our
More informationIntroduction to Internet of Things Prof. Sudip Misra Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur
Introduction to Internet of Things Prof. Sudip Misra Department of Computer Science & Engineering Indian Institute of Technology, Kharagpur Lecture - 30 Implementation of IoT with Raspberry Pi- I In the
More information