Discover gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 "> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%^&WinTools.net 2025 Free Full Version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### **Epic: Enhance Exit Code Handling in 7ps-agent-common** | |
### **Summary** | |
To improve the operational excellence of the **7ps application**, handling exit codes gracefully within **7ps-agent-common** is essential. Currently, some exit codes do not have corresponding error codes, leading to inconsistencies and potential failures in error handling. This epic aims to analyze and enhance the exit code framework to ensure robustness and maintainability. | |
### **Problem Statement** | |
Certain exit codes in **7ps-agent-common** lack corresponding error codes, which leads to unclear or inconsistent error handling. The absence of proper error mapping can create challenges in troubleshooting and system monitoring. Additionally, some exit codes may require updates to improve clarity and maintainability, ensuring a more standardized approach to error management. | |
### **Proposed Solution** | |
A structured approach will be implemented to address the identified issues. The first step involves conducting a thorough a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__ | |
/::\ _ _ _ _ | |
/: :\ /:\ | \ | |_ ___ _| |_ | |
/: :/ :\ | \| | | | \ \/ / __| | |
/: :/ :\ | |\ | |_| |> <| |_ | |
/::::::/ .::::\ |_| \_|\__,_/_/\_\\__| | |
__ | |
/::\ _ _ _ _ | |
/: :\ /:\ | \ | |_ ___ _| |_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1 - A Mermaid Diagram | |
This is an example of a prompt to the LLM which resulted in a code block which represents code for a simple diagram. Without knowing the mermaid language, you can ask the LLM to build a diagram for inclusion in your publication. We've shared the result of a prompt in this document for your reference in the "Example" section. Try your own prompt in the "#Try it yourself" section. | |
With this file `1-mermaid-diagrams.smd` open in our VSCode plugin, you can click the "Run" button and it will re-run the prompt agains an LLM. This will result in a new version of the diadram being drawn. It may look a little bit different than the one you saw when you first opened the document. | |
## Example | |
::: create a mermaid horizontal diagram with rectangular boxes of four major steps in the process of photosynthesis >>> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Log uploaded on Tuesday, February 11, 2025, 10:31:37 PM | |
Loaded mods: | |
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1) | |
Core(Ludeon.RimWorld): (no assemblies) | |
Royalty(Ludeon.RimWorld.Royalty): (no assemblies) | |
Ideology(Ludeon.RimWorld.Ideology): (no assemblies) | |
Vanilla Expanded Framework(OskarPotocki.VanillaFactionsExpanded.Core): 0ModSettingsFramework(1.0.0), 0MultiplayerAPI(av:0.3.0,fv:0.3.0), 0PrepatcherAPI(1.1.1), ExplosiveTrailsEffect(1.0.7140.31563), GraphicCustomization(1.0.0), HeavyWeapons(1.0.0), KCSG(av:1.1.2,fv:25.2.3), MVCF(2.0.0.1), NoCamShakeExplosions(1.0.0), OPToxic(1.0.0), Outposts(av:3.0.0,fv:1.0.0), PipeSystem(av:1.0.1,fv:22.7.29), RecipeInheritance(1.0.1), RRO(1.0.0), SmokingGun(1.0.0), VanillaStorytellersExpanded(1.0.0), VanillaWeaponsExpandedLaser(0.0.0), VFECore(av:1.1.7,fv:1.1.9), VWEMakeshift(1.0.0) | |
Vanilla Apparel Expanded(VanillaExpanded.VAPPE)[mv:1.2.0]: (no assemblies) | |
Vanilla Achievements Expanded(vanillaexpanded.achievements): AchievementsExpanded(1.4.9133.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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; |