Skip to content

Instantly share code, notes, and snippets.

@djom202
djom202 / AwsManager.h
Created November 17, 2024 22:21
AWS Connction with ArduinoCloud
#ifndef AwsManager_h
#define AwsManager_h
void setupAws(MQTTClient &client, WiFiClientSecure &net);
void subscribeTopic(MQTTClient &client);
void setCretifications(WiFiClientSecure &net);
void publishMessage(MQTTClient &client, String payload);
void messageHandler(String &topic, String &payload);
const char* getSerial();
@Raf0707
Raf0707 / strings.xml
Created November 17, 2024 22:21
strings.xml
<string name="version">Версия: 1.0.0.0</string>
<string name="rafail_url" translatable="false">https://github.com/Raf0707</string>
<string name="mail_raf" translatable="false">[email protected]</string>
<string name="source_code">Исходный код</string>
<string name="source_code_url" translatable="false">https://github.com/Raf0707/IbnRustumArabistic</string>
<string name="from_tabiin">from Tabiin</string>
<string name="tabiin" translatable="false">https://vk.com/tabiin_muslim_planner</string>
<string name="Raf_title">Рафаил Кикматулин</string>
<string name="raf_android_dev_mail_ru">[email protected]</string>
<string name="version_copied">version copied</string>
@qudo-code
qudo-code / .env.example
Created November 17, 2024 22:20
Docker Compose Package
DATABASE_URL="mysql://root:[email protected]:5436/dev"
REDIS_API="http://localhost:8002"
REDIS_TOKEN="example_token"
#!/usr/bin/env bash
set -euo pipefail
# Define default commands
COMPILE_CMD="./mvnw compile"
PACKAGE_CMD="./mvnw package -DskipTests -pl logbook-servlet -am"
VERIFY_CMD="./mvnw verify -B"
INSTALL_CMD="./mvnw install -DskipTests -Djacoco.skip=true"
# Flags to track selected options
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created November 17, 2024 22:20
Rimworld output log published using HugsLib
Log uploaded on Sunday, November 17, 2024, 5:20:09 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)
Humanoid Alien Races(erdelf.HumanoidAlienRaces): 0Harmony(av:2.3.3,fv:2.3.1.1), AlienRace(1.0.0)
@DolphinOfficial
DolphinOfficial / PostShutdownFullLog.txt
Created November 17, 2024 22:19
Text file created by Roblox
-- AH POST-SERVER LOGS --
-- ServerID: 147a08fc-2d7a-400e-9426-e6a781ca71ad
-- Server started: November 17, 2024 09:56 PM UTC | Server uptime: 1350 seconds
------------------ LOADB LOGS ------------------
{
[1] = "[LOGS] lilcaecae loaded the build named 'cool'",
@yukikim
yukikim / note.md
Created November 17, 2024 22:18
2つのオブジェクトを比較

JavaScriptで2つのオブジェクトを比較し、一方に存在しないプロパティや値を特定するには、以下のような方法を使えます。具体的には、オブジェクトのキーをループで調べる方法や、再帰的に比較する関数を作る方法があります。

以下は、基本的なプロパティの比較を行う例と、再帰的に比較する例を示します。


1. 基本的なプロパティの比較

以下の関数では、片方のオブジェクトに存在して他方にないプロパティを特定します。

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});
@choco-bot
choco-bot / Install.txt
Created November 17, 2024 22:17
xvid v1.3.5 - Failed - Package Tests Results
2024-11-17 21:32:25,365 6876 [DEBUG] - XmlConfiguration is now operational
2024-11-17 21:32:30,250 6876 [DEBUG] - Adding new type 'CygwinService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-11-17 21:32:30,312 6876 [DEBUG] - Adding new type 'CygwinService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-11-17 21:32:30,345 6876 [DEBUG] - Adding new type 'PythonService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-11-17 21:32:30,376 6876 [DEBUG] - Adding new type 'PythonService' for type 'IListSourceRunner' from assembly 'choco'
2024-11-17 21:32:30,427 6876 [DEBUG] - Adding new type 'PythonService' for type 'IInstallSourceRunner' from assembly 'choco'
2024-11-17 21:32:30,510 6876 [DEBUG] - Adding new type 'PythonService' for type 'IUninstallSourceRunner' from assembly 'choco'
2024-11-17 21:32:30,551 6876 [DEBUG] - Adding new type 'RubyGemsService' for type 'IAlternativeSourceRunner' from assembly 'choco'
2024-11-17 21:32:30,582 6876 [DEBUG] - Adding new typ
@aUsABuisnessman
aUsABuisnessman / clean-docker.sh
Created November 17, 2024 22:16 — forked from 11331133/clean-docker.sh
Stop all docker processes, remove all containers, remove all images
# stop all processes
docker stop $(docker ps -aq)
# remove all containers
docker rm $(docker ps -aq)
# remove all images
docker rmi $(docker images -aq)
# delete all volumes