Giter Club home page Giter Club logo

small-funny-tools's Introduction

small-funny-tools

The repository, small-funny-tools, contains many tiny-size programs that performs various functions (many for just improving daily life with automation). The aspects of different (but small) programs are classified as below (shown as tags):

  • components: compacted methods or components that can work well in some conditions.
  • daily: structured programs that can handle certain aspects of daily routine.
  • others: structured programs that can handle some aspects of certain tasks.
  • school: methods/programs that are done as a part of the school work.

Table of Content

Installation

The installation of different programs are vastly different, and cannot be mentioned as one in the Installation section.

However, many of it contains environment specification documents, such as requirements.txt or package.json. Some programs are also packed into .exe for better execution.

Usage

components

detectInputType

Detect whether the Integer is positive, zero or negative.

java component

htmlConverter

Ammend html elements tags to the target String.

java component

daily

others

telpositivity

Search through a list of telephone numbers for regions in Mainland China(chi) or Hong Kong SAR(hkg), and return a list of phone numbers with the best positivity(in other words, karma) according to the below Chinese philosophy:

P.S. The input file must be in .txt format, and it currently only supports names with CHI, chi, HKG and hkg.

However, I must warn that the project is just for fun, and does not bear any seriousness and/or corresponding responsibilities if used.

python other

school

DiamondsWith3Loops

Print out Diamond shapes with no. of lines to input, but are forced to print any in only 3 loops.

java school

FindPrime

Extract all factors from the smallest to the largest. And as the square of target must be below the detectInput, the upper limit is set to the square of detectInput. Another version of different code forms are included as well.

java school

NestedLoopPattern

Print a couple of shapes by simply manipulating different loops.

java school

FarmerWolfGoatCabbageProblem

Play the classic Farmer, Wolf, Goad and Cabbage problem with AI to auto-solve the problem.

python school

gameofLife

Display a small game of life program by using 0 and 1. The code simulates the game for one generation only, but iterations can be done through calling the nextGeneration function, and the M and N values, which represents the no. of rows and columns, can also be changed to represent different size of grids.

java school

printOutDiamondWithoutLimitations

Print out Diamond shapes according to the user's input. Tiny little program, but brings much joy when I started.

Note: The program is incomplete as I only capture the core part of the program.

java school

License

Credits

FAQ (Frequently Asked Questions)

small-funny-tools's People

Contributors

hokwanhung avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.