- Download docker-compose.yml to dir named
sentry
- Change
SENTRY_SECRET_KEY
to random 32 char string - Run
docker-compose up -d
- Run
docker-compose exec sentry sentry upgrade
to setup database and create admin user - (Optional) Run
docker-compose exec sentry pip install sentry-slack
if you want slack plugin, it can be done later - Run
docker-compose restart sentry
- Sentry is now running on public port
9000
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
/* be sure to copy-paste to the Image Widget Custom CSS panel */ | |
selector, | |
selector .elementor-widget-container, | |
selector .elementor-image, | |
selector .elementor-image > a { | |
height: 100%; | |
} | |
selector .elementor-image img { | |
object-fit: cover; | |
object-position: 50% 50%; |
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/sh | |
certbot certonly \ | |
--manual \ | |
-d '*.yourdomain.com' \ | |
-d yourdomain.com \ | |
--agree-tos \ | |
--no-bootstrap \ | |
--manual-public-ip-logging-ok \ | |
--preferred-challenges dns-01 \ |
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
void handleSerialComms() { | |
while (Serial1.available()) { | |
char inByte = Serial1.read(); | |
Serial.write(inByte); | |
} | |
while (Serial.available()) { | |
int inByte = Serial.read(); | |
Serial1.write(inByte); | |
} | |
} |
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: v1 | |
kind: ReplicationController | |
metadata: | |
name: kube-registry-v0 | |
namespace: kube-system | |
labels: | |
k8s-app: kube-registry | |
version: v0 | |
spec: | |
replicas: 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
## Useful Commands | |
Get kubectl version | |
kubectl version | |
Get cluster info: |
-
Enable
#enable-devtools-experiments
flag inchrome://flags
section. -
Open Chorme Devtools and check
Settings > Experiments > Allow extensions to load custom stylesheets
. -
Create the following four files in a dedicated folder.
3.1.
devtools.html
<html> <head></head> <body><script src="devtools.js"></script></body>
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 java.io.Console; | |
import java.io.IOException; | |
import java.io.Reader; | |
import java.lang.Runtime; | |
public class Main { | |
public static void main(String[] args) throws IOException, InterruptedException { | |
System.out.println("Press the \"z\" key to exit!"); | |
String[] cmd = {"/bin/sh", "-c", "stty raw </dev/tty"}; |
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 main | |
import ( | |
"encoding/hex" | |
"log" | |
"net" | |
"time" | |
) | |
const ( |
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
[unix_http_server] | |
file=/var/run/supervisor.sock | |
chmod=0770 | |
chown=root:supervisor | |
[supervisord] | |
pidfile=/var/run/supervisord.pid | |
nodaemon=false | |
logfile=/var/log/supervisord/supervisord.log | |
loglevel=error |
NewerOlder