Skip to content

Instantly share code, notes, and snippets.

View MbuguaCaleb's full-sized avatar
🏠
Bsc Electronic and Computer Engineering (Above all Born Again. Romans 13:11 )

Mbugua Caleb MbuguaCaleb

🏠
Bsc Electronic and Computer Engineering (Above all Born Again. Romans 13:11 )
View GitHub Profile
@MbuguaCaleb
MbuguaCaleb / index.html
Created August 19, 2019 14:35
Pluralsight Login Clone
<div id="wrapper">
<div id="left">
<div id="signin">
<div class="logo">
<img src="https://image.ibb.co/hW1YHq/login-logo.png" alt="Sluralpright" />
</div>
<form>
<div>
<label>Email or username</label>
<input type="text" class="text-input" />
@MbuguaCaleb
MbuguaCaleb / Postgres.txt
Last active August 14, 2019 07:52
POSTGRES REPLICATION
# Viewing your Posgtres Clusters
sudo pg_lsclusters
# create a second postgres cluster
sudo pg_createcluster 10 replica1
#checking the status of the cluster
sudo pg_ctlcluster 10 replica1 status
sudo systemctl status postgresql@10-main
SSH(Entails to when a client is communicating to a server)
SECURE SHELL
PROROCOL TO COMMUNINCATE WITH OTHER COMPUTERS AND SIMILAR TO (https,http,ftp)
Used to do just about anything in a remote computer and mostly used via the terminal/commandLine
Traffic is Enccrypted
Can also be used via GUI eg in WINSCP
Can also be used in ftp..file zilla