Kuadro What's New For release updates follow us on Twitter and on Facebook Version 0.9.5 ! Back In Business After a long Hiatus, development on Kuadro has started back up! Oh Snap! Import from Clipboard Add from Web has been replaced with the ability to take any image saved to your clipboard. Auto Save Now Kuadro can auto save your reference boards, never lose work again Works on Latest Macs Updated Kuadro to work on OSX High Sierra Reset Layout This tray right click menu brings all of your images back to the first monitor Files from Anywhere Bug fixed where images from network drives and drive that were different than the ref file weren't saved Sorting PreservedOrder of the images is now respected when you save Shift Resizing Holding down Shift while resizing your Image will now also zoom it properly Open Last Saved Kuadro will automatically remember the last ref file you had open and open it Large Image Support Kuadro will now be able to handle larger images than before Version 0.8.5 Version 0.8.0
From a DB to JSON with Crystal In this post we will cover how to stream data from a database via HTTP in JSON format. Crystal allows us to build an implementation that does not stress the resources as much, by avoiding unnecessary memory allocations of intermediate object when possible. This can be accomplished thanks to the APIs of these modules: JSON, Http::Server::Response and DB. Our goal is to build two HTTP endpoints: GET / that will list all the tables in the DBGET /:table_name that will respond with the table content as JSON (NDJSON actually) We will use Kemal to avoid dealing with routing manually. The following steps will render a basic skeleton of the app consisting of two empty endpoints and a database access point: specify the database_url,open a connection pool,setup Kemal routing handlers,start Kemal server. For convenience we’ll now focus on SQLite, but we’ll extend the solution to other drivers at the end of the article. Note: You can grab a quick sample database from chinook.
Make Hyperbolic Tilings of Images The loaded image will be cropped to the centered hyperbolic polygon. Repeated hyperbolic reflections of the centered polygon make up the tiling. The option generate large generates a tiling that is larger than the image shown on the screen. The default scale factor for an enlarged tiling is four, this is a length factor. Another scale factor can be chosen below. Larger tilings take longer time to generate, mostly since the edge of the tiling gets finer. If change first tile is clicked, the rendering of the first tile will cycle through "no distortion", "Klein distortion", and "polynomial distortion". The hyperbolic tiling The tiling is made of regular hyperbolic polygons with sides. is the number of polygons meeting at each corner. When a so-called Poincaré disc is used to model hyperbolic geometry, the entire universe is inside a circle . Polynomial distortion Every point inside a Eudclidean polygon lies on a segment parallel to the one of the border segments of the polygon. When then
radunovic.io | Simple Authentication with dry-rb gems Why? Although there's a plethora of authentication libraries out there, like Clearance, Devise, Rodauth, sometimes you don't need a full-blown authentication framework. It doesn't matter if you are building a sample app in order to test some new idea or if your application is too small and it makes no sense to pollute it with ten ton authentication library. All you want is a quick and simple implementation that doesn't demand lengthy configuration. Also, bear in mind that most of the authentication gems are made for Rails and if you are using some other Ruby web framework/toolkit, you're on your own. About dry-rb dry-rb is a collection of next-generation Ruby libraries, each intended to encapsulate a common task. dry-rb gems try to follow the principles of being non-intrusive, flexible and fast. "Common tasks" include validation, inversion of control, reusability, configuration, type-safety, data coercion and lots of other things. Preparation Data source User Fetching data Implementation Code
Create Something. Donate Login Remember Me Create An Account Forgot Password // Provide alternate content for browsers that do not support scripting // or for those that have scripting disabled. Join Now Hot Shiny "Do"by Misterx|43|Favorite? Free Falling (Green)by Leaflady|0|Favorite? asu (68)by Durgunsu|1|Favorite? Tom Hayden 1939-1916by Calypso rose|0|Favorite? Scatter....by Pennycandy|1|Favorite? Midnight Starby Maurie|3|Favorite? Free Fallingby Leaflady|1|Favorite? (204)by Bluegirl|2|Favorite? Strangers in Spaceby Leaflady|1|Favorite? Whoooo? About Myoats Read More Myoats is a community where people create designs using an online drawing application. New view more GRAPE-NUT LACEYby Robinrebornart HOT HEARTS ART-MEby Robinrebornart Morn. comes Early :(by Vonzeppelin PERI-WINK-LE BLUE'Sby Robinrebornart GrooveIsInTheHeart (2)by Bluegirl Electric linesby Tsm faker BLACK DIAMOND HIGHby Robinrebornart Doodlesby Rampuero (186)by Bluegirl Frost (2)by Rampuero view more How To Create Watch Tutorials Follow Us ?
Build your first Node.js microservice - Max Stoibers Blog A microservice is a single self-contained unit which, together with many others, makes up a large application. By splitting your app into small units every part of it is independently deployable and scalable, can be written by different teams and in different programming languages and can be tested individually. micro is a tiny (~100 LoC) module that makes writing a microservice in Node.js a joy. It’s easy to use and super fast. No matter if you’ve used Node.js before or not, after this post you’ll be able to write your own microservices! The Setup There are two tiny steps needed for the setup, first we need to install micro: I’m installing it globally to make sure we get access to the micro command. And second we need to create a file that will contain our microservice. The First Steps Our index.js file needs to export a single function, which micro will pass the incoming request and a response object to: module.exports = function (request, response) { // Your microservice here}
Remove Image Backgrounds Free & Fast - Background Burner - Bonanza Feathers | Instant Realtime and REST APIs with Node.js Jing - A free tool to capture Images & Video This is a guest post from Jennifer Carey (@TeacherJenCarey) of EdTechTeacher - an advertiser on this site. I have long been a fan of Jing, TechSmith’s free screen capture software. It’s a fast and easy way to grab a quick screenshot or record a video on the fly. Recently, TechSmith upgraded Jing to include a FREE membership to Screencast.com; you now get 2GB of free storage and 2GB of bandwidth per month. Screencast.com allows you to safely upload and store video as well as images, to control who views your content, to download media in a variety of formats, and to share content in a myriad of ways. After downloading and installing Jing (available for Mac and PC), create your free Screencast.com account. With the “capture” icon (the cross-hairs), you can choose which portion of your screen you want to highlight in your screen capture or screen shot; perhaps you want to record what you are doing in your browser window only or maybe you want the entire screen showing.
Testing Common Redux Patterns in React Using AVA - Semaphore Find out how to define and test common Redux patterns, learn about basic Redux concepts, and write tests for them. Introduction This is the second tutorial in our series on testing React and Redux applications. Redux is a library for managing state in React applications. Prerequisites For this tutorial, you will need to: have basic knowledge of Redux, andhave Redux installed: Actions Redux doesn't enforce strict conventions, so it doesn't matter what our action looks like as long as it has a type and, optionally, a payload. When dispatched, this action will cause a todo item of a given id to switch its state, for instance from completed to not completed. Let's test this action in src/actions.test.js: We can now run npm test to ensure that the test passes. Reducers Reducers react to dispatched actions by modifying the store. We are exporting individual reducers for testing, and the root reducer for the application. Let's test this reducer: Selectors A selector looks as follows: Let's test getTodos: