Skip to content

Instantly share code, notes, and snippets.

@bg1bgst333
bg1bgst333 / Range.rb
Created July 21, 2025 01:23
Range.new
#!/usr/bin/ruby
# 1から10までのRangeオブジェクトrange1の生成.
range1 = Range.new(1, 10)
for e1 in range1 do
puts e1
end
puts range1
# 1から数えて10を含まないRangeオブジェクトrange2の生成.
{
"name": "Batch Process Prompts with OpenAI API",
"nodes": [
{
"parameters": {
"content": "### This workflow automates sending batched prompts to OpenAI. It submits multiple prompts at once and retrieves the results.\n\n#### How to use\n\nCall this workflow with array of `requests`\n\n```json\n[\n {\n \"requests\": [\n {\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Write me a short story\"\n },\n {\n \"role\": \"user\",\n \"content\": \"Write me a short story\"\n }\n ],\n \"custom_id\": \"1\",\n \"model\": \"gpt-3.5-turbo-0125\",\n \"method\": \"POST\",\n \"url\": \"/v1/chat/completions\",\n \"max_tokens\": 1000\n },\n {\n \"messages\": [\n {\n \"role\": \"user\",\n \"content\": \"Write me a short story\"\n },\n {\n \"role\": \"user\",\n \"content\"
@choco-bot
choco-bot / Install.txt
Created July 21, 2025 01:21
kadu v2.1 - Failed - Package Tests Results
2025-07-21 01:18:26,526 5988 [DEBUG] - XmlConfiguration is now operational
2025-07-21 01:18:26,993 5988 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-07-21 01:18:27,025 5988 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-07-21 01:18:27,041 5988 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-07-21 01:18:27,057 5988 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2025-07-21 01:18:27,073 5988 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2025-07-21 01:18:27,090 5988 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2025-07-21 01:18:27,106 5988 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2025-07-21 01:18:27,106 5988 [DEBUG] - Adding new typ
@kizycat
kizycat / PKGBUILD
Created July 21, 2025 01:20
tilemap-studio with statically linked fltk
# Maintainer: Hyperdriveguy <hyperdriveguy@gmail.com>
pkgname=tilemap-studio
pkgver=4.0.1
pkgrel=1
pkgdesc="A tilemap editor for Game Boy, GBC, GBA, or SNES projects."
arch=('x86_64')
url='https://github.com/Rangi42/tilemap-studio'
license=('LGPL')
makedepends=('git' 'make' 'gcc')
source=("${pkgname}"::'git+https://github.com/Rangi42/tilemap-studio.git'
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created July 21, 2025 01:19
Rimworld output log published using HugsLib
Log uploaded on Monday, July 21, 2025, 10:19:49 AM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.4.0]: 0Harmony(2.3.6), HarmonyMod(2.3.4)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies)
HugsLib(UnlimitedHugs.HugsLib)[ov:12.0.0]: 0Harmony(av:2.3.6,fv:1.2.0.1), HugsLib(av:1.0.0,fv:12.0.0)
1trickPwnyta's Biotech Patch(biotechpatch.1trickPwnyta): BiotechPatch(1.0.0)
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created July 21, 2025 01:19
Rimworld output log published using HugsLib
This file has been truncated, but you can view the full file.
Log uploaded on Sunday, July 20, 2025, 7:18:48 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.4.0]: 0Harmony(2.3.6), HarmonyMod(2.3.4)
Visual Exceptions(brrainz.visualexceptions)[mv:1.4.0.0]: CrossPromotion(1.1.2), VisualExceptions(1.4.0)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies)
Odyssey(Ludeon.RimWorld.Odyssey): (no assemblies)
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created July 21, 2025 01:18
Rimworld output log published using HugsLib
Log uploaded on Sunday, July 20, 2025, 9:18:45 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.4.0]: 0Harmony(2.3.6), HarmonyMod(2.3.4)
Core(Ludeon.RimWorld): (no assemblies)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies)
Odyssey(Ludeon.RimWorld.Odyssey): (no assemblies)
Vanilla Ideology Expanded - Anima Theme(VanillaExpanded.VIEAT): 0Harmony(2.3.6), VIEAT(1.0.0)
// https://cdn.dribbble.com/userupload/33575910/file/original-8f224103374fb86e0813e62c2f404cd7.png?format=webp&resize=640x480&vertical=center
void main () {
var screen = {
'nav list' : ['All' , 'Assigned' , 'Completed' , 'Canceled'] ,
'project list' : [
{
'project name' : 'commercial' ,
'Developer' : 'John Doe | Lahore ' ,
'Status' : 'Completed' ,
'Total Cost' : '\$234' ,
@choco-bot
choco-bot / FilesSnapshot.xml
Created July 21, 2025 01:17
hubic v2.1.1.145 - Failed - Package Tests Results
<?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\hubic\hubic.nupkg" checksum="F0F52CECAFF9A75A67FA833CC91A9E93" />
<file path="C:\ProgramData\chocolatey\lib\hubic\hubic.nuspec" checksum="38605A984B02941A1AF145C1F9F3DC37" />
<file path="C:\ProgramData\chocolatey\lib\hubic\tools\chocolateyinstall.ps1" checksum="5F7B6EC4F35F2347CC98C9D75C563075" />
<file path="C:\ProgramData\chocolatey\lib\hubic\tools\chocolateyuninstall.ps1" checksum="7EA7E65D90F408837776852E0B7CC270" />
</files>
</fileSnapshot>
@TigerClaw2106
TigerClaw2106 / SimpleStorage.sol
Created July 21, 2025 01:17
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.8.0+commit.c7dfd78e.js&optimize=false&runs=200&gist=
// SPDX-License-Identifier: MIT
pragma solidity 0.8.0;
contract Simplestrorage{
uint256 storeData;
function set (uint256 _value) public{
storeData= _value;
}
function get()public view returns (uint256){