Skip to content

Instantly share code, notes, and snippets.

View mimarz's full-sized avatar

Michael Marszalek mimarz

  • Olavstoppen
  • Stavanger
View GitHub Profile
#!/bin/bash
# http://redsymbol.net/articles/unofficial-bash-strict-mode/
set -euo pipefail
IFS=$'\n\t'
# inspired by
# https://gist.github.com/codeinthehole/26b37efa67041e1307db
# https://github.com/why-jay/osx-init/blob/master/install.sh
# https://github.com/timsutton/osx-vm-templates/blob/master/scripts/xcode-cli-tools.sh
#!/bin/sh
# Homebrew Script for OSX
# To execute: save and `chmod +x ./brew-install.sh` then `./install_packages.sh`
# Install homebrew and make sure brew path is set
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo "Installing brews"
brew install node
@mimarz
mimarz / .zshrc
Last active June 19, 2020 12:04
useful script & files
export ZSH=/Users/michael.marszalek/.oh-my-zsh
export HOMEBREW_GITHUB_API_TOKEN=<add-token-here>
export NVM_DIR="$HOME/.nvm"
[ -s "/usr/local/opt/nvm/nvm.sh" ] && . "/usr/local/opt/nvm/nvm.sh" # This loads nvm
[ -s "/usr/local/opt/nvm/etc/bash_completion.d/nvm" ] && . "/usr/local/opt/nvm/etc/bash_completion.d/nvm" # This loads nvm bash_completion
# Theme
ZSH_THEME=""

How to add SSL binding for Equinor domains in azure

In this readme we will use the eds.equinor.com domain as an example. Can be done for any sub domain, given you have setup correct DNS/Re-routing.

1. Generate new key & request (needs to be be done only once)

Run in terminal

openssl req -new -newkey rsa:2048 -nodes -keyout eds.equinor.com.key -out request.csr
@mimarz
mimarz / eds-icons@0.3.0.md
Last active June 9, 2020 10:13
EDS new release posts

Hello there! 👋

We have just pushed out an update to eds-icons with a bugfix (#349) & added a new cable icon

As always, if you have any feedback on the implementation details of the EDS components – please don’t hesitate to get in touch.