Skip to content

Instantly share code, notes, and snippets.

@EncodePanda
Created March 25, 2020 23:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EncodePanda/e37b273fcbbaf0dfc3649e2c7f307c0e to your computer and use it in GitHub Desktop.
Save EncodePanda/e37b273fcbbaf0dfc3649e2c7f307c0e to your computer and use it in GitHub Desktop.
Pawel Szulc
Table of Contents
_________________
1 Install Nix
2 Install Brew :(
3 Zsh and Oh my zsh
.. 3.1 Install zsh and zsh-completions
.. 3.2 Install Oh my Zsh
.. 3.3 TODO Configure plugins for zsh
4 Install things with Nix
.. 4.1 Install git
.. 4.2 Install bat
.. 4.3 Install docker-compose
.. 4.4 Install Emacs
.. 4.5 Install git-crypt
.. 4.6 Install watch
5 Install things with Brew
.. 5.1 Install Java JDK 8
.. 5.2 Install Docker
6 Haskell envionment
.. 6.1 Install stack
.. 6.2 Install hasktags
.. 6.3 Installing stylish-haskell
7 Configure SSH public keys
8 GPG Sign keys
9 Chrome setup
1 Install Nix
=============
[https://nixos.org/nix/download.html]
2 Install Brew :(
=================
,----
| /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
`----
3 Zsh and Oh my zsh
===================
3.1 Install zsh and zsh-completions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
,----
| brew install zsh zsh-completions
`----
To set zsh as your default shell
,----
| chsh -s /bin/zsh
`----
3.2 Install Oh my Zsh
~~~~~~~~~~~~~~~~~~~~~
,----
| sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
`----
3.3 TODO Configure plugins for zsh
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
,----
| . $HOME/.nix-profile/etc/profile.d/nix.sh
| export PATH=$HOME/.local/bin:$PATH
`----
4 Install things with Nix
=========================
4.1 Install git
~~~~~~~~~~~~~~~
,----
| nix-env -i git
`----
Setup user name and email
,----
| git config --global user.name "Pawel Szulc"
| git config --global user.email "paul.szulc@gmail.com"
`----
4.2 Install bat
~~~~~~~~~~~~~~~
,----
| nix-env -i bat
`----
4.3 Install docker-compose
~~~~~~~~~~~~~~~~~~~~~~~~~~
note: you get python for free...
,----
| nix-env -i docker-compose
`----
4.4 Install Emacs
~~~~~~~~~~~~~~~~~
,----
| nix-env -i emacs-26.3
`----
[https://github.com/rabbitonweb/my_emacs_d]
4.5 Install git-crypt
~~~~~~~~~~~~~~~~~~~~~
,----
| nix-env -i git-crypt
`----
4.6 Install watch
~~~~~~~~~~~~~~~~~
,----
| nix-env -i watch
`----
5 Install things with Brew
==========================
5.1 Install Java JDK 8
~~~~~~~~~~~~~~~~~~~~~~
,----
| brew tap caskroom/versions
| brew cask install java8
| brew cask install adoptopenjdk8
`----
5.2 Install Docker
~~~~~~~~~~~~~~~~~~
,----
| brew cask install dockerh
`----
6 Haskell envionment
====================
6.1 Install stack
~~~~~~~~~~~~~~~~~
,----
| nix-env -i stack
`----
6.2 Install hasktags
~~~~~~~~~~~~~~~~~~~~
[https://github.com/MarcWeber/hasktags]
,----
| stack install hasktags
`----
hasktags can generate proper etags for the Haskell project.
,----
| hasktags --etags .
`----
6.3 Installing stylish-haskell
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
,----
| stack install stylish-haskell
`----
7 Configure SSH public keys
===========================
,----
| ssh-keygen -t rsa
`----
8 GPG Sign keys
===============
Get the GPG tool at [https://gpgtools.org/] Create new key using GPG
tool
Git should sign all your commits
,----
| git config commit.gpgsign true
`----
9 Chrome setup
==============
Extensions:
- [Vimium]
[Vimium]
https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb?hl=en
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment