- Homebrew/terminal/bash
- OSX Productivity - Window Management/Quick Launcher/Hyperswitch
- OSX Settings - Dock/Finder
- Web Browser - Extensions - AdBlock, Privacy Badger, OneTab, JSONViewer, Stylus, Vue Devtools, React Devtools
- Node.js - nvm
- Code Editor - vs code
- Code Editor Extensions
- Break timer and Flux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # first we prune origin to ensure our local list of remote branches is up to date | |
| git remote prune origin | |
| GONE_BRANCHES=$(git branch -vv | grep 'origin/.*: gone]' | awk '{print $1}') | |
| if [ -z "$GONE_BRANCHES" ]; then | |
| echo "Could not find any local branches that have a gone remote" | |
| exit 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # Source: https://gist.github.com/Tadly/0741821d3694deaec1ee454a95c591fa | |
| # | |
| # Use rofi to pick emoji because that's what this | |
| # century is about apparently... | |
| # | |
| # Requirements: | |
| # rofi, xsel, xdotool, curl, xmllint | |
| # | |
| # Usage: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git branch | grep -v "master\|develop" | xargs git branch -D |
Uncle Bob, the well known author of Clean Code, is coming back to us with a new book called Clean Architecture which wants to take a larger view on how to create software.
Even if Clean Code is one of the major book around OOP and code design (mainly by presenting the SOLID principles), I was not totally impressed by the book.
Clean Architecture leaves me with the same feeling, even if it's pushing the development world to do better, has some good stories and present robust principles to build software.
The book is build around 34 chapters organised in chapters.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commit ea830e03d4d4562b1ff225940f65bceddd9cad6c | |
| Author: Hayaki Saito <saitoha@me.com> | |
| Date: Sun Jun 11 23:46:45 2017 +0900 | |
| Add sixel graphics support | |
| Signed-off-by: Hayaki Saito <saitoha@me.com> | |
| diff --git a/Makefile b/Makefile | |
| index d8595fe..a25d040 100644 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // 🔥 Node 7.6 has async/await! Here is a quick run down on how async/await works | |
| const axios = require('axios'); // promised based requests - like fetch() | |
| function getCoffee() { | |
| return new Promise(resolve => { | |
| setTimeout(() => resolve('☕'), 2000); // it takes 2 seconds to make coffee | |
| }); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # VTE | |
| apt-get install autoconf libglib2.0-dev gtk-doc-tools libpcre2-dev libgirepository1.0-dev gperf libvte-2.91-dev libvte-dev valac unzip | |
| wget https://github.com/thestinger/vte-ng/archive/0.46.0.a.zip | |
| unzip 0.46.0.a.zip | |
| rm 0.46.0.a.zip | |
| cd vte-ng-0.46.0.a | |
| bash autogen.sh | |
| make && make install | |
| cd ~ | |
| rm -rf vte-ng-0.46.0.a/ |
- Do you have an Github account ? If not create one.
- Install required tools
- Latest Git Client
- gpg tools
# Ubuntu
sudo apt-get install gpa seahorse
# MacOS with https://brew.sh/