Skip to content

Instantly share code, notes, and snippets.

@shad0wuser
shad0wuser / github_quick_start.md
Last active February 2, 2018 21:12 — forked from arn-ob/gitUpload.txt
Git Repository Upload Command

Add the files in your new local repository. This stages them for the first commit.

Change the current working directory to your local project. Initialize the local directory as a Git repository.

git init

Setting your commit email address and username in Git

@shad0wuser
shad0wuser / ssl-nginx.md
Created November 6, 2017 20:44 — forked from umidjons/ssl-nginx.md
Get Free SSL Certificate & Configure Nginx to use it

Get Free SSL Certificate & Configure Nginx to use it

  • Register on GoGetSSL.
  • Choose SSL Certificates -> Domain Validation SSL from top menu.
  • On products table click Details button on row Comodo - Free SSL.
  • On the opening page click Create New Order button.
  • In the Product Configuration section choose: Product Type = SSL Certificates and Select Item = Comodo Trial SSL, then click Complete Order button.
  • On the opening page click Incomplete Orders link.
  • In the List of all your SSL certificates table click Generate button.
  • With Online CSR Generator generate CSR.

Download Audio from YouTube

-i - ignore errors

-c - continue

-t - use video title as file name

--extract-audio - extract audio track

@shad0wuser
shad0wuser / nohup-output-to-file.sh
Created November 6, 2017 20:41 — forked from umidjons/nohup-output-to-file.sh
Redirect nohup output to a file
# redirect output and errors into file output.log:
nohup some_command > output.log 2>&1&
# abbreviated syntax for bash version >= ver.4:
nohup some_command &> output.log