social.technet.microsoft.com

Let's say you have an Explorer window showing a directory and want a cmd terminal to be opened there...

This will install a printer called "PDF": sudo apt-get install cups-pdf Files will be put into ~/PDF/ without...

Rails also autoloads classes on demand during development. This means every request begins with none of your models, controllers, loaded. Whenever Ruby encounters a constant name it doesn...

github.com

Microsoft provides virtual machine disk images to facilitate website testing in multiple versions of IE, regardless of the host operating...

sheddingbikes.com

Programming is a deceptively damaging field to be in, partly because it doesn't seem like you're doing much...

developer.mozilla.org

Touch devices have their own set of events like touchstart or touchmove. Because mobile browsers should also work with with...

makandra dev
github.com

...styling advice that's mainly taken from SMACSS. Although at makandra we're using BEM instead of SMACSS, here's my favorites. Do not use ID's in CSS Selectors...

...a page so do not use ID's for CSS. Id's are much better used as javascript hooks so use them for this instead. .list {…} instead of #list {…}

google.com

Currently, only up to 500 rows of Analytics table data can be exported at a time into CSV format. If...

forums.linuxmint.com

On my Ubuntu MATE machine, switching applications with ALT + TAB was impossible, because it took nearly 2 seconds. The culprit...

stackoverflow.com

A collection of code snippets which return a boolean value for a regex comparison. regexp.match?(string) # Recommended for Ruby >= 2.4...

makandra dev
github.com

DTAUS & DTAZV are formats for German bank transfers and is short for "Datenträgeraustausch". The format itself totally sucks because it...

pivotaltracker.com

When writing a story description in Pivotal Tracker, there is now a tiny button at the bottom of the description...

ctan.larsko.net

If you plan to insert an existing PDF into a new LaTeX document that you will compile to PDF, you...

tenderlovemaking.com

The linked article has a great explanation how to to deal with string encodings in Ruby. Furthermore you can check...

ruby-doc.org

If you use Tempfile and pass your own filename containing an extension, it will just be consumed by the Tempfile...

joemaller.com

Google’s Font Directory and API for web fonts could have a transformative effect on how we read the web...

dnicolet1.tripod.com

...Open Source software. It's about assessing your real needs and understanding the cost-benefit balance before making significant financial decisions. Don't try to dust your crops with a...

makandra dev
pidgin.im

If your pidgin IM fails to connect to ICQ, you may need to update it. The ubuntu default sources are...

yehudakatz.com

When running an executable, ALWAYS use bundle exec. In some cases, running executables without bundle exec may work, if the...

tigsource.com

A week after Tommy Refenes (Super Meat Boy) declared the Apple App Store to be the Tiger Electronics handheld of...

blog.plenz.com

If you recorded a bad fix for a conflict, you can tell git to forget that bad resolution:

phantomjs.org

PhantomJS is a minimalistic headless WebKit. It has fast and native support for various web standards: DOM handling, CSS selector...

...is something like # WRONG class Page < ActiveRecord::Base %w[main sub].each do |type| belongs_to "#{type}_title" end end # RIGHT class Page < ActiveRecord::Base %w[main sub].each do...

belongs_to :"#{type}_title" end end Always convert to a symbol, otherwise you'll have all kinds of fun. Newer rails / activerecord (at least 5.2) will throw an association...

makandra dev
github.com

Our awesome collection of rspec helpers (formerly known as "spec_candy.rb") is now available as a gem. It works, it is...