Skip to content

Instantly share code, notes, and snippets.

@shafi-codez
Created April 10, 2018 07:02

Revisions

  1. shafi-codez renamed this gist Apr 10, 2018. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. shafi-codez created this gist Apr 10, 2018.
    39 changes: 39 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,39 @@
    # How to check if the disk is full or not ?
    df -h

    # Filter files from disk
    find . -type f -name "*config.xml"

    # Parsing command outputs using jq tool
    brew install jq
    sfdx force:config:list --json | jq '.'

    # Zsh : Auto Completion tool
    brew install zsh zsh-completions

    # Terminal Recorder https://asciinema.org/
    # asciinema rec, to finish hit Ctrl-D or type exit.
    brew install asciinema
    # https://asciinema.org/docs/embedding

    # Getting Web Registration information
    whois gist.github.com
    whois linkedin.com

    # Check if port connectivity is reachable or not
    ping gist.github.com
    telnet gist.github.com 80

    # How to get check if given address is resolving or not
    nslookup gist.github.com

    # How to Website hosted information ( Web Server )
    curl -I http://test.westsidewriting.org/
    curl -I http://gist.github.com

    # How to download songs from youtube or vimeo from command line ?
    git clone git@github.com:shafi-codez/code-works.git
    cd code-works/transformer
    # Follow Readme.txt to configure tool
    sh mp3Downloader.sh
    open "One Little Finger _ Super Simple Songs-eBVqcTEC3zQ.mp3"