- Indonesia
-
23:35
(UTC +07:00)
Pinned Loading
-
List all IPs of all running docker c...
List all IPs of all running docker containers 1#! /usr/bin/env -S sh2# Reference: https://stackoverflow.com/a/36883565/10974734docker inspect --format='{{.Name}} - {{range .NetworkSettings.Networks}}{{.IPAddress}} {{end}}' $(docker ps -aq)
-
Remote git signing with GPG (GnuPG /...
Remote git signing with GPG (GnuPG / GNU Privacy Guard) over SSH Forwarding 1On local machine
2```console
3$ brew install gnupg pinentry-mac # macOS4$ echo 'export GPG_TTY=$(tty)' >> ~/.bashrc5$ echo 'export GPG_TTY=$(tty)' >> ~/.zshrc -
Convert git repository into shallow ...
Convert git repository into shallow clone to save storage space when there is no need for git histories 1#! /bin/sh23# Ref: https://stackoverflow.com/a/62650346/10974745# macOS/BSD find requires root path -
Copies rsync binaries and its depend...
Copies rsync binaries and its dependencies from MSYS2 to Git for Windows 1#! /bin/sh -x23# The reason to copy rsync binaries into Git for Windows is because4# VS Code has built in support for Git Bash shell in its Terminal.5 -
wsay wrapper for MSYS2 (e.g. Git Bas...
wsay wrapper for MSYS2 (e.g. Git Bash from Git for Windows) 1#!/bin/sh23# use Indonesian voice4v=$(say -v \? | grep id_ID | head -n1 | cut -d " " -f1)5say -v "$v" "$@"
-
create admin user with all privilege...
create admin user with all privileges on mysql/mariadb 1CREATE USER 'admin'@'localhost' IDENTIFIED BY 'some_pass';
2GRANT ALL PRIVILEGES ON *.* TO 'admin'@'localhost' WITH GRANT OPTION;
3FLUSH PRIVILEGES;
4## remote connection - not secure5CREATE USER 'admin'@'%' IDENTIFIED BY 'some_pass';
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.


