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
<cfscript> | |
strUserRoles = { | |
isAdmin : 0, // admin | |
isFM : 0, // facility Manager | |
isRC : 0 // rotation contact | |
} | |
theRole = StructFindValue( strUserRoles, "1", "one" ); | |
</cfscript> |
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
<?xml version="1.0" encoding="utf-8"?> | |
<fileSnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<files> | |
<file path="C:\ProgramData\chocolatey\lib\monaco\monaco.nupkg" checksum="0C0ABA89B0AB724631072AD20C273BC3" /> | |
<file path="C:\ProgramData\chocolatey\lib\monaco\monaco.nuspec" checksum="EB098225F841C8136248DB4C866BEF07" /> | |
<file path="C:\ProgramData\chocolatey\lib\monaco\tools\chocolateyinstall.ps1" checksum="DC1095B8EB571DA93DB2C5B6FFC6FE50" /> | |
<file path="C:\ProgramData\chocolatey\lib\monaco\tools\monaco.exe" checksum="13F61D9F7077795D02BC411A979B2177" /> | |
</files> | |
</fileSnapshot> |
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
namespace ConsoleApp3 | |
{ | |
internal class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Random random = new Random(); | |
int number = random.Next(1, 100); | |
int sum = 0; | |
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
<?xml version="1.0" encoding="utf-8"?> | |
<registrySnapshot xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<user>S-1-5-21-534374257-315500514-3039820050-1000</user> | |
<keys> | |
<key installerType="Custom" displayName="Headset" displayVersion="4.2.1"> | |
<RegistryView>Registry64</RegistryView> | |
<KeyPath>HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\headset</KeyPath> | |
<DefaultValue /> | |
<InstallLocation><![CDATA[C:\Users\vagrant\AppData\Local\headset]]></InstallLocation> | |
<UninstallString><![CDATA["C:\Users\vagrant\AppData\Local\headset\Update.exe" --uninstall -s]]></UninstallString> |
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
# train_grpo.py | |
import re | |
import torch | |
from datasets import load_dataset, Dataset | |
from transformers import AutoTokenizer, AutoModelForCausalLM | |
from peft import LoraConfig | |
from trl import GRPOConfig, GRPOTrainer | |
# Load and prep dataset |
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
pip install pandas numpy matplotlib statsmodels yfinance |
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
pip install pandas statsmodels matplotlib |
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
2025-02-07 20:06:11,338 3204 [DEBUG] - XmlConfiguration is now operational | |
2025-02-07 20:06:11,511 3204 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-02-07 20:06:11,523 3204 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco' | |
2025-02-07 20:06:11,523 3204 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-02-07 20:06:11,523 3204 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco' | |
2025-02-07 20:06:11,523 3204 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco' | |
2025-02-07 20:06:11,556 3204 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco' | |
2025-02-07 20:06:11,556 3204 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco' | |
2025-02-07 20:06:11,556 3204 [DEBUG] - Adding new typ |
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
-- AH POST-SERVER LOGS -- | |
-- ServerID: 6c474eee-136c-4801-9213-9506b43053ad | |
-- Server started: February 07, 2025 08:06 PM UTC | Server uptime: 4 seconds | |
------------------ LOADB LOGS ------------------ | |
{ | |
} |
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
-- AH POST-SERVER LOGS -- | |
-- ServerID: d3a2d855-6ee9-42c9-9418-c26aff727bad | |
-- Server started: February 07, 2025 08:06 PM UTC | Server uptime: 13 seconds | |
------------------ LOADB LOGS ------------------ | |
{ | |
} |