2.0.1 • Published 2 years ago

bits-utils v2.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Bit handling utilities for data compression

var bitsUtils = require("bits-utils");
let buffer = new Uint8Array(1);
bitsUtils.setBit(buffer, 0, 0, 1)
bitsUtils.setBit(buffer, 0, 1, 0)
bitsUtils.setBit(buffer, 0, 2, 1)

console.log(
    bitsUtils.readBit(buffer, 0, 0),  bitsUtils.readBit(buffer, 0, 1),  bitsUtils.readBit(buffer, 0, 2)
);
console.log(countDistinctSymbols('AAAA B C D D D D').map((el,index) => {return {symbol: String.fromCharCode(index), count: el}}));

Which process listenes to port 4200

netstat -ano | findStr "4200"

Kill a specific PID

Taskkill /PID 25740 /F

git config --global --add url."git@github.com:".insteadOf "https://github.com/"

2.0.1

2 years ago

2.0.0

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago