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
apiVersion: networking.k8s.io/v1 | |
kind: Ingress | |
metadata: | |
name: kuard | |
annotations: {} | |
#cert-manager.io/issuer: "letsencrypt-staging" | |
spec: | |
ingressClassName: nginx | |
tls: | |
- hosts: |
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 if the required arguments are provided | |
if [ "$#" -lt 3 ]; then | |
echo "Usage: $0 <current_db_uri> <db_to_delete> <user_to_delete>" | |
exit 1 | |
fi | |
# Variables | |
CURRENT_DB_URI="$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
0.0.0.0 youtube.com | |
0.0.0.0 m.youtube.com | |
0.0.0.0 instagram.com | |
0.0.0.0 x.com | |
0.0.0.0 twitter.com | |
0.0.0.0 reddit.com | |
0.0.0.0 facebook.com | |
0.0.0.0 tiktok.com | |
0.0.0.0 snapchat.com | |
0.0.0.0 whatsapp.com |
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
Subject: [PATCH] Copied vue and ftl components to allow overriding default behavior | |
--- | |
Index: data/SimpleScreensSetupData.xml | |
IDEA additional info: | |
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP | |
<+>UTF-8 | |
=================================================================== | |
diff --git a/data/SimpleScreensSetupData.xml b/data/SimpleScreensSetupData.xml | |
--- a/data/SimpleScreensSetupData.xml (revision 787bf9cf17e52f20b4eb4e69a03d3212dae7c493) | |
+++ b/data/SimpleScreensSetupData.xml (date 1708058009445) |
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 xmlns="https://developers.google.com/blockly/xml"><block type="factory_base" id="!3HK3u3O50:YC,nt5y7F" deletable="false" movable="false" x="10" y="10"> | |
<mutation connections="BOTH"></mutation> | |
<field name="NAME">parameter</field> | |
<field name="INLINE">INT</field> | |
<field name="CONNECTIONS">BOTH</field> | |
<statement name="INPUTS"> | |
<block type="input_dummy" id="J{q]Mw(6!e{p2).btlid"> | |
<field name="ALIGN">LEFT</field> | |
<statement name="FIELDS"> | |
<block type="field_static" id="@c7]Y3{pCw*Kt`Hx~)5@"> |
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
# A Docker Compose application with moqui, postgres, and virtual hosting through | |
# nginx-proxy supporting multiple moqui instances on different hosts. | |
# Run with something like this for detached mode: | |
# $ docker-compose -f moqui-ng-pg-compose.yml -p moqui up -d | |
# Or to copy runtime directories for mounted volumes, set default settings, etc use something like this: | |
# $ ./compose-run.sh moqui-ng-pg-compose.yml | |
# This sets the project/app name to 'moqui' and the network will be 'moqui_default', to be used by external moqui containers | |
# Test locally by adding the virtual host to /etc/hosts or with something like: |
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 org.openqa.selenium.firefox.FirefoxDriver | |
import org.openqa.selenium.* | |
import org.openqa.selenium.interactions.Actions | |
import org.openqa.selenium.support.ui.* | |
import spock.lang.* | |
import java.time.Duration | |
class KatalonGroovyGenerator extends Specification{ | |
@Shared WebDriver driver = new FirefoxDriver() | |
@Shared Actions actions = new Actions(driver) |
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 "chassis.hpp" | |
template <typename T> double sgn(T val) { | |
return (T(0) < val) - (val < T(0)); | |
} | |
void Chassis::linearProfileStraight(QLength idistance, QLength icurrentPos){ | |
leftProfileController->generatePath ( {icurrentPos.abs(),idistance.abs()}, "straight", straightLimits ); | |
rightProfileController->generatePath( {icurrentPos.abs(),idistance.abs()}, "straight", straightLimits ); | |
bool backward = false; |
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
pros::task_t graphing; | |
void loop(void* params){ | |
auto lposFilter = std::make_shared<AverageFilter<10>>(); | |
auto lspeedFilter = std::make_shared<AverageFilter<10>>(); | |
auto laccelFilter = std::make_shared<AverageFilter<10>>(); | |
auto ljerkFilter = std::make_shared<AverageFilter<10>>(); | |
auto lsnapFilter = std::make_shared<AverageFilter<10>>(); |
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 "Graph.hpp" | |
Graph::Graph(lv_obj_t* parent) : Graph(parent, lv_obj_get_style(parent)->body.main_color) {} | |
Graph::Graph(lv_obj_t* parent, lv_color_t mainColor) : | |
graph(lv_chart_create(parent, NULL)) | |
{ | |
lv_obj_set_size(graph, lv_obj_get_width(parent), lv_obj_get_height(parent)); | |
lv_obj_align(graph, NULL, LV_ALIGN_CENTER, 0, 0); | |
lv_chart_set_type(graph, LV_CHART_TYPE_LINE); |
NewerOlder