Skip to content

Instantly share code, notes, and snippets.

View abdul-jabbar01's full-sized avatar
🚀
Everyday, trying to be a better version of myself

abdul-jabbar01

🚀
Everyday, trying to be a better version of myself
View GitHub Profile
@abdul-jabbar01
abdul-jabbar01 / daily-quote-shell.sh
Last active August 27, 2019 08:19
This script will show you a very nicely format and unique daily quote on your shell screen
#!/bin/bash
# This script will show you a very nicely format unique quote of the day on your shell screen.
# Sample Screenshot => https://ibb.co/mGRQnNp
#Steps to setup
#1) Save this script file in your machine
#2) Set permissions of file by chmod +x daily-quote-shell.sh
#3) Open file ~/.bash_profile
@abdul-jabbar01
abdul-jabbar01 / quote-of-the-day-slack.sh
Last active October 1, 2019 09:19
Bash script to send motivational quotes daily in slack channel
#!/bin/bash
#This script uses the API of http://quotes.rest to get the inspirational quotes. And then send it to slack channel daily
#You can set the bash script in the cronjob. And the cronjob will run this script daily.
#Sample Screenshot: https://ibb.co/54vcg2D
#Slack Configuration
USERNAME=Motivator
TEXT="It's time to motivate you"
@abdul-jabbar01
abdul-jabbar01 / default
Created January 17, 2019 17:48
Default Nginx Configuration file for Linux
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#
@abdul-jabbar01
abdul-jabbar01 / 000-default.conf
Created January 17, 2019 17:42
Default Apache2 Configuration file For Linux
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com