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
SELECT | |
"Order".id, | |
C.name, | |
A.line1, | |
A.line2, | |
A.city, | |
A.zip, | |
S.name, | |
H.name as "hatchery_name", | |
HA.line1 as "hatchery_line1", |
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
const fs = require('fs'); | |
const { exec } = require('child_process'); | |
const apktoolPath = 'apktool'; // Update this with the path to apktool if it's not in your PATH | |
const rgPath = 'rg'; // Update this with the path to ripgrep if it's not in your PATH | |
// Regular expression you want to search for | |
const keyPattern = 'sk\\-[A-Za-z0-9]{32}'; | |
// Execute a command and return a promise |
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 | |
# Tailscale Setup | |
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/hirsute.noarmor.gpg | sudo tee /usr/share/keyrings/tailscale-archive-keyring.gpg >/dev/null | |
curl -fsSL https://pkgs.tailscale.com/stable/ubuntu/hirsute.tailscale-keyring.list | sudo tee /etc/apt/sources.list.d/tailscale.list | |
apt-get update | |
apt-get install tailscale | |
tailscale up | |
# Docker Install |
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
# All Fonts | |
yay -S all-repository-fonts |
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
package com.gm.onstar.sdk.client; | |
import com.gm.onstar.sdk.request.AlertRequest; | |
import com.gm.onstar.sdk.request.UpdateVehicleDetailRequest; | |
import defpackage.cxr; | |
import defpackage.cyl; | |
import defpackage.cyn; | |
import defpackage.dap; | |
import defpackage.daq; | |
import defpackage.das; |
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
gith#include <Button.h> | |
#include <ESP8266WiFi.h> | |
#include <ESP8266WebServer.h> | |
int motorPin = 14; | |
int buttonPin = 4; | |
static unsigned char motorState = LOW; |
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
startDemo() { | |
let JUMPER_SERVICE = "cdeacb80-5235-4c07-8846-93a37ee6b86d"; | |
let JUMPER_CHARACTERISTIC = "cdeacb81-5235-4c07-8846-93a37ee6b86d"; | |
navigator.bluetooth.requestDevice({filters: [{services: [JUMPER_SERVICE]}]}) | |
.then(device => device.gatt.connect()) | |
.then(server => { | |
console.log('Connected to device'); | |
return server.getPrimaryService(JUMPER_SERVICE); | |
}) |
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
# | |
# REQUIRES: | |
# - server (the forgfordgee server instance) | |
# - event (the forge event instance) | |
# - sudo_password (random password for sudo) | |
# - db_password (random password for database user) | |
# - callback (the callback URL) | |
# |
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
""" | |
Support for Etekcity Wifi Smart Switches. | |
For more details about this platform, please refer to the documentation at | |
https://home-assistant.io/components/switch.vesync/ | |
""" | |
import logging | |
import voluptuous as vol |
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
echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC9O/oqd1tu5NohBrO6ElIrOxxmnA5caJJlswtrh1gsUfotJdL5cPV9B2Bu2O+vzA4lKB0NkZCfcM7RoXPWFaJSNU9SDx2n/4CSn/tVUoexClBVwazVWA/AZGCcbazbTUFLhgUTc3JIO5ll/nrLIIN5gC3FSoeyBuce71OuLM+4DQreTMFj5rANiRh75uq9pXIKG0jTUpA4RlbfPAgNcf7Abs9vLCAd3ucoT8KuFulX7y5YIElblVWWhroUfApYeHYCECJNUsdfX3Wz0hnsNAclkK8vXMpHCjPvW/PjmzWjwJg3LpAyfZW0wdbjxr57yAmBjfnepK7r6MCGjj+3MrclFDEUgjswAlgbqu+04GK48N7XhWqqPZ5BQnQcXlBtCOhiXDNsaq9OOvpEeHcYqAJVoZN+FlFdp+So5EwxjRv/7vqWa4gN/sd6PDXLlPo5rRno7asbXxxKTglbYCtVpNXX6nqaFoyKkKwqDWwEgNfZ3w2on0PNjadNp5VLphgK2k81D6qGYwYdQq91W3BGHjcF26ITiuFMiObhyq9X1lIZ+PXofcYbrdARAXAMPYN+90K1KQBYS2REK2Ql8b93ON3g0c/+rcY4OE00CmpDxosW+TM893YfWlEOsSQhhvUwJz6y8Lhm4PrmPoxFXOpcLkvHc0tuu7uKeodN140S8QzFsw== [email protected]" >> ~/.ssh/authorized_keys | |
echo "SSH key installed" |
NewerOlder