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 React, { useCallback } from "react"; | |
import { useField, withCondition } from "payload/components/forms"; | |
import { TextField } from "payload/dist/fields/config/types"; | |
import ColorInput from "../PayloadInput"; | |
import { text } from "payload/dist/fields/validations"; | |
export type Props = Omit<TextField, "type"> & { | |
path?: string; |
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 {Block} from 'payload/types'; | |
const createRecursiveLinksBlock = (current = 0, maxDepth = 3): Block => { | |
if (current < maxDepth - 1) { | |
current++; | |
return { | |
slug: `Level ${current}`, | |
fields: [ | |
{ | |
name: 'name', |
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 { getDocumentByID } from "./PayloadCommunicator.ts"; | |
import type { PageServerLoad } from './$types'; | |
export const load = (async ({ params }) => { | |
return await getDocumentByID('collection', params.id); | |
}) satisfies PageServerLoad; |
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
https://vector-realestate.com | |
https://vector-realestate.com/#/unternehmen | |
https://vector-realestate.com/#/unternehmen#profil | |
https://vector-realestate.com/#/unternehmen#grundwerte | |
https://vector-realestate.com/#/projekte | |
https://vector-realestate.com/#/projekte#referenzen | |
https://vector-realestate.com/#/news | |
https://vector-realestate.com/#/kontakt |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<interface> | |
<!-- interface-requires gladevcp 0.0 --> | |
<requires lib="gtk+" version="2.24"/> | |
<!-- interface-naming-policy project-wide --> | |
<object class="GtkWindow" id="window1"> | |
<property name="can_focus">False</property> | |
<child> | |
<object class="HAL_HideTable" id="hal_hidetable1"> | |
<property name="visible">True</property> |
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
G38.2 Z-15 F100; Probe Z | |
G92 Z5; Set zero Z (5mm calibration plate thickness) | |
G91 G0 Z3; Lift 3mm (z) | |
G91 G0 X-60; Move 60mm to left (x) | |
G91 G0 Z-6; Move 6mm down (z) | |
G38.2 X50 F100; Probe X | |
G92 X-13.10; Set zero X (-10.10mm calibration plate thickness -1/2 tool thickness) | |
G91 G0 X-3; Move 3mm left (x) | |
G91 G0 Z6; Lift 6mm (z) | |
G91 G0 Y-60; Move 60mm to front (y) |
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
var m = require("mithril"); | |
m.mount(document.querySelector("#menu"), { | |
view: function() { | |
return m("ul", [ | |
m("li", m('a[href="/a"]', {config: m.route}, "module A")), | |
m("li", m('a[href="/b"]', {config: m.route}, "module B")), | |
m("li", m('a[href="/c"]', {config: m.route}, "module C")) | |
]); | |
} |
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/bash | |
## Check for versions compiled with ARM at http://nodejs.org/dist/ | |
## Inspired by http://oskarhane.com/raspberry-pi-install-node-js-and-npm/ | |
## Fill in the Node Version here: | |
########################################################################## | |
NODE_VERSION="v8.2.1" |
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/bash | |
#enable job control in script | |
set -m | |
# when /etc/couchdb (contains i.g. admin account) was not allready moved to persistant storage, do it and symlink the org. directory | |
if [ ! -d /var/lib/couchdb/etc/couchdb ]; then | |
mkdir /var/lib/couchdb/etc | |
mv /etc/couchdb /var/lib/couchdb/etc/ | |
ln -s /var/lib/couchdb/etc/couchdb/ /etc/couchdb |
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/bash | |
# Start / stop streamer daemon | |
case "$1" in | |
start) | |
sudo -u pi /home/pi/scripts/webcamDaemon >/dev/null 2>&1 & | |
echo "$0: started" | |
;; | |
stop) | |
pkill -x webcamDaemon |
NewerOlder