ichpuchtli
NuGet publisher profile
Packages (12)
selectize
Selectize is the hybrid of a textbox and <select> box. It's jQuery based and it has autocomplete and native-feeling keyboard navigation; useful for tagging, contact lists, etc.
localForage
localForage is a handy library that improves the offline experience of your web app by using asynchronous storage (via IndexedDB or WebSQL where available) but with a simple, localStorage-like API.
HubSpot.Tether
Tether is a JavaScript library for efficiently making an absolutely positioned element stay next to another element on the page. It aims to be the canonical implementation of this type of positioning, such that you can build products, not positioning libraries. Take a look at the documentation for a more detailed explanation of why you should star it now to remember it for your next project.
Pikaday
A refreshing JavaScript Datepicker — lightweight, no dependencies, modular CSS
Plotly
A high-level, declarative charting library. plotly.js ships with 20 chart types, including 3D charts, statistical graphs, and SVG maps.
HubSpot.Shepherd
Shepherd is a javascript library for guiding users through your app. It uses Tether, another open source library, to position all of its steps. Tether makes sure your steps never end up off screen or cropped by an overflow. Try resizing your browser to see what we mean.
Vash
Razor syntax for JS templating. Vash is a template engine that offers a swift flow between code and content using Razor Syntax.
stacktable.js
The Responsive Tables jQuery plugin for stacking tables on small screens. The purpose of stacktable.js is to give you an easy way of converting wide tables to a format that will work better on small screens. It creates a copy of the table that is converted into a 2-column key/value format.
HubSpot.Offline
Improve the experience of your app when your users lose connection. Monitors ajax requests looking for failure Confirms the connection status by requesting an image or fake resource Automatically grabs ajax requests made while the connection is down and remakes them after the connection is restored. Simple UI with beautiful themes 3kb minified and compressed
MetricsGraphics
MetricsGraphics.js is a library optimized for visualizing and laying out time-series data. At under 80KB (minified), it provides a simple way to produce common types of graphics in a principled and consistent way. The library currently supports line charts, scatterplots, histograms, bar charts and data tables, as well as features like rug plots and basic linear regression.
ColorFinder
It just gets to all the pixels in the image and store their color value as a key in a hash map. The value is then the number of pixels of the same color encountered. However, this gives poor results so here are the improvements I wrote: I treat at most 5000 pixels so if the image is bigger I start undersampling. This is an order of magnitude, not a certain rule. To avoid noise due to flat areas (text, borders, ...) I start by right shifting all the RGB values by 6. So all the values are now between 0 and 3, allowing to encompass large areas of almost-the-same color. Then I perform another pass of the same algorithm (with a shift of 4) on all the pixels falling in the previous winning color group. And so on until I reach zero. When trying to find the group that has the most pixels, I use a callback to weight the score. This allows customization and tell the algorithm you wand a rather dark color, you wan to exclude black, you want only highly saturated color excluding the greys or anything else you might think of.
uibuilder
UIBuilder is a HTML templating library in the style of Mustache and Handlebars, for Web application development using TypeScript. Unlike Mustache or Handlebars, UIBuilder is strongly typed, which means that many programming mistakes can be caught at compile time.