Commit 54b53496 authored by psachin's avatar psachin 🎮

[Update] handy commands

Signed-off-by: psachin's avatarSachin Patil <psachin@redhat.com>
parent fbf33d49
Pipeline #41975488 passed with stages
in 1 minute and 4 seconds
#+title: Handy commands
#+date: <2016-10-09>
#+keywords: gs, ssh, wget, import, mplayer, ffmpeg, convert
#+keywords: gs, ssh, wget, import, mplayer, ffmpeg, convert, git
#+setupfile: ../org-templates/post.org
List of commands for day-to-day use
(*Updated on Mar 04, 2017*)
(*Last updated on Jan 03, 2019*)
**** SOCKS proxy using SSH
#+BEGIN_SRC bash
......@@ -18,7 +18,6 @@ List of commands for day-to-day use
=-D=: =[bind address:]port= (Port in above example)
**** wget a website
#+BEGIN_SRC bash
wget -rkp -l5 -np -nH -cut-dirs=1 https://example.com
......@@ -133,3 +132,15 @@ List of commands for day-to-day use
# Clear cache using
ccache -C
#+END_SRC
**** Git
***** Find commits by author between timeline
#+BEGIN_SRC shell
# Syntax
git log --since "START" --until "END" --author=AUTHOR --pretty=oneline --diff-filter=A
# Example
git log --since "Oct 1 2018" --until "DEC 28 2018" --author=psachin@redhat.com --pretty=oneline --diff-filter=A
# If you also want to see the file names
git log --since "Oct 1 2018" --until "DEC 28 2018" --author=psachin@redhat.com --name-status --pretty=oneline --diff-filter=A
#+END_SRC
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment