Skip to content

Instantly share code, notes, and snippets.

Design of Revenue Options

Status: Not started

classDiagram
    AdHocRevenue "1" *-- "1..*" Rubric
    AdHocRevenue -- AdHocRevenueType
    Rubric <|-- LaborRubric
    Rubric <|-- MaterialRubric 
#include "WiFi.h"
#include "PubSubClient.h"
#include <Wire.h>
#include <SFE_BMP180.h>
#include <Adafruit_MPU6050.h>
#include <Adafruit_Sensor.h>
#include <BasicLinearAlgebra.h>
#include "FS.h"
#include "SD.h"
#include "SPI.h"
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CSS-Only Quiz</title>
<style>
body {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
@kikar4u
kikar4u / ASingleton.cs
Created February 11, 2025 21:34
Simple singleton abstract class
public abstract class ASingleton<T> : MonoBehaviour where T : MonoBehaviour
{
// a simple singleton abstract class to reuse in Unity projects
private static T _instance;
// Public property to access the instance
protected static T Instance
{
get
{
require 'OptionScreens/CharacterCreationMain'
local UI_BORDER_SPACING = 10
function CharacterCreationMain:arrangeClothingUI()
if self.clothingCombo == nil then return end
local maxLabelWidth = 0
if self.outfitLbl then
maxLabelWidth = getTextManager():MeasureStringX(UIFont.Small, self.outfitLbl:getName())
end
@barronh
barronh / ember.py
Created February 11, 2025 21:34
Plots from EMBER
__version__ = '0.1.0'
__doc__ = """
Demonstrating how to work with EMBER files from doi:10.5281/zenodo.13737754
Requires requests, xarray, pandas, netcdf4, pyproj, pycno, and pyrsig
For example, install with pip:
python -m pip install -qq xarray pandas netcdf4 pyproj pycno pyrsig
Functions
@Thomas465xd
Thomas465xd / Table.tsx
Created February 11, 2025 21:34
Admin Table Template
export default function AdminDashboardView() {
return (
<>
<h1 className="text-4xl font-bold text-center mt-10">Panel de Administración de Usuarios</h1>
<div className="px-4 sm:px-6 lg:px-8 mt-20">
<div className="mt-8 flow-root ">
<div className="-mx-4 -my-2 overflow-x-auto sm:-mx-6 lg:-mx-8">
<div className="inline-block min-w-full py-2 align-middle sm:px-6 lg:px-8 bg-white p-5 ">
<table className="min-w-full divide-y divide-gray-300 ">
@dsgbgbhjyujuy
dsgbgbhjyujuy / $WinTools.net 2025 Free Full Version
Created February 11, 2025 21:33
WinTools.net Crack 2025 Free Full Version [Latest]
%^&WinTools.net 2025 Free Full Version
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CSS-Only Quiz</title>
<style>
body {
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
import { useState, useEffect } from 'react';
const useIsMobile = (breakpoint = 768): boolean => {
const [isMobile, setIsMobile] = useState<boolean>(
typeof window !== 'undefined' ? window.innerWidth < breakpoint : false
);
useEffect(() => {
const handleResize = () => {
setIsMobile(window.innerWidth < breakpoint);