Skip to content

Instantly share code, notes, and snippets.

View Rhoxio's full-sized avatar

Kevin Maze Rhoxio

View GitHub Profile

OnDeck Business Accounts

Essentially, we need to have the business-side of things set up to move forward with app development.

Apple Setup

On the Apple side - we need to have an Apple developer ID set up so we can implement development builds (things we can directly put on phone hardware), push notifications, app validation (Apple ToS for apps in their store), deep linking (links to the app through standard web URLs), and a few other smaller things.

From the Apple Account Setup Email:

In order to get OnDeck up on the Apple app store, we will need to complete a few things and pay for a developer account.

This seems relatively similar to the Stripe setup pieces and I'm not sure where we are at on all of that right now. I wanted to pass this information along so we have an idea of what needs to be done before moving forward.

@Rhoxio
Rhoxio / README.md
Created August 2, 2022 10:05 — forked from jesster2k10/README.md
JWT Auth + Refresh Tokens in Rails

JWT Auth + Refresh Tokens in Rails

This is just some code I recently used in my development application in order to add token-based authentication for my api-only rails app. The api-client was to be consumed by a mobile application, so I needed an authentication solution that would keep the user logged in indefinetly and the only way to do this was either using refresh tokens or sliding sessions.

I also needed a way to both blacklist and whitelist tokens based on a unique identifier (jti)

Before trying it out DIY, I considered using:

@Rhoxio
Rhoxio / resto_macros.md
Last active December 12, 2021 19:42
Resto shaman healing macros

Easy Totem Castsequence Macros

This will save the order from the last totem cast in the sequence. It will place them 'out of order' (respective to the last totem placed) using the macro if you manually place a totem of the same elemental type. It isn't a big deal as it is a utility to hit 1 button versus 3 when constantly placing and replacing during encounters.

Caster Totems
#showtooltip
/castsequence Wrath of Air Totem, Mana Spring Totem, Stoneskin Totem
Hunter/Feral Group Totems
@Rhoxio
Rhoxio / Rakefile
Last active December 3, 2023 04:17
Rakefile for rails-like functionality with ActiveRecord 6
require "active_record"
namespace :db do
db_config = YAML::load(File.open('config/database.yml'))
db_config_admin = db_config.merge({'database' => 'postgres', 'schema_search_path' => 'public'})
desc "Create the database"
task :create do
ActiveRecord::Base.establish_connection(db_config_admin)

Introduction

This file is meant to hold links and information that might be useful in your post-bootcamp job search. I would highly recommend doing the suggested exercises - they will progressively get more challenging, but it's nothing that's out of your reach if you understand the previous section in the list! This stuff is absolutely at the core of being able to work as a web developer. Give it a shot!

Rails is awesome, but knowing how Ruby works is a much more valuable usage of your time right now. This is how you are going to be able to pass technical interviews and provide value almost immediately (one of the most enticing things for any company looking to hire juniors) at your job-to-be. This is also a precursor to being able to learn other languages, as enough mastery of the first makes a huge difference in the long run as you can more easily draw parallels and get functionality rolling.

The challenges are meant to be hard and require you to do your own research outside of the links provi

Introduction

This file is meant to hold links and information that might be useful in your post-bootcamp job search. I would highly recommend doing the suggested exercises - they will progressively get more challenging, but it's nothing that's out of your reach if you understand the previous section in the list! This stuff is absolutely at the core of being able to work as a web developer. Give it a shot!

Rails is awesome, but knowing how Ruby works is a much more valuable usage of your time right now. This is how you are going to be able to pass technical interviews and provide value almost immediately (one of the most enticing things for any company looking to hire juniors) at your job-to-be. This is also a precursor to being able to learn other languages, as enough mastery of the first makes a huge difference in the long run as you can more easily draw parallels and get functionality rolling.

The challenges are meant to be hard and require you to do your own research outside of the links provi

This file is meant to hold links and information that might be useful in your post-bootcamp job search. I would highly recommend doing the suggested exercises - they will progressively get more challenging, but it's nothing that's out of your reach if you understand the previous section in the list! I would VERY HIGHLY recommend taking the time the actually do the exercises, as it will solidify your ability to write code that manipulates strings, accesses data, does some math, and iterates over sets of data. This stuff is absolutely at the core of being able to work as a web developer.
Rails is awesome, but knowing how Ruby works is a much more valuable usage of your time right now. This is how you are going to be able to pass technical interviews and provide value from day one (the most enticing thing for any company looking to hire juniors) at your job-to-be. This is also a precursor to being able to learn other languages, as enough mastery of the first makes a huge difference in the long
# Be sure to run 'gem install selenium-webdriver' and 'gem install chromedriver-helper'
# This should open a web browser, navigate to the page, input some data and select from the dropdown, and submit the form.
# You should see the next form before the browser closes and the script stops.
require "selenium-webdriver"
require 'chromedriver-helper'
print "driver starting..."
driver = Selenium::WebDriver.for :chrome
hash = {
a: 1,
b: 2,
c: 3
}
hash[:a] # => 1
hash[:b] # => 2
def deal_deck(players = ['barry', 'josephine'])
=begin
This is a simple example of some Object Oriented Programming focusing on a dynamic Animal class that includes some basic
functionality to model animals being able to eat certain foods and gain stats from said food. This is only an abstraction
to a base level of interaction and isn't wholly representative of the actual reality of feeding animals a diverse diet, but
the overarching concepts of OO pop out in a few ways:
1. Each class has methods that maintain single responsibility. Essentially, they execute a single action or a related set of actions that make sense
for the level of logical abstraction you are going for.