Delete postmaster.pid found at the following directory:
/opt/homebrew/var/postgresql@14/postmaster.pid
or
/opt/homebrew/var/postgresql@/postmaster.pid
Delete postmaster.pid found at the following directory:
/opt/homebrew/var/postgresql@14/postmaster.pid
or
/opt/homebrew/var/postgresql@/postmaster.pid
| kubectl config get-contexts | |
| kubectl config use-context <context-name> | |
| kubectl get namespaces | |
| kubectl get pods -n <namespace> | |
| kubectl exec -i -t -n <namespace-name> <pod-name> -c web -- sh -c "clear; (bash || ash || sh)" | 
| import io.lettuce.core.ReadFrom; | |
| import io.lettuce.core.cluster.ClusterClientOptions; | |
| import io.lettuce.core.cluster.ClusterTopologyRefreshOptions; | |
| import org.springframework.boot.autoconfigure.data.redis.RedisProperties; | |
| import org.springframework.context.annotation.Bean; | |
| import org.springframework.context.annotation.Configuration; | |
| import org.springframework.data.redis.connection.ReactiveRedisClusterConnection; | |
| import org.springframework.data.redis.connection.ReactiveRedisConnectionFactory; | |
| import org.springframework.data.redis.connection.RedisClusterConfiguration; | |
| import org.springframework.data.redis.connection.lettuce.LettuceClientConfiguration; | 
| package com.cozy; | |
| import java.util.HashMap; | |
| import java.util.Iterator; | |
| import java.util.Map; | |
| public class BowlingHashMap { | |
| HashMap<String, Integer> players; | |
| BowlingHashMap() { | 
| docker stop $(docker ps -a -q) | |
| docker rm $(docker ps -a -q) | 
| from flask.views import MethodView | |
| from flask import jsonify, request, abort | |
| import uuid | |
| import os | |
| from werkzeug.utils import secure_filename | |
| class MediaAPI(MethodView): | |
| def __init__(self): | 
| from flask.views import MethodView | |
| from flask import jsonify, request, abort | |
| import uuid | |
| import os | |
| from werkzeug.utils import secure_filename | |
| class UploadAPI(MethodView): | |
| def __init__(self): | 
| from flask.views import MethodView | |
| from flask import jsonify, request, abort | |
| import uuid | |
| import os | |
| from io import BytesIO | |
| from PIL import Image | |
| import base64 | 
| import os | |
| i = 0 | |
| for file in os.listdir("."): | |
| dst = str(i) + ".jpeg" | |
| src = file | |
| dst = dst | |
| os.rename(src,dst) | |
| i +=1 | 
| @import "../../assets/scss/abstracts/variables"; | |
| @import "../../assets/scss/abstracts/mixins"; | |
| .article { | |
| padding: 4rem; | |
| // Article Main Body | |
| &__main { | |
| padding: 2rem 10rem 10rem 10rem; | |
| } |