Skip to content

Instantly share code, notes, and snippets.

View fcaldarelli's full-sized avatar

Fabrizio Caldarelli fcaldarelli

View GitHub Profile
# Define upstream blocks for each microservice
upstream user_service {
server user-service-container-ip:8001; # Replace with the IP address of the user-service container and its actual port
}
upstream product_service {
server product-service-container-ip:8002; # Replace with the IP address of the product-service container and its actual port
}
upstream order_service {
https://networklessons.com/uncategorized/extend-lvm-partition
version: '3'
services:
tomcat:
image: tomcat:8.0-alpine
container_name: tomcat
ports:
- '8080:8080'
volumes:
- tomcatDir:/usr/local/tomcat
#!/bin/sh
iptables -F
iptables -X
iptables -t nat -F
iptables -t nat -X
iptables -t mangle -F
iptables -t mangle -X
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
git config --global credential.helper osxkeychain
buildscript {
ext.kotlin_version = '1.6.10'
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
ssh -oKexAlgorithms=+diffie-hellman-group1-sha1 -c 3des-cbc
# smartctl -a -d megaraid,"(X)" /dev/sd"(X)"
The first X is the disk number so it should be something like megaraid,0 for the first disk and 1 for the second and so on, while the second X is the variable for the virtual drive like /dev/sda is the first VD and SDB will be the second and so on..
If this did not work for you then, kindly provide me the login details of your server to follow up.
https://kb.leaseweb.com/products/dedicated-server/troubleshooting-hard-disk-and-raid
1. Inserire nel router il parametro che si andrà a modificare nel componente, esempio (in questo caso il parametro è title):
```
return makeHeader({
left: {
image: AppIcons.icons.arrow_back,
onPress: () => navigation.pop(),
text: navigation.state.params?.miotitolo ?? "Titolo di default",
},
right: null,
zend_extension=xdebug.so
xdebug.remote_autostart = 1
xdebug.remote_enable = 1
xdebug.remote_handler = dbgp
xdebug.remote_host = 127.0.0.1
xdebug.remote_log = /tmp/xdebug_remote.log
xdebug.remote_mode = req
xdebug.remote_port = 9005 #if you want to change the port you can change