Skip to content

Instantly share code, notes, and snippets.

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)
pragma solidity ^0.8.20;
import {ContextUpgradeable} from "../utils/ContextUpgradeable.sol";
import {Initializable} from "../proxy/utils/Initializable.sol";
/**
* @dev Contract module which provides a basic access control mechanism, where
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created May 20, 2024 10:34
Rimworld output log published using HugsLib
Log uploaded on Monday, May 20, 2024, 7:33:54 AM
Loaded mods:
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
Core(Ludeon.RimWorld): (no assemblies)
HugsLib(UnlimitedHugs.HugsLib)[ov:11.0.3]: 0Harmony(av:2.3.3,fv:1.2.0.1), HugsLib(av:1.0.0,fv:11.0.3)
RimHUD(Jaxe.RimHUD): RimHUD(1.15.3)
EdB Prepare Carefully(EdB.PrepareCarefully)[mv:1.5.11]: EdBPrepareCarefully(av:1.1.1,fv:1.5.11)
Allow Tool(UnlimitedHugs.AllowTool): AllowTool(av:3.6.0,fv:3.13.0)
Camera+(brrainz.cameraplus)[mv:3.0.4.0]: CameraPlus(3.0.4), CrossPromotion(1.1.2)
CM Color Coded Mood Bar [1.1+](CrashM.ColorCodedMoodBar.11): 0Harmony(av:2.3.3,fv:2.1.1), 1SettingsHelper(av:1.3.0.36972,fv:1.3.0), CMColoredMoodBar(1.5.4062.1)
@zirkuswurstikus
zirkuswurstikus / vagrant-windows-smb_credentials.adoc
Created May 20, 2024 10:33
Vagrant Windows: Create vagrant user on host to access smb shares

Vagrant Windows: Create vagrant user on host to access smb shares

Create user vagrant

Powershell as Administrator
# Create user vagrant with password vagrant
$username = "vagrant"
$password = ConvertTo-SecureString "vagrant" -AsPlainText -Force
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// Из https://github.com/evotor/evotor-api-example/blob/master/app/src/main/java/ru/qualitylab/evotor/evotortest6/MainActivity.java
public void openReceipt() {
List<PositionAdd> positionAddList = new ArrayList<>();
positionAddList.add(
new PositionAdd(
Position.Builder.newInstance(
UUID.randomUUID().toString(),
null,
"Азитромицин",
new Measure("кг", 0, 0),
@Joohnyyy
Joohnyyy / gist:517f3e720159648bc10a721137545f48
Created May 20, 2024 10:32
Создать приложение, которое будет объединять ранее созданные Вами программы из лабораторных работ 24-25, 26. в единый интерфейс. Выполнение каждого приложения должно осуществляться обращением к соответствующему пункту меню или подменю, обращением к контекстному меню, кнопкам панели инструментов. Кроме того, создать панель состояния, где отразить…
import tkinter as tk
from tkinter import messagebox, filedialog
from datetime import datetime
import os
class App(tk.Tk):
def __init__(self):
super().__init__()
self.title("Лабораторные работы 24-25, 26")
self.geometry("400x300")
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created May 20, 2024 10:32
Rimworld output log published using HugsLib
Log uploaded on Monday, May 20, 2024, 12:32:33 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)
Cold Fusion Reactor (Continued)(zal.coldfusionreactor)[mv:1.0.6.0]: (no assemblies)
Misc. Training(Haplo.Miscellaneous.Training)[mv:1.5.0]: TrainingFacility(1.4.0)
/*제로베이스 신민근*/
public class gugudan {
public static void main(String[] args) {
System.out.println("구구단출력");
for(int j=1; j<10; j++){
for(int i=2; i<10; i++) {
System.out.print(String.format("%02d",i)+"x"+String.format("%02d",j)+"="+String.format("%02d",i*j)+"\t");
}
System.out.println();
}
@yogendra
yogendra / docker-compose.yaml
Created May 20, 2024 10:30
Yugabyted on Docker
ervices:
yugabyted-0:
container_name: yugabyted-0
hostname: yugabyted-0
image: yugabytedb/yugabyte:2.20.3.1-b2
platform: linux/amd64
command:
- sh
- -c
- |
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created May 20, 2024 10:30
Rimworld output log published using HugsLib
Log uploaded on Monday, May 20, 2024, 12:30:38 PM
Loaded mods:
Prepatcher(zetrith.prepatcher): 0Harmony(2.3.3), 0PrepatcherAPI(1.2.0), 0PrepatcherDataAssembly(1.0.0), PrepatcherImpl(1.0.0), Prestarter(1.0.0)
Harmony(brrainz.harmony)[mv:2.3.1.0]: 0Harmony(2.3.3), HarmonyMod(2.3.1)
BetterLoading(me.samboycoding.betterloading.dev)[mv:3.5.0.0]: BetterLoading(2.3.0), Tomlet(3.1.3)
Fishery - Modding Library(bs.fishery): 0PrepatcherAPI(1.2.0), 1Fishery(0.6.1), System.Runtime.CompilerServices.Unsafe(av:6.0.0,fv:6.0.21.52210)
Core(Ludeon.RimWorld): (no assemblies)
Performance Fish(bs.performance): PerformanceFish(0.6.2)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)