Coder Social home page Coder Social logo

wox.plugin.gen's Introduction

Wox.Plugin.Gen —— 为 Wox 提供生成 GUID(UUID)、随机数、Unix 时间戳、Base64 加解密的能力

Usage

sample

Default trigger keyword gen

Commands

Auto complete

Enter the first few characters of the command, matching commands will be shown automatically, use Tab to switch between options and Enter to choose. This will become handy when the coomand is long.

guid

guid [u]

Generate a GUID, by default the result will be in lower case with 4 styles.

  • 00000000000000000000000000000000
  • 00000000-0000-0000-0000-000000000000
  • {00000000-0000-0000-0000-000000000000}
  • {0x00000000,0x0000,0x0000,{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00}}

Optional parameter

  • u for generate GUID in all caps

uuid

uuid [u]

Refer to guid

rand

rand [[max]|[min max]]

Generates a random integer, by default between 0 (inclusive) and 100 (exclusive)

Optional parameter

  • max Specifed maximum value, the upper bound of the range, exclusive.
  • min max Specified min and max value, the number generated will be in range [min, max).

roll

roll [[max]|[min max]]

Refer to rand

unixtime

unixtime [unix_timestamp]

Conver the current time to Unix timestamp or covert the unix timestamp to date and time.

Optional parameter

  • unix_timestamp The Unix timestamp to be converted to date and time

timestamp

timestamp [unix_timestamp]

Refer to unixtime

encodebase64

encodebase64 text

Encode the content entered to Base64.

Required parameter

  • text Plain text to encode

decodebase64

decodebase64 base64

Decode the content enter from Base64

Required parameter

  • base64 Base64 content to decode

Credits

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.