Skip to content

Instantly share code, notes, and snippets.

Change default shell to zsh on Mac

Install brew if needed.

Install and check if brew is installed properly

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

brew -v
brew doctor
@vanmash
vanmash / ssl-cert-check
Created April 12, 2020 19:00 — forked from bacinsky/ssl-cert-check
Checks SSL expiration 4 Zabbix
#!/bin/bash
#
# Program: SSL Certificate Check <ssl-cert-check>
#
# Source code home: http://prefetch.net/code/ssl-cert-check
#
# Documentation: http://prefetch.net/articles/checkcertificate.html
#
# Author: Matty < matty91 at gmail dot com >
#
$ git remote rm origin
$ git remote add origin git@github.com:aplikacjainfo/proj1.git
$ git config master.remote origin
$ git config master.merge refs/heads/master