Create a Gemfile
source 'https://rubygems.org'
gem 'sinatra'
class InventoryItem | |
attr_accessor :name, :inventory | |
def initialize(args) | |
@name = args[:name] | |
@inventory = args[:inventory] | |
end | |
def count_items(item) | |
#self.inventory.each do |key, value| |
_id
).Our apps are nothing more than a collection of URLs that we decide to allow users to access:
mydomain.com/products
mydomain.com/photos/193
mydomain.com/signin
So remember: everything always starts with a route between a URL we want to support and a Ruby method that will be responsible for generating a response to the user's browser.
In order to support a URL in your app such as http://localhost:3000/signin
, there are a lot of dots to connect!
module.exports = (function() { | |
'use strict'; | |
const Nodal = require('nodal'); | |
const User = Nodal.require('app/models/user.js'); | |
const Sport = Nodal.require('app/models/sport.js'); | |
const Avatar = Nodal.require('app/models/avatar.js'); |
How to play: Drag cub to star, Drag grid to rotate.
Also available at cubnpup.com
This is a proof-of-concept for a game. Basic art, no sound, no options, no polish. But the core game-play is there. It's more of a mobile game, focused on dragging — inspired by Threes. I'm looking to see if its any fun. Let me know!
I've always wanted to make a video game. This could be the one. My previous attempts never got past isolated demos because they were aiming for bigger ideas. They grew complex and unwieldy. So this game is designed to be simple. A game that I can actually make.
by Tatiana Mac
Last updated 14 April 2021
As speaking comes with immense privilege, I have crafted a speaker rider to set expectations and boundaries around my engagement. I am grateful to all the conference organisers who have brilliantly hosted me. I would love to continue to exercise this privilege to speak at conferences, and use this privilege to make the landscape more accessible and beneficial to tech's most historically excluded and marginalised communities.
😫 I provide a lot of explanations for those of you who never had to consider these things. Most thoughtful conferences I've attended check most of these boxes intrinsically, particularly when conference runners are experienced speakers. They get it.
{ | |
"source_id": "302598399050397860", | |
"version": "1", | |
"workflow": { | |
"name": "Words from the Heart", | |
"blueprint": { | |
"version": "1", | |
"trigger": { | |
"type": "channel_action", | |
"id": "4bde8971-a75a-4310-b5ec-efceeea0a91a", |