docs.angularjs.org

If you are using Coffeescript, it is likely to be the culprit. Since Coffeescript always returns the value of...

makandra dev
linux.die.net

When connecting to multiple (i.e. > 4) servers to dive into logfiles or do security updates, terminator is what you want...

Passenger gives you the possibility to define in which environment your app should be started. This has to be added...

makandra dev

...filters to what is visible through an element. touch-action (IE11+): Limiting default touch behavior (like scrolling) background-blend-mode (Edge 79+): Mixing background color and image Scroll snapping (Edge...

...continue a scroll movement until it reaches the edge of a child element. overscroll-behavior (no Safari): Prevent scroll chaining

makandra dev
github.com

When you need to use diff in either some Ruby code or your Rails app, use the differ gem.

makandra dev

If you're trying to searching or installing packages via pkg the your repository data might be broken. If pkg...

makandra dev
pdfposter.origo.ethz.ch

Pdfposter is a Python script that allows to convert large PDFs into a PDF with multiple pages that can be...

S3cmd is a free command line tool and client for uploading, retrieving and managing data in Amazon S3. S3cmd reads...

makandra dev

Ever wondered how you can create a simple table output in bash? You can use the tool column for creating...

postgresql.org

...them as arrays when you are working with arrays. E.g. bad: WHERE topics @> 'value', better: WHERE topics @> '{value}' Check the PostgreSQL documentation on Array Functions and Operators for more information...

Generate a password htpasswd -Bn firstname.lastname This will ask you for a password and use bcrypt (-B, more secure) and...

Rails supports alert and notice as default flash types. This allows you to use these keys as options in e.g...

stackoverflow.blog

A rough guide how to implement a REST API. The discussion here includes some interesting points as well: Timestamps: ISO8601...

This error can be caused by the mysql2 gem under mysterious circumstances. You need to remove it with gem uninstall...

If a model inherits from others or uses many concerns / traits, it might be hard to see in the code...

makandra dev
stackoverflow.com

If your git index for some reason becomes invalid, no need to worry. Your index is corrupt when you see this error running usual git commands like git pull, git...

There are several gems that make it easy to read and process xlsx files. Parsing the entire file at once...

cirw.in

If you ever wondered why a constant wasn't defined or wasn't available where you expected it to be...

darwinweb.net

Hopefully you are using Psych for everything, but if you have legacy Syck YAML files lying around you could be...

news.ycombinator.com

...and compare it to the decrypted hash to see if there is a match. Benefits of this are If an attacker steals your database, they can't decrypt any of...

...easier to see if you have anomalous calls to KMS. There is a huge benefit here in that it is impossible to do bulk decryption without a giant audit trail...

When you render a nested form for a Movie which has_many :actors, you want to render the right number...

makandra dev
bootswatch.com

Free Bootstrap theme resembling Material Design. Bootswatch offers Sass and Less files, so the theme can easily be integrated into...

Over the years we have tried several solution to have vector icons in our applications. There are many ways to...

blogmaverick.com

...BlackSwan competitor will appear and they will kick your ass. Their product will be better or more interesting or just better marketed than yours, and it also will be free...