Reference:
sudo fdisk -l
require 'capistrano/scm/plugin' | |
class Capistrano::SCM | |
# Usage: Add this to your `Capfile`: | |
# | |
# require_relative "lib/capistrano_rsync" # adapt path as needed | |
# install_plugin Capistrano::SCM::Rsync | |
# | |
# Note that this you need to deactivate any other SCM plugins (there can only be one SCM plugin active at any time)- | |
# |
#!/bin/bash | |
# Copyright © 2017 Google Inc. | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
Reference:
sudo fdisk -l
alias weather='curl -s wttr.in | sed -n "1,7p"' |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
Free O'Reilly books and convenient script to just download them.
Thanks /u/FallenAege/ and /u/ShPavel/ from this Reddit post
How to use:
download.sh
file and put it into a directory where you want the files to be saved.cd
into the directory and make sure that it has executable permissions (chmod +x download.sh
should do it)./download.sh
and wee there it goes. Also if you do not want all the files, just simply comment the ones you do not want.package main | |
import ( | |
"io" | |
"log" | |
"net" | |
"time" | |
) | |
func reader(r io.Reader) { |
Put this in a file called pre-commit
in .git/hooks/
#!/bin/sh
# To enable this hook, rename this file to "pre-commit".
git rev-list --count master > build_number
git add build_number