Giter VIP home page Giter VIP logo

keypirinha-binary-flags's Introduction

Keypirinha Binary Flags

This is a package for the fast keystroke launcher keypirinha (http://keypirinha.com/). It can disassemble a number into its binary flags.

For example it can disassembles 5 into the unix filesystem flags READ and EXECUTE. It also knows that WRITE is not in there.

I find it useful when you see a flag value while developing. It helps you finding out the individual flags which the value represents.

Usage

  • Configure your kinds of flags via Keypirinha: Configure Package: Flags like this

    [flags/Unix Filesystem]
    1 = Execute (X)
    2 = Write (W)
    4 = Read (R)
    
    [flags/Windows Process Access Rights]
    0x0001 = PROCESS_TERMINATE
    0x0002 = PROCESS_CREATE_THREAD
    0x0008 = PROCESS_VM_OPERATION
    0x0010 = PROCESS_VM_READ
    0x0020 = PROCESS_VM_WRITE
    0x0040 = PROCESS_DUP_HANDLE
    0x0080 = PROCESS_CREATE_PROCESS
    0x0100 = PROCESS_SET_QUOTA
    0x0200 = PROCESS_SET_INFORMATION
    0x0400 = PROCESS_QUERY_INFORMATION
    0x0800 = PROCESS_SUSPEND_RESUME
    0x1000 = PROCESS_QUERY_LIMITED_INFORMATION
    0x00100000 = SYNCHRONIZE
    
    [flags/My Awesome Binary Flag]
    0b0001 = One
    0b0010 = Two
    0b0100 = Four
    0b1000 = Eight

Choose the Binary Flags item, pick the kind of flag you want and enter a number (initally the value for every defined flag set to true is displayed [for example for unix filesystem flags this means 7])

Usage

Usage2

??? as flag name is shown if the bit is not defined

Installation

Install Package "Keypirinha-Binary-Flags"

Manually

  • Download the BinaryFlags.keypirinha-package from the releases
  • Copy the file into %APPDATA%\Keypirinha\InstalledPackages (installed mode) or <Keypirinha_Home>\portable\Profile\InstalledPackages (portable mode)

keypirinha-binary-flags's People

Contributors

ueffel avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.