PostgreSQL SELECT schemaname,relname,n_live_tup FROM pg_stat_user_tables ORDER BY n_live_tup DESC LIMIT 12; schemaname | relname | n_live_tup ------------+------------------------------------------------+------------ public | images...

MySQL SELECT table_name, table_rows FROM information_schema.tables WHERE table_schema = (SELECT database()) ORDER BY table_rows DESC LIMIT 12; +---------------------+------------+ | table_name | table_rows | +---------------------+------------+ | addresses | 48106 | | orders | 33740 |

...or product manager can do that. One also has to know the application, in order to foresee edge cases and difficulties that non-developers might forget. If the project owner...

makandra dev

...these kinds of errors in rare cases when tests are executed in a particular order. A way to avoid this is by using block notation (Timecop.travel(...) do) as this will...

This will probably work, but div and span are not in the tab order and a someone using a screenreader will have a hard time using your page.

...screen readers, which can differentiate between buttons and links Buttons are in the tab order of a browser By default, buttons bring hover and focus states (although you probably will...

blog.bigbinary.com

...preload instead. ActiveRecord::Relation#joins joins will join the given association so you can order or add conditions. User.joins(:posts) Query: SELECT "users".* FROM "users" INNER JOIN "posts" ON "posts...

...or Time in Ruby), while start_date and end_date are simple dates. In order to make sense of your query, your database will cast your dates to datetimes where...

makandra dev

...works as well). For .tar.bz2 archives, use j instead of z (tar xjvf ...`) In order to create a *.tar.gz archive, use -c flag instead of -x flag.

...is that there is no guarantee that AJAX responses are evaluated in the same order as the original requests. The effect for the user is that the search results are...

...for small applications is to make the observe frequency low enough that out-of-order responses become unlikely enough. Try to poll the query field for changes every 0.75 seconds...

...will always be called after listeners registered directly on a descendant, regardless of the order in which the listeners where added. Info jQuery has some complicated code in place to...

...indices like 99999 should never actually be needed. Creating a new stacking context In order to create a stacking context with the least possible side effects, use the isolation property...

...the database, so you need to save the model after removing its attachment in order to persist its removal (the file is gone nonetheless, but without saving the model would...

...throw an error when this is omitted: AND c.relkind = 'i' AND i.indisready AND i.indisvalid ORDER BY c.relpages DESC; This requires superuser permissions to install the amcheck extension to the server...

WHERE am.amname = 'btree' AND c.relpersistence != 't' AND c.relkind = 'i' AND i.indisready AND i.indisvalid ORDER BY c.relpages DESC; " databases=$(psql -tAc "SELECT datname FROM pg_database WHERE datistemplate = false;")

...ignoring spaces and punctuation. It sorts upper and lower case letters together. So the order will be something like a A b B c C Then, spaces and punctuation are...

...and git will do the magic for you and bring them in the right order. However, as git --fixup wants a ref to another commit, it is quite annoying to...

...will still work. If you have multiple deferred scripts, they will run in the order they appear in the HTML, regardless of how long individual scripts take to load.

github.com

...and Object.assign map, reduce, filter Pure Functions, Side Effects and State Mutation Closures High Order Functions Recursion Collections and Generators Promises async/await Data Structures Expensive Operation and Big O Notation...

makandra dev

...if not otherwise configured. But there are some steps I had to take in order to make it work. Don´t overwrite #after_sign_out_path_for in the SamlSessionsController...

makandra dev

...file), all loaders (which are usually npm modules) are run on it in reverse order. First, the sass-loader converts SASS to regular CSS. Then, the postcss-loader uses PostCSS...

makandra dev

Array.prototype.push() 0 ms $.fn.add() 28 ms ... Because jQuery collections are always in DOM order. In general jQuery trades correctness in all edge cases and legacy browsers for performance.

makandra dev

Allowing multiple origins The ACAO header can only contain a single value. In order to allow a whitelist of origins, the server must check incoming requests against a list...

...another commit. git-reset[1] is about updating your branch, moving the tip in order to add or remove commits from the branch. This operation changes the commit history.

DevOps Curriculum

...SQL spricht man mit relationalen Datenbanken. Ziele Verstehe die folgenden SQL Befehle SELECT WHERE ORDER INNER JOIN, LEFT JOIN GROUP BY LIMIT UPDATE INSERT and INSERT...

DELETE EXPLAIN ANALYZE...

psql (client) and postgres server versions do not have to match in order for the import to work. For example, can use client version 16 to connect to...

web.archive.org

...x536897 commit 2 pick c01a668 commit 3 Each line represents a commit (in chronological order, the latest commit will be at the bottom). To transform all these commits into a...