In order to open a MySQL shell without the need to enter user and password, you can say the following in any Rails 2 project: script/dbconsole -p

In order to prevent the browser from asking whether to remember the password, give a form an autocomplete attribute with the value off: ... Rails example form_for @model, :html => { :autocomplete...

developer.mozilla.org

...pages. One of those preferences, security.mixed_content.block_active_content is now enabled by default in order to enhance user security. That means insecure scripts, stylesheets, plug-in contents, inline frames, Web...

dev.mysql.com

Usually our mysql queries are not case sensitive. In order to query case sensitive, you can use the mysql COLLATE clause. The collate clause lets you specify a collation, which...

Embedded Flash movies do not always obey element order and z-index. To fix this, set the wmode attribute to transparent in both and tags...

...database_name", pg_database_size(pg_database.datname)/1024/1024 AS size_in_mb FROM pg_database ORDER by size_in_mb DESC; Want to see database sizes in MySQL...

In order to rename your Ubuntu box, replace all occurences of the the old name in the following two files: /etc/hostname /etc/hosts After a reboot your hostname is changed. If...

makandra dev

Spreewald 1.1.0 drops the be_true and be_false matchers in order to be RSpec 3 and Ruby 2 compatible. For backward compatibility, these matchers are replaced with == true and...

makandra dev
ohshitgit.com

...you already know the name of the thing you need to know about in order to fix your problem. So here are some bad situations I've gotten myself into...

makandra dev

...for no apparent reason, chances are one of your views contains a BOM (Byte Order Mark). To remove it, open the file with VIM, and type :set nobomb

bonsaiden.github.com

...aim to teach you JavaScript. Former knowledge of the language is strongly recommended in order to understand the topics covered in this guide

In order to bring up a textual description of a Capistrano task you can say cap -e taskname ... where taskname is the name of the task you're not sure...

...of Matthew O'Riordan, who has spent more time than you ever will in order to produce a fix. You should probably use this solution. Note that I haven't...

SELECT table_name, table_rows FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'your_database' order by table_rows...

getsprockets.org

...It takes any number of source files and preprocesses them line-by-line in order to build a single concatenation. Specially formatted lines act as directives to the Sprockets preprocessor...

ctan.larsko.net

You can use this package that takes care: \usepackage[final]{pdfpages} In order to insert a PDF, use: \includepdf{$filename} See the external link for more options...

In order to open a Nautilus window in your terminal's working directory, you can say:

shopify.com

Most web applications contain several examples of state machines, including accounts and subscriptions, invoices, orders, blog posts, and many more. The problem is that you might not necessarily think of...

superuser.com

...does not always reveal the plain HTML source, but some encoded byte mess. In order to inspect the HTML anyways, you can use a little trick: While composing a message...

tools.ietf.org

In order to use different encodings than ASCII for HTTP headers use the following syntax: Header-Key: Header-Value; Parameter-Name*=utf-8''parameter_value_in_utf8_and_encoded_chars...

github.com

The Ruby Koans walk you along the path to enlightenment in order to learn Ruby. The goal is to learn the Ruby language, syntax, structure, and some common functions and...

ui-patterns.com

In order to lower friction and the hurdles to pass, users need to be provided with a reason to trust you with the information they supply. The time and effort...

beginrescueend.com

...It also allows you to pack different gemsets for each of your applications. In order to create on of those just type ... rvm use 1.8.7-p323@makandra_project_xy --create...

makandra dev
zeldman.com

...airline’s cancelled flight? They can do it because lateness is part of the order of things, and grownup professionals plan for it, just as they plan for budget shortfalls...