• Stars
    star
    1,415
  • Rank 32,385 (Top 0.7 %)
  • Language
    Shell
  • Created over 8 years ago
  • Updated about 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A collection of simple Bash scripts

A collection of simple Bash scripts.

Getting Started

  1. Hello.sh: get a simple output
  2. Process.sh: execute more than one command in a script
  3. Interactive.sh: a simple but very much interactive script
  4. Special-Pattern.sh: draw a diamond pattern with dots(.)
  5. While-Read.sh: read lines from a file using while loop
  6. Read-Menu.sh: display a menu for system information
  7. While-Menu.sh: a repeated menu for system information
  8. Affect.sh: print a spinner loader
  9. Colorful.sh: provide you with the output of several colours
  10. Convertlowercase.sh: convert data either from the file or standard input to lowercase
  11. up.sh: move up a directory in shell script
  12. List-dir.sh: list files in a directory
  13. Count-lines.sh: print out the line number of each file in current directory
  14. Randomfile.sh: create unique file/folder automatically with date and time stamp
  15. Random-emoji.sh: print ramdom emojis
  16. pomodoro.sh: a simple pomodoro app written in bash

Programming

  1. VersionCompare.sh: compare two version number

Utility

  1. Encrypt.sh: encrypt a file/folder with password
  2. Archive-and-encrypt.sh: archive a path into a file and encrypt the file
  3. weather.sh: check the weather in a specified location or using the geolocation of the ip address by default.
  4. WhereIP.sh: Get location of an IP address.

System Administration

  1. DirectorySize.sh: output a specified directory's size
  2. Test-File.sh: evaluate the status of a file/directory
  3. Server-Health.sh: report server related information
  4. CPU.sh: report if CPU usage exceeds the threshold
  5. Disk-Space.sh: check if the disk space crosses the limit
  6. CollectNetworkInfo.sh: gather information related to server
  7. RemoteBackup.sh: backup a local file into a remote server
  8. HardwareInfo.sh: show hardware information for systems Linux
  9. Get-Temperature.sh: show CPU temperature

Math

  1. Addition.sh: perform addition of two numbers
  2. Subtraction.sh: perform subtraction of two numbers
  3. Multiplication.sh: perform multiplication of two numbers
  4. Division.sh: perform division of two numbers
  5. Simplecacl.sh: a simple calculator
  6. Table.sh: print table of any number
  7. EvenOdd.sh: check if a number input from standard input is odd or even
  8. Factorial.sh: generate the factorial of a number
  9. Armstrong.sh: check if a provided number is Armstrong or not
  10. Prime.sh: check if a number is prime or not
  11. Fibonacci.sh: test if a number being entered is a Fibonacci or not
  12. Decimal2Binary.sh: convert Decimal Number to Binary
  13. Binary2Decimal.sh: convert Binary Number back to decimal
  14. Decimal2Hex.sh: convert Decimal Number to Hex
  15. Hex2Decimal: convert Hex number back to Decimal

Image manipulation

  1. thumbnail.sh: create 400px thumbnails from images in a folder

License

MIT

More Repositories

1

weekly

科技爱好者周刊,每周五发布
33,058
star
2

es6tutorial

《ECMAScript 6入门》是一本开源的 JavaScript 语言教程,全面介绍 ECMAScript 6 新增的语法特性。
JavaScript
20,881
star
3

jstraining

全栈工程师培训材料
18,959
star
4

react-demos

a collection of simple demos of React.js
JavaScript
16,171
star
5

free-books

互联网上的免费书籍
13,692
star
6

document-style-guide

中文技术文档的写作规范
10,968
star
7

webpack-demos

a collection of simple demos of Webpack
JavaScript
9,588
star
8

jstutorial

Javascript tutorial book
CSS
5,421
star
9

reading-list

Some books I read
1,309
star
10

react-babel-webpack-boilerplate

a boilerplate for React-Babel-Webpack project
JavaScript
1,154
star
11

articles

personal articles
921
star
12

loppo

an extremely easy static site generator of markdown documents
JavaScript
707
star
13

wechat-miniprogram-demos

微信小程序教程库
599
star
14

book-computer-networks

Free E-Book: Computer Networks - A Systems Approach
596
star
15

koa-demos

A collection of simple demos of Koa
485
star
16

extremely-simple-flux-demo

Learn Flux from an extremely simple demo
JavaScript
442
star
17

css-modules-demos

a collection of simple demos of CSS Modules
JavaScript
395
star
18

fortunes

A collection of fortune database files for Chinese users.
335
star
19

survivor

博客文集《未来世界的幸存者》
CSS
325
star
20

chrome-extension-demo

how to create a Chrome extension
JavaScript
302
star
21

node-oauth-demo

A very simple demo of OAuth2.0 using node.js
JavaScript
301
star
22

mocha-demos

a collection of simple demos of Mocha
JavaScript
254
star
23

tiny-browser-require

A tiny, simple CommonJS require() implemetation in browser-side
JavaScript
237
star
24

react-testing-demo

A tutorial of testing React components
JavaScript
214
star
25

road

博客文集《前方的路》
CSS
150
star
26

sina-news

新浪全球实时新闻
JavaScript
133
star
27

github-actions-demo

a demo of GitHub actions for a simple React App
JavaScript
132
star
28

weather-action

An example of GitHub Actions
Shell
107
star
29

user-tracking-demos

demos of tracking users with JavaScript
JavaScript
90
star
30

travis-ci-demo

A beginner tutorial of Travis CI for Node projects
75
star
31

openrecord-demos

an ORM tutorial for nodejs
73
star
32

website

HTML
63
star
33

markdown-it-image-lazy-loading

a markdown-it plugin supporting Chrome 75's native image lazy-loading
JavaScript
54
star
34

flux-todomvc-demo

A simplified version of Flux's official TodoMVC demo
CSS
49
star
35

Google-Calendar-Lite

A single-page webapp of Google Calendar, based on its API.
CSS
41
star
36

nilka

a command-line utility to resize images in batches
JavaScript
39
star
37

webpack-static-site-demo

a demo of generating a static site with React, React-Router, and Webpack
JavaScript
32
star
38

turpan

a wrapped markdown renderer based on markdown-it
JavaScript
27
star
39

hn

A personalized Hacker News
JavaScript
26
star
40

koa-simple-server

A simple koa server demo of logging HTTP request Headers and body
JavaScript
25
star
41

rpio-led-demo

controlling an LED with Raspberry Pi's GPIO
JavaScript
25
star
42

jekyll_demo

A very simple demo of Jekyll
22
star
43

node-systemd-demo

run a Node app as a daemon with Systemd
JavaScript
20
star
44

lvv2-feed

Lvv2.com's RSS feed
JavaScript
16
star
45

blog-stylesheet

my blog's stylesheet
CSS
14
star
46

loppo-theme-oceandeep

the default theme of Loppo
JavaScript
13
star
47

tarim

a template engine, using Lodash's template syntax and supporting including other templates
JavaScript
13
star
48

loppo-theme-ryf

个人网站的 Loppo 主题
CSS
11
star
49

Formula-Online-Generator

using Google Chart api to generate mathematical formulas in a webpage
10
star
50

turpan-remove-space

remove the space between English word and Chinese characters in markdown files
JavaScript
9
star
51

eslint-plugin-ignoreuglify

exclude uglified files from ESLint's linting
JavaScript
3
star
52

slides

JavaScript
3
star