This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
reader(){ | |
if [ -z "$1" ];then | |
RSS_URL="https://www.khabaronline.ir/rss" | |
else | |
RSS_URL=$1 | |
fi | |
curl --silent "$RSS_URL" | \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cal : show calendar | |
date : show current date | |
cal -y 1999 : show 1999 calendar | |
cd ./Desktop | |
cd - : forwarrd | |
ls .. | |
ls /home/milad | |
ls -i : ls with inode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
"""Simple HTTP Server With Upload. | |
This module builds on BaseHTTPServer by implementing the standard GET | |
and HEAD requests in a fairly straightforward manner. | |
""" | |
__version__ = "0.1" | |
__all__ = ["SimpleHTTPRequestHandler"] |