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
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; | |
} |
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
:: ################################################################ | |
:: ## 🔥 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. # | |
:: # # |
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="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"> |
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
# /// script | |
# requires-python = ">=3.12" | |
# dependencies = ["ansible-core"] | |
# /// | |
from ansible.plugins.inventory import expand_hostname_range | |
def main() -> None: | |
# expand a range |
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, 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) |
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 SwiftUI | |
struct Node: Identifiable { | |
let id = UUID() | |
var name: String | |
var children: [Node] = [] | |
} | |
#Preview { | |
TreeView() | |
} |
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
#include <iostream> | |
using namespace std; | |
class persona { | |
private: | |
double peso; | |
double altura; | |
public: | |
persona(double p, double a) : peso(p), altura(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
error: | |
… while calling anonymous lambda | |
at /nix/store/k8nkf470zpidpa5nh76lh2x6rxfzpwa4-source/lib/attrsets.nix:1570:24: | |
1569| let f = attrPath: | |
1570| zipAttrsWith (n: values: | |
| ^ | |
1571| let here = attrPath ++ [n]; in | |
… while calling the 'head' builtin | |
at /nix/store/k8nkf470zpidpa5nh76lh2x6rxfzpwa4-source/lib/attrsets.nix:1574:11: |
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
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; | |
} |
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
bin dann auch erstmal wech ... | |
gibt hier wieder einen, der ein ungutes gefühl verbreitet und das muss ich mir nicht antun. | |
wenn ich auf hassprediger stehen würde, würde ich bsw, afd oder den IS wählen 😁 | |
abgesehen davon, ist das hier sogut wie abgeschlossen und ich bin nicht hierauf angewiesen 😁 | |
vllt später nochmal öffnen, falls ich doch mal wieder nen antreib/grund finde ... 😁 | |
abschließend verweise ich noch auf folgendes: |