Skip to content

Instantly share code, notes, and snippets.

View blackfyre's full-sized avatar
🏠
Working from home

Miklós Galicz blackfyre

🏠
Working from home
View GitHub Profile
@blackfyre
blackfyre / webcam.txt
Created May 7, 2022 15:25
MainsailOS Webcams
### Windows users: To edit this file use Notepad++, VSCode, Atom or SublimeText.
### Do not use Notepad or WordPad.
### MacOSX users: If you use Textedit to edit this file make sure to use
### "plain text format" and "disable smart quotes" in "Textedit > Preferences"
### Configure which camera to use
#
# Available options are:
# - auto: tries first usb webcam, if that's not available tries raspi cam
@blackfyre
blackfyre / printer.cfg
Last active February 10, 2023 20:38
Klipper Config for FLSUN QQ-S, Duet 2 Wifi, Duet Smart Effector
[mcu]
serial: /dev/serial/by-id/usb-Klipper_sam4e8e_00313953325753543039303330303630-if00
[printer]
kinematics: delta
max_velocity: 500
max_accel: 2000
max_z_velocity: 200
minimum_z_position: 0
delta_radius: 130
@blackfyre
blackfyre / config.json
Last active November 3, 2020 06:26
FLSUN QQ-S & Duet 2 Wifi (RRF v3)
{
"board": "duetwifi10",
"expansion_boards": [],
"firmware": 3,
"standalone": true,
"nvram": false,
"auto_save": {
"enabled": true,
"save_threshold": 10,
"resume_threshold": 11,
@blackfyre
blackfyre / flow.json
Created May 27, 2020 12:52
Node Red Dashboard current time
[{"id":"f194521c.66b9f","type":"inject","z":"bfcd59fd.b97788","name":"","topic":"","payload":"","payloadType":"date","repeat":"1","crontab":"","once":false,"onceDelay":0.1,"x":270,"y":260,"wires":[["7c13eb50.965874"]]},{"id":"7c13eb50.965874","type":"change","z":"bfcd59fd.b97788","name":"Set Time Attributes","rules":[{"t":"set","p":"seconds","pt":"msg","to":"$fromMillis(payload, '[s]')\t","tot":"jsonata"},{"t":"set","p":"minutes","pt":"msg","to":"$fromMillis(payload, '[m]')","tot":"jsonata"},{"t":"set","p":"hours","pt":"msg","to":"$fromMillis(payload, '[H]')\t","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":450,"y":260,"wires":[["47562960.35fcf8","48a47986.3197d8","cd4f0be8.3c6118"]]},{"id":"cd4f0be8.3c6118","type":"ui_gauge","z":"bfcd59fd.b97788","name":"","group":"48cb4a07.3e2634","order":0,"width":"1","height":"1","gtype":"gage","title":"Seconds","label":"","format":"{{seconds}}","min":0,"max":"60","colors":["#00b500","#e6e600","#ca3838"],"seg1":"","seg2":"","x":640,"y":220,"
@blackfyre
blackfyre / webshop-product-watch.json
Created May 25, 2020 10:52
NodeRed szöszenetek
[
{
"id": "df59c7a2.a36388",
"type": "tab",
"label": "Webshop Tétel állapot figyelés",
"disabled": false,
"info": "# WebShop tétel figyelés\n\nSokszor belefutunk abba a problémába, hogy van egy webshop, nem lehet előrendelést rögzíteni és készletfigyelésre sincs lehetőség.\n\nIlyen esetekben szolgálhat alapul ez a kis szösszenet. Persze webshoponként változik, hogy mit kell megtalálni és azt hogyan kell kezelni, de a lépések nagyjából ezek lesznek minden esetben."
},
{
"id": "e5336e75.beed6",
@blackfyre
blackfyre / Loader.vue
Last active December 6, 2023 16:46
Funny VueJS Loader
<template>
<div>
<p><slot name="icon"><i class="fas fa-spinner fa-pulse"></i></slot> {{message}}</p>
</div>
</template>
<script>
export default {
name: "Loader",
data() {
@blackfyre
blackfyre / GeneralModal.vue
Last active June 12, 2024 11:54
Modals in Laravel Nova Tools
<template>
<modal @modal-close="handleClose">
<form
@submit.prevent="handleConfirm"
slot-scope="props"
class="bg-white rounded-lg shadow-lg overflow-hidden"
style="width: 460px"
>
<slot :uppercaseMode="uppercaseMode" :mode="mode">
<div class="p-8">
@blackfyre
blackfyre / tool.js
Created November 12, 2018 14:42
Vuex for Laravel Nova Tools
import Vue from 'vue';
import Vuex from 'vuex';
import state from './store/state.js';
import actions from './store/actions.js';
import getters from './store/getters.js';
import mutations from './store/mutations.js';
Vue.use(Vuex);
Nova.booting((Vue, router) => {
#include <ESP8266WiFi.h>
#include <PubSubClient.h>
#include "DHT.h"
#include <ArduinoJson.h>
#define MQTT_VERSION MQTT_VERSION_3_1_1
// Wifi: SSID and password
const char* WIFI_SSID = "____________";
const char* WIFI_PASSWORD = "____________";
@blackfyre
blackfyre / README.md
Last active August 29, 2015 14:15 — forked from denji/README.md