Skip to content

Instantly share code, notes, and snippets.

View victor-abz's full-sized avatar

Abizeyimana Victor victor-abz

View GitHub Profile
@victor-abz
victor-abz / gist:7fc1a896b0de068de7f2140138088613
Created March 10, 2022 18:42
JSON formatter, Microsoft word code formatter
http://www.bodurov.com/JsonFormatter/
@victor-abz
victor-abz / Fix FATAL: no pg_hba.conf entry for host "4X.XXX.XX.XXX"
Created January 17, 2022 08:12
Fix connect to PostgreSQL server: FATAL: no pg_hba.conf entry for host "4X.XXX.XX.XXX",
# Add or Remove this in nano /var/lib/pgsql/9.5/data/pg_hba.conf
`hostnossl all all 0.0.0.0/0 trust`
# run
`/etc/init.d/postgresql restart`
<template>
<div class="flex flex-col max-w-full p-4">
<PageHeader>
<h1 slot="title" class="text-2xl font-bold">Scyn with VSDC Items</h1>
<template slot="actions">
<SearchBar class="ml-2" />
</template>
</PageHeader>
<div class="grid grid-cols-3 gap-4 mt-2">
<div
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/usr/bin/env bash
#
export MYPWD=""; # MySQL password
export ADMPWD=""; # Administrator password
export THESITE="my site"; # Site name
export USERCTX=".profile";
source ${HOME}/${USERCTX};
if [ "${BASH_SOURCE[0]}" -ef "$0" ]