Skip to content

Instantly share code, notes, and snippets.

View SharpSeeEr's full-sized avatar

Aaron Throckmorton SharpSeeEr

View GitHub Profile
@SharpSeeEr
SharpSeeEr / forza-motorsport-tuning.md
Last active November 8, 2023 22:47
Forza Motorsport Tuning Notes

Tires

  • 28-32 PSI on Race tires
  • On track temps near 32-33 psi
  • Lower pressure = smoother loss of grip
  • Lower Front/Higher Rear = Oversteer
  • Higher Front/Lower Rear = Understeer

Drop front a notch to correct understeer for specific tracks

Vue Interview Questions

Vue.js

  • What are the different parts of a single file component?
    • script, template, style
  • What are some of the properties available using the options api to define a component?
    • data, components, setup, computed, methods, watch, beforeMount, etc.
  • What are the different methods of defining props?
@SharpSeeEr
SharpSeeEr / FormattingExample.ts
Created August 10, 2020 16:59
Nested Promise and Formatting Example
class Formatting {
private getCountriesQuery(skip: number, limit: number, order: string, searchName: string) {
const Continentscountriescities_Country = Parse.Object.extend('Continentscountriescities_Country');
const query = new Parse.Query(Continentscountriescities_Country);
query.limit(limit); // limit to at most 10 results
query.skip(skip); // skip the first 10 results
const orders: string[] = order.split(',');
orders.map(o => {
if (o.startsWith('-')) {
@SharpSeeEr
SharpSeeEr / AddressMixin.js
Created August 21, 2018 15:51
Mixin Example
// Mixins providing different address formatting functions.
// This allows address display to be consistent across the entire app.
export const AddressMixin = {
methods: {
formatAddress (address) {
let text = ''
if (address !== null) {
if (address.streetAddress) text += address.streetAddress + '<br />'
if (address.city) text += address.city
if (address.state) {