Follow @nxtchg

Author Topic: New repository: pieces  (Read 627 times)

NxtChg

  • Overlord
  • *****
  • Posts: 1113
  • Respect: +60
    • View Profile
New repository: pieces
« on: June 05, 2017, 07:56:09 am »
+1
Started a new repository: https://github.com/NxtChg/pieces for small, stand-alone, reusable pieces of code.

And the first piece is a very simple CSS parser/compiler in JS: https://github.com/NxtChg/pieces/tree/master/js/css_parser


Tentacle Overlord, The Deranged Genius of The Abyss

NxtChg

  • Overlord
  • *****
  • Posts: 1113
  • Respect: +60
    • View Profile
vue-css
« Reply #1 on: June 07, 2017, 12:45:09 pm »
0
vue-css: A Vue plugin that allows you to bundle CSS with your Vue components:

https://github.com/NxtChg/pieces/tree/master/js/vue/vue-css
Tentacle Overlord, The Deranged Genius of The Abyss

NxtChg

  • Overlord
  • *****
  • Posts: 1113
  • Respect: +60
    • View Profile
fetchit
« Reply #2 on: June 07, 2017, 12:53:23 pm »
0
fetchit - A simple version of fetch() based on XMLHttpRequest:

https://github.com/NxtChg/pieces/tree/master/js/fetchit
Tentacle Overlord, The Deranged Genius of The Abyss

NxtChg

  • Overlord
  • *****
  • Posts: 1113
  • Respect: +60
    • View Profile
vue-submit
« Reply #3 on: June 08, 2017, 05:14:37 pm »
0
vue-submit - Simple implementation of Ladda in less than 90 lines of code with no dependencies.

Tentacle Overlord, The Deranged Genius of The Abyss

NxtChg

  • Overlord
  • *****
  • Posts: 1113
  • Respect: +60
    • View Profile
vs-crumbs
« Reply #4 on: June 09, 2017, 05:49:39 pm »
0
vs-crumbs: Very simple Vue breadcrumbs in 40 lines of code:

https://github.com/NxtChg/pieces/tree/master/js/vue/vs-crumbs
Tentacle Overlord, The Deranged Genius of The Abyss

NxtChg

  • Overlord
  • *****
  • Posts: 1113
  • Respect: +60
    • View Profile
vs-notify
« Reply #5 on: July 04, 2017, 04:33:38 pm »
0
vs-notify: Tiny but powerful notification component for Vue:

https://github.com/NxtChg/pieces/tree/master/js/vue/vs-notify
Tentacle Overlord, The Deranged Genius of The Abyss

NxtChg

  • Overlord
  • *****
  • Posts: 1113
  • Respect: +60
    • View Profile
SHA-256
« Reply #6 on: July 24, 2017, 11:17:58 am »
+1
SHA-256 - supports string, array and Uint8Array. Just 80 lines of code (2 Kb):

https://github.com/NxtChg/pieces/blob/master/js/crypto/sha256.js
Tentacle Overlord, The Deranged Genius of The Abyss

NxtChg

  • Overlord
  • *****
  • Posts: 1113
  • Respect: +60
    • View Profile
Re: New repository: pieces
« Reply #7 on: July 26, 2017, 11:26:44 am »
0
SHA-256 updated: almost 3 times faster now (and 128 bytes smaller too). Can also return binary hash.
Tentacle Overlord, The Deranged Genius of The Abyss

NxtChg

  • Overlord
  • *****
  • Posts: 1113
  • Respect: +60
    • View Profile
Blake2s
« Reply #8 on: July 28, 2017, 09:12:18 am »
0
Blake2s - supports string, array and Uint8Array. Includes HMAC. 120 lines of code (2 Kb).

https://github.com/NxtChg/pieces/blob/master/js/crypto/blake2s.js
Tentacle Overlord, The Deranged Genius of The Abyss

NxtChg

  • Overlord
  • *****
  • Posts: 1113
  • Respect: +60
    • View Profile
Re: New repository: pieces
« Reply #9 on: September 23, 2017, 09:42:45 pm »
0
PHP btc_validate() and Bitcoin RPC interface added.
Tentacle Overlord, The Deranged Genius of The Abyss

NxtChg

  • Overlord
  • *****
  • Posts: 1113
  • Respect: +60
    • View Profile
Re: New repository: pieces
« Reply #10 on: October 10, 2017, 08:15:22 pm »
0
Salsa20 cypher and SHA512 added (both C++ and JavaScript versions).
Tentacle Overlord, The Deranged Genius of The Abyss