-
Open a browser
# start an instance of firefox with selenium-webdriver driver = Selenium::WebDriver.for :firefox # :chrome -> chrome # :ie -> iexplore
[ | |
{ | |
"id": 1, | |
"node_id": "MDU6SXNzdWUx", | |
"url": "https://api.github.com/repos/octocat/Hello-World/issues/1347", | |
"repository_url": "https://api.github.com/repos/octocat/Hello-World", | |
"labels_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/labels{/name}", | |
"comments_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/comments", | |
"events_url": "https://api.github.com/repos/octocat/Hello-World/issues/1347/events", | |
"html_url": "https://github.com/octocat/Hello-World/issues/1347", |
The goal of this cheatsheet is to make it easy to add hand-rolled authentication to any rails app in a series of layers.
First the simplest/core layers, then optional layers depending on which features/functionality you want.
Specs |
|
---|---|
AUTHOR | Ira Herman |
LANGUAGE/STACK | Ruby on Rails Version 4 or 5 |
Today, we're going to learn how to use the Google Maps suite of API's to create maps and find locations. Complete the challenges below. Ping us if you have any questions.
- get your api key
- see this guide to create a map with one location
- create an html page that identifies a users location on a map for them
Plot locations for the following datapoints on a single map...
Are you new to open source? Check out these links.
Fork the following repository and create your own challenge. Here are a few ideas you might try:
- Refactor the Lets Drill challenge to teach another language (ie. Python, PHP, Javascript, etc)
- Use FizzBuzz to teach a testing framework
- Create a challenge for building a FizzBuzz App in Express, Flask, NodeJS.
I've never really had a true mentor in the way that most would describe but I've had the opportunity to learn from amazing leaders and organizations through first-hand experience and reading. I regularly distill the lessons I learn and keep a list of them that I add/modify/review roughly from week to week. It keeps me consistent.
Here's a snippet of the list:
- Show me the incentives and I’ll show you the outcomes (widely attributed to Charlie Munger and true)
- Don’t “disrupt” industries, find solutions to fix big problems where everyone wins
- The best way to predict the future is to invent it
- It’s always good to have options
- Growth is the key to all the perks.
- For the hundredth time, your network is your net-worth. Only *25% of people are natural extroverts so you’ll have to work at maintaining and growing your network.
- CoverMyMeds-Guest
- pass: askjay
We have a number of Nodeschool.io workshopppers at our disposal:
We're going to build a client-side only todo app like the following:
Default rails apps come setup for the SQLite database but SQLite is not supported by Heroku. You may want to use Postgres initially instead. https://www.digitalocean.com/community/tutorials/how-to-setup-ruby-on-rails-with-postgres
Devise - gives you "all the things" - you use omniauth to setup social media login, allow password resets, setup email confirmation, register accounts. https://github.com/plataformatec/devise
Pundit - you can create your own authorization system to create user roles and page access or use something like pundit. https://github.com/elabs/pundit