Giter Site home page Giter Site logo

linuxspells's Introduction

LinuxSpells

npm license npm Build Status

Debian

Potter-ify your Linux experience!

Some basic Linux commands changed into Harry potter Spells!

How to use

$ sudo npm install linuxspells -g

This will install LinuxSpells globally on your pc.

Spells.js

$ spells

spellsJS

To get info about any spell, type, for eg- lumos:

$ spells lumos

lumosExample

Spells Explained

The spells used in here are:

Lumos

Lumos is the incantation to a charm that can be used to produce a flash of bright white light from the tip of the wand. This light can be thrown far off of the wand, illuminating the surrounding area for several minutes after its initial casting before darkening once more.

Lumos shows the path in wizard world and so does the 'ls' command in linux world. 'ls' does directory listing.

So typing 'lumos' into terminal will display the files and folders in the current working directory.

Usage : $ lumos

Cheers!

Geminio

The Geminio Curse or Doubling Charm(Geminio) is a spell used to duplicate an object. It can also be used to bewitch an object into multiplying repeatedly when touched, though how one would produce the latter effect is still unknown.

It duplicates objects i.e. creates copies of its own and so does the 'cp' command in linux terminal. It copies files/directories in linux terminal.

Usage : $ geminio /path/to/source /path/to/destination

Cheers!

Obliviate

Originating from "Harry Potter and the Chamber of Secrets", Obliviate is a term meaning 'forget'. Obliviate is a memory charm, resulting in the erasure of the recipient's memory. One's memory vanishes as soon as this charm is casted.

It makes one forgetful of things or memories and so does the 'clear' command in linux terminal. It clears the output screen or 'obliviates' it :P

Usage : $ obliviate

Cheers!

usage

Legilimens

Legilemency or legilimens is the act of magically navigating through many layers of a person's mind and correctly interpreting one's findings. Muggles often call this as 'mind-reading'.

It reads what is beneath the flesh of the person in wizard world, and somewhat 'cat' does the same in linux world. It reads the contents hidden beneath the flesh of a file :P

Usage : $ legilimens filename

Cheers!

Mobiliarbus

Mobiliarbus is the incantation to a charm used to levitate and move plants and trees, as well as the materials made of wood. The Latin term mobilis, meaning "movable" , and arbor means "tree".

It moves objects from one place to another, and so does the 'mv' command in linux world. It moves files and directories from one place to another.

Usage : $ mobiliarbus /path/to/source /path/to/destination

Cheers!

Avada-Kedavra

The Killing Curse (Avada Kedavra) is a tool of the Dark Arts and one of the three Unforgivable Curses. It is one of the most powerful and sinister spells known to wizardkind. When cast successfully on a living person or creature the curse causes instantaneous and painless death, without any signs of violence on body.

It 'deletes' the person or creature from the living world, poof! And so does the 'rm' command in linux world. 'rm' causes painless death of files and folders :P

Usage : $ avada-kedavra filename

Cheers!

usage

Accio

The Summoning Charm (Accio) was a charm that caused a target at a distance from the caster to levitate or fly over to them. This spell needs thought behind it, the object must be clear in the caster's mind before trying to summon.

This spell is one of the oldest spells known to wizarding society.

Accio 'gets' the object and so does 'wget' in the linux world.

Usage : $ accio LINK

Cheers!

accio

Nox

Nox is a The Wand-Extinguishing Charm.

It is a spell which causes the light at the end of the caster's wand to be extinguished.

Typing "nox" in your terminal will make the computer shutdown.

Usage : $ nox

Cheers

Reducio

Seen originally in "Harry Potter and the Goblet of Fire", Reducio basically means 'to reduce/shrink'. Reducio is a shrinking charm, resulting in the reduction of target's shape as soon as it is cast.

It makes things smaller, as does the 'tar' command in linux, since it compresses or shrinks files :P

Usage: $ reducio /path/to/source1 /path/to/source2 ... /path/to/source-N /path/to/destination

Cheers!

reducio

How to get help for commands

$ spells <spell-name>

How to Get Help

License

This Package is licensed under MIT License.

Author

gabru-md

Type : $ spells SPELL_NAME to get information regarding any spell. Cheers!

linuxspells's People

Contributors

aghastcomet avatar ags1773 avatar ananthavijay avatar dishajainn avatar gabru-md avatar geymed avatar luvhalvorson avatar mittalchirag avatar paladitya avatar ramantehlan avatar rdil avatar spiraldancer avatar xeon-zolt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

linuxspells's Issues

dependency for packaging this node module

Dependencies:
NPM Debian
linuxspells (0.8.4) None
├─ chalk (^2.0.1) node-chalk (2.3.0-2)
├─ figlet (^1.2.0) None
├─ fs-extra (^4.0.0) node-fs-extra (7.0.0-2)
├─ inquirer (^3.2.0) node-inquirer (3.3.0-2)
└─ terminal-utilities (^2.3.0) None
└─ readline-sync (^1.4.7) None
these are dependency and none are need to be packaged , so i would like if someone can help me out here .

change the working of a spell

just a suggestion to change the working of spell avada-kedavra from rm to pkill
or if there is another killing spell ( not a harry potter fan so I don't know much ) I would like to create a pull to add it (this will help me learn js)

change .travis.yml

Currently .travis.yml for jshint tests.
currently it just acts as a file.

updating readme

this is a hacktober issue, anyone can modify the readme, send a PR and it will be merged.
the simplest of the change to the readme could be adding new examples, photos or even fix some typos.

any fix will be encouraged 😄

cheers!

Transmogrification Torture

Transmogrification Torture

what about a fork bomb for this command :lulz: 🤣

Below content copy paste from random website

Description: Tortures victim to death.

Gilderoy Lockhart mentions Transmogrification Torture in Chamber of Secrets; beyond that, little is known of the spell. It essentially combines two Unforgivable Curses, Crucio and Avada Kedavra, into one horrific package.

Lockhart is revealed to be a sham, but he tends to steal stories, not invent them, implying Transmogrification Torture is a very real and cruel curse.

Request for contributing invitation.

Hey, Myself Andri Wahyudi (1st Hackerone Inc Leaderboard)

  • Python Programming Enthusiast
  • Penentration Testing / Vulnerability Analysis
  • Focus on Contributing more throughout the year

Update README.md

There are some changes to the readme file that could be made:

  • Replacing this image with an up to date image containing accio
  • Format the lists properly

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.