Skip to content

Instantly share code, notes, and snippets.

namespace Lesson;
internal class Program
{
static void Main(string[] args)
{
int targetNumber;
int exponent = 0;
int currentPowerOfTwo = 1;
int baseNumber = 2;
Random random = new Random();
use 01ejerciciosBasicos
db.usuarios.insertMany([
{
"item": "journal",
"instock": [
{
"warehouse": "A",
"qty": 5
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 11, 2025 20:03
Rimworld output log published using HugsLib
Log uploaded on Tuesday, February 11, 2025, 3:03:02 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)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Anomaly(Ludeon.RimWorld.Anomaly): (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:24.3.27), 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 Cooking Expanded(VanillaExpanded.VCookE): VanillaCookingExp
[
{
"animeEng": "Asobi Asobase: Workshop of Fun",
"animeRomaji": "Asobi Asobase",
"songName": "Inkya Inplus",
"artist": "Hina Kino, Rika Nagae, Konomi Kohara feat. Ikepy & KSKN",
"type": "Ending 1",
"correctCount": 80,
"startTime": 54,
"songDuration": 88.949395,
@Drglazizzo
Drglazizzo / main.dart
Created February 11, 2025 20:02
tasks
void main() {
// Task 1: Calculate Total and Average Marks
print("=== Task 1: Marks Calculator ===");
List<double> marks = [60, 45, 68, 99, 27]; // Predefined marks by me
if (marks.isEmpty) {
print("Error: The marks list is empty.");
return;
}
@kriegsmarine
kriegsmarine / WinMasterBlocker.bat
Created February 11, 2025 20:02 — forked from ph33nx/WinMasterBlocker.bat
Block All Adobe .exe files via Firewall on Windows Using Batch Script | Stop adobe apps to access internet
:: ################################################################
:: ## 🔥 WinMasterBlocker 🔥 #
:: ################################################################
:: # Author: https://github.com/ph33nx #
:: # Repo: https://github.com/ph33nx/WinMasterBlocker #
:: # #
:: # This script blocks inbound/outbound network access #
:: # for major apps like Adobe, Autodesk, Corel, Maxon, #
:: # and more using Windows Firewall. #
:: # #
@ttroutty
ttroutty / index.html
Created February 11, 2025 20:01
Pract. 3
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Карточка</title>
</head>
<body>
<div class="card">
@bruno-fs
bruno-fs / expand_hostname_range_example.py
Created February 11, 2025 20:01
Example usage of ansible's expand_hostname_range
# /// script
# requires-python = ">=3.12"
# dependencies = ["ansible-core"]
# ///
from ansible.plugins.inventory import expand_hostname_range
def main() -> None:
# expand a range
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created February 11, 2025 20:00
Rimworld output log published using HugsLib
Log uploaded on Tuesday, February 11, 2025, 11:00:34 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)
Biotech(Ludeon.RimWorld.Biotech): (no assemblies)
Anomaly(Ludeon.RimWorld.Anomaly): (no assemblies)
HugsLib(UnlimitedHugs.HugsLib)[ov:11.0.4]: 0Harmony(av:2.3.3,fv:1.2.0.1), HugsLib(av:1.0.0,fv:11.0.4)
import SwiftUI
struct Node: Identifiable {
let id = UUID()
var name: String
var children: [Node] = []
}
#Preview {
TreeView()
}