Skip to content

Instantly share code, notes, and snippets.

View Mauzzz0's full-sized avatar
:octocat:

Ruslan Semak Mauzzz0

:octocat:
View GitHub Profile
@islishude
islishude / node-mysql2-promise-query-stream.js
Created September 7, 2020 10:28
node-mysql2 query stream with Promise
// https://github.com/sidorares/node-mysql2/issues/677
const mysql = require("mysql2/promise");
const stream = require("stream");
const dbconn = mysql.createPool({
connectionLimit: 10,
host: "127.0.0.1",
user: "user",
password: "password",
database: "database",
@greeflas
greeflas / install-toolbox.sh
Last active March 29, 2024 07:53
JetBrains Toolbox installation script for Ubuntu - https://www.jetbrains.com/toolbox/app/
#!/bin/bash
set -e
if [ -d ~/.local/share/JetBrains/Toolbox ]; then
echo "JetBrains Toolbox is already installed!"
exit 0
fi
echo "Start installation..."
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active April 28, 2024 02:38
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example