Skip to content

Instantly share code, notes, and snippets.

View realStandal's full-sized avatar
🦙

Ryan Lockard realStandal

🦙
  • Warren, Michigan
  • 05:01 (UTC -04:00)
View GitHub Profile
/**
* START --- TAILWIND GENERATOR EDIT
*
* `yarn rw setup tailwind` placed these imports here
* to inject Tailwind's styles into your CSS.
* For more information, see: https://tailwindcss.com/docs/installation#add-tailwind-to-your-css
*/
@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";
<!-- header -->
<div class="bg-gray-500 p-4 flex justify-center items-center">
<!-- Header -->
<div class="flex items-center">
<a href="#" class="inline-block p-4 text-indigo-200 hover:text-indigo-100">About</a>
<img src="https://www.chilledhub.com/assets/Images/mylogo-round-fit.png" width="70" alt="Logo" class="mr-2">
<a href="#" class="inline-block p-2 text-indigo-200 hover:text-indigo-100">Projects</a>
</div>
</div>
Unhandled exception: System.NullReferenceException: Object reference not set to an instance of an object.
at InventoryDefinitions+InventoryObject..ctor (System.String id, System.String type, InventoryDefinitions+InventoryDimensions dimensions, System.Collections.Generic.List`1[T] content, System.Collections.Generic.List`1[T] stackcontent, System.Boolean remove, System.Boolean place, System.Boolean drag) [0x00070] in <58367a549d3347b9bc8384747458b23a>:0
at (wrapper dynamic-method) InventoryDefinitions+InventoryObject.Void .ctor(System.String, System.String, InventoryDimensions, System.Collections.Generic.List`1[InventoryDefinitions+InventoryItem], System.Collections.Generic.List`1[System.String], Boolean, Boolean, Boolean)(object[])
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObjectUsingCreatorWithParameters (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.Se
@realStandal
realStandal / snapcraft.yaml
Last active January 28, 2021 21:08
Kiosked Electron running on Ubuntu Core powered by a Raspberry Pi 3 Model B for
# Taken from https://forum.snapcraft.io/t/greatly-simplified-electron-kiosk-snaps/21303
# Modified to work with https://launchpad.net and to explicitly build for `arm64` architectures (Pi-3-B)
name: electron-hello-world-kiosk
version: '0.1'
summary: Hello World Electron app for a Kiosk
description: |
Simple Hello World Electron app as an example of a HTML5 Kiosk
base: core18
confinement: strict
grade: devel
@realStandal
realStandal / index.js
Last active December 1, 2020 02:55 — forked from isNotOkay/index.js
@angular/flex-layout with Storybook
import {
Meta,
Story,
} from '@storybook/angular'
import { FlexLayoutModule } from '@angular/flex-layout'
import { Button, } from './button.component'
export default {
title: 'Molecule/Button',
@realStandal
realStandal / day01.js
Created December 1, 2019 12:20
Advent of Code 2019
// Given:
// F = floor(M / 3) - 2
//
// Find the Fuel Required (F) for all of the given masses (M) day01.txt
day01();
/**
*
*/
{
{"Leaf Links", 4786.169921, -1191.349121, 0.000000, 5163.555664, -152.314941, 300.000000 },
{"Vice City Junkyard", 3791.689941, -719.529785, 300.000000, 3603.140136, -992.831054, 500.000000 },
{"Viceport", 3791.689941, -2729.530273, 0.000000, 4746.693847, -1848.658203, 300.000000 },
{"Washington Beach", 5312.399902, -828.049804, 0.000000, 5593.649902, -695.229980, 500.000000 },
{"Washington Beach", 5218.649902, -999.919921, 0.000000, 5593.649902, -828.049804, 500.000000 },
{"Washington Beach", 5437.399902, -1429.609863, 0.000000, 5593.649902, -999.919921, 500.000000 },
{"Washington Beach", 5218.649902, -1249.919921, 0.000000, 5390.529785, -999.919921, 500.000000 },
{"Washington Beach", 5046.779785, -1429.609863, 0.000000, 5437.399902, -1249.919921, 500.000000 },
{"Washington Beach", 5007.709960, -1585.859863, 0.000000, 5523.339843, -1429.609863, 500.000000 },
@realStandal
realStandal / Vice City - Area Demo.pwn
Created July 19, 2019 00:28
Vice City Areas for PAWN.
#include <a_samp>
#include <core>
#include <float>
#pragma tabsize 0
enum E_SAZONE
{
zName[34],
Float:zArea[6]
@realStandal
realStandal / rows.lua
Created June 15, 2019 15:27
Stormworks Rows
-- Constant values
local CONST_CHAR_HEIGHT = 5
local CONST_CHAR_WIDTH = 4
local CONST_LINE_SPACING = 1
function onTick()
-- Example that adds two composite channels together and outputs the result
in1 = input.getNumber(1)
in2 = input.getNumber(2)
output.setNumber(1, in1 + in2)
@realStandal
realStandal / leaderboard_put_master.json
Last active March 14, 2019 04:23
CodersQuest sample leaderboard PUT request. Attempts to update all projects with the supplied scores.
{
"userToken": "123", // Held in the header but put here to illustrate
"username": "test", // Players name
"user_score": 2468, // Found by adding all the player's score of each indavidual project together
"projects": [
{
"level": 1,
"score": 1234, // Remaining time in miliseconds a player had on a level
"force_update": false // Boolean to force an update on the held daily, weekly, and monthly score
},