Bit operation utils
hast utility to get the plain-text value of a node according to the `innerText` algorithm
Translation between JavaScript values and Buffers
Translation between JavaScript values and Buffers
The `util.is*` functions introduced in Node v0.12.
Utilities to help with endpoint resolution
Node.js's util module for all engines
[](https://www.npmjs.com/package/@aws-sdk/util-locate-window) [](https://www.npmjs.com/packag
unist utility to visit nodes
unist utility to check if a node passes a test
A parser to Amazon Resource Names
unist utility to recursively walk over nodes, with ancestral information
unist utility to serialize a node, position, or point as a human readable location
mdast utility to get the plain text content of a node
Utility functions
mdast utility to serialize markdown
unist utility to get the position of a node
[](https://www.npmjs.com/package/@aws-sdk/util-user-agent-node) [](https://www.npmjs.com/
mdast utility to transform to hast
hast utility to check if a node is inter-element whitespace
mdast utility to check if a node is phrasing content
mdast extension to parse and serialize GFM task list items
Various helper utilities
[](https://www.npmjs.com/package/@aws-sdk/util-format-url) [](https://www.npmjs.com/package/@aws-sd
Bit utilities (and eventually Nibble support) for Rust
Bits viewer
Utility methods for manipulating bits within Integer.
This gem provides basic utility classes for reading and writing specific bits as flags or fields on Integer values. It lets you turn a single integer value into a collection of boolean values (flags) or smaller numbers (fields). Includes integration adapters for ActiveRecord and Mongoid with a simple interface to make your own custom adapter for any other ORM (ActiveModel, ActiveResource, etc).
Neural Net Backgammon utility library - just a bit of messing about - nothing serious.
Ruby Gem to store many boolean flags in an integer column by utilizing bits, CompactFlags comes to serve models with several boolean flags. in large data volumes where the flags can be used to slice the data in several ways. queries tend to be heavier and more indexes are needed by time.
Tainbox is a utility gem that can be used to inject attributes into ruby objects. It is similar to Virtus, but works a bit more sensibly (hopefully) and throws in some additional features
a small utility for measuring memory consumed by little bits of your code
Utilities and glue to make working with ZeroTier networks a bit more friendly
A utility script for encrypting and decrypting files using a randomly generated 256-bit AES key and initialization vector secured using the PBKDF2 password/passphrase key derivation algorithm to secure the file key and IV.
WSK is a command-line utility that processes WAV audio PCM files to apply audio filters, analysis tools or signals generation plugins: Test audio hardware bit-perfect fidelity, by providing many ways to compare and analyze WAV files ; Process audio files for mastering engineers (noise gates, mixers...).
Generate a 4 word password from words of size 3-8 characters, with frequencies in the 30th-60th percentile. This range gives a nice set of uncommon but not completely alien words. $ chbs generate --verbose -W 3..8 -P 30..60 Corpus size: 6396 candidate words of 33075 total Entropy: 48 bits (2^48 = 281474976710656) Years to guess at 1000 guesses/sec: 8926 magnate-thermal-sandbank-augur With the --verbose flag, the utility will calculate a time-to-guess based on a completely arbitrary 1000 guesses/sec. If you'd like a more secure password, either relax the various filtering rules (-W and -P), add more words to the password, or use a larger corpus. By default we use the American TV Shows & Scripts corpus taken from Wiktionary. Others provided: * Project Gutenberg 2005 corpus taken from Wiktionary. * 1 of every 7 of the top 60000 lemmas from wordfrequency.info (6900 actual lemmas after processing) See http://xkcd.com/936/ for the genesis of the idea. Data sources: http://en.wiktionary.org/wiki/Wiktionary:Frequency_lists http://wordfrequency.info/
Sym is a ruby library (gem) that offers both the command line interface (CLI) and a set of rich Ruby APIs, which make it rather trivial to add encryption and decryption of sensitive data to your development or deployment workflow. For additional security the private key itself can be encrypted with a user-generated password. For decryption using the key the password can be input into STDIN, or be defined by an ENV variable, or an OS-X Keychain Entry. Unlike many other existing encryption tools, Sym focuses on getting out of your way by offering a streamlined interface with password caching (if MemCached is installed and running locally) in hopes to make encryption of application secrets nearly completely transparent to the developers. Sym uses symmetric 256-bit key encryption with the AES-256-CBC cipher, same cipher as used by the US Government. For password-protecting the key Sym uses AES-128-CBC cipher. The resulting data is zlib-compressed and base64-encoded. The keys are also base64 encoded for easy copying/pasting/etc. Sym accomplishes encryption transparency by combining several convenient features: 1. Sym can read the private key from multiple source types, such as pathname, an environment variable name, a keychain entry, or CLI argument. You simply pass either of these to the -k flag — one flag that works for all source types. 2. By utilizing OS-X Keychain on a Mac, Sym offers truly secure way of storing the key on a local machine, much more secure then storing it on a file system, 3. By using a local password cache (activated with -c) via an in-memory provider such as memcached, sym invocations take advantage of password cache, and only ask for a password once per a configurable time period, 4. By using SYM_ARGS environment variable, where common flags can be saved. This is activated with sym -A, 5. By reading the key from the default key source file ~/.sym.key which requires no flags at all, 6. By utilizing the --negate option to quickly encrypt a regular file, or decrypt an encrypted file with extension .enc 7. By implementing the -t (edit) mode, that opens an encrypted file in your $EDITOR, and replaces the encrypted version upon save & exit, optionally creating a backup. 8. By offering the Sym::MagicFile ruby API to easily read encrypted files into memory. Please refer the module documentation available here: https://www.rubydoc.info/gems/sym
# DECC 2050 CALCULATOR TOOL A C version and ruby wrapper for the www.decc.gov.uk 2050 energy and climate change excel calculator Further detail on the project: http://www.decc.gov.uk/2050 Canonical source: http://github.com/decc/decc_2050_model ## DEPENDENCIES 1. ruby 1.9.2 (including development headers) 2. basic c development headers This has ONLY been tested on OSX and on Ubuntu 64 bit EC2 ami. Grateful for reports from other platforms. In the util folder there is an example script that creates a new EC2 EMI, installs all the dependencies and then compiles the gem. It may be useful if you are trying to figure out the complete set of dependencies. ## INSTALLATION Note that this compiles the underlying c code, which might take 10-20 minutes or so gem install decc_2050_model ## UPDATING TO NEWER VERSIONS OF EXCEL MODEL First of all, you need to be working on the github version of the code, not the rubygem: git clone http://github.com/decc/decc_2050_model Then put the new spreadsheet in spreadsheet/model.xlsx Then, from the top directory of the gem: bundle bundle exec rake The next step is to check whether Rakefile, lib/model/_model_result.rb and lib/model/model_structure.rb need to be altered so that they pick up the correct places in the underlying excel. The final stage is to build and install the new gem: gem build model.gemspec gem install decc_2050_model-<version>.gem ... where <version> is the version number of the gem file that was created in the folder. Now follow the instructions in the twenty-fifty server directory in order to ensure that it is using this new version of the gem.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.