Skip to content

Instantly share code, notes, and snippets.

@soudai
soudai / mysql57to8.md
Last active May 23, 2024 15:16
MySQL 5.7 to 8 check list

確認すること

メンテナンス時間をどれくらい取れるかで戦略が決まる。 基本的にはメンテナンス時間を十分に取れたほうが良い。 またリスクをどれだけ許容できるかもビジネスによるので要確認しておくべき。

基本的には一度切り替えてしまうとロールバックすることは簡単ではない。 覚悟を決めて突き進む必要がある

@fevangelou
fevangelou / my.cnf
Last active May 23, 2024 15:15
Optimized my.cnf configuration for MySQL/MariaDB (on Ubuntu, CentOS, Almalinux etc. servers)
# === Optimized my.cnf configuration for MySQL/MariaDB (on Ubuntu, CentOS, Almalinux etc. servers) ===
#
# by Fotis Evangelou, developer of Engintron (engintron.com)
#
# ~ Updated December 2021 ~
#
#
# The settings provided below are a starting point for a 8-16 GB RAM server with 4-8 CPU cores.
# If you have different resources available you should adjust accordingly to save CPU, RAM & disk I/O usage.
#
@staaldraad
staaldraad / webdavserv.go
Last active May 23, 2024 15:14
A small webdav server in go
package main
import (
"flag"
"fmt"
"log"
"net/http"
"os"
"golang.org/x/net/webdav"
@krzemienski
krzemienski / awesome-list-static-site-multi-frameworks.sh
Created May 23, 2024 15:14
A shell script to test out multiple static site generators for awesome lists
#!/bin/bash
# Function to check if a port is available
check_port() {
local port=$1
if ! lsof -i:$port > /dev/null; then
echo $port
else
while lsof -i:$port > /dev/null; do
port=$((port+1))
apiVersion: v1
kind: Namespace
metadata:
name: reproducer-sync-waves
annotations:
argocd.argoproj.io/sync-wave: "0"
spec: {}
apiVersion: v1
kind: ServiceAccount
metadata:
@adwiteeya3
adwiteeya3 / Quick Sort.c
Created October 24, 2020 09:03
C program for Quick sort
/* C implementation QuickSort */
#include <stdio.h>
// A utility function to swap two elements
void swap(int *a, int *b)
{
int t = *a;
*a = *b;
*b = t;
}
@ih2502mk
ih2502mk / list.md
Last active May 23, 2024 15:12
Quantopian Lectures Saved
@bkaradzic
bkaradzic / orthodoxc++.md
Last active May 23, 2024 15:10
Orthodox C++

Orthodox C++

What is Orthodox C++?

Orthodox C++ (sometimes referred as C+) is minimal subset of C++ that improves C, but avoids all unnecessary things from so called Modern C++. It's exactly opposite of what Modern C++ suppose to be.

Why not Modern C++?

@pwichmann
pwichmann / zeromq.sh
Created January 29, 2017 22:15 — forked from mnlcandelaria/zeromq.sh
How to install ZeroMQ on Ubuntu
# run in sudo
# Before installing, make sure you have installed all the needed packages
sudo apt-get install libtool pkg-config build-essential autoconf automake
sudo apt-get install libzmq-dev
# Install libsodium
git clone git://github.com/jedisct1/libsodium.git
cd libsodium
./autogen.sh
./configure && make check
@cdseoo
cdseoo / emeditor.key
Created May 19, 2023 00:17
emeditor v22 lifetime key
DEMZF-UCKEE-HB222-DJDDH-594U5
DMAZF-UCKEE-A6222-8CADP-HQZ7H
DPAZF-UCKEE-FH222-ET546-DLRGT
DRNZF-UCKEE-UK222-RWNLU-XVZH7
DSBZF-UCKEE-BF222-K24JB-S9JLC
DSHZF-UCKEE-D3222-NMB93-UKSQF
DTHZF-UCKEE-BW222-Q2BKZ-NXPU8
DVAZF-UCKEE-J7222-5UHCT-QSRFE
DVEZF-UCKEE-PR222-ZAPFE-4C49Q