The simplest and certainly safest way remains to copy data from a DISTINCT query to a new table, and to rename it to the original table.
Here our table with duplicated rows is named t_word:
STEP 1:
Create a new table without the duplicated rows:
Load testing is a good way to understand your website or web app behaviour under high traffic.
Here is how to use siege, a simple CLI tool.
Note: Use siege only on sites you own as its traffic could be interpreted as a DDOS attack.
Using 100 concurrent requests and up to 3 seconds between requests:
Ever wanted a 500px wide div, but then realized you had to subtract the left and right padding to its width?
And then subtract the border width?
That’s when the box-sizing property will your hero, it’s supported on every browser (IE8+):
We start with that HTML:
fullweb HTML5 gave us async and defer to better control the browser page rendering flow.
By default when the browser sees a <script> tag’s src link, it will pause the HTML parsing, download the script, execute it, and only then resume the HTML parsing.
Putting your <script> tags at the bottom of your HTML is a good practice, but async and defer provide us with more control.
Here is how to use them and what are their differences:
Using async:
Contributed by Fabien Loudet, Linux SysAdmin at Rosetta Stone
Tired of always having to enter your SSH key passphrase when logging in to remote machines?
Here comes ssh-agent. Enter the passphrase once and it will keep it in memory for you
Using ssh-agent in your shell session:
I recently interviewed 4 developers for a Python programming position
They all knew how to use requests, call APIs and worked either with Django or Flask, but I saw all of them ignoring most of Python’s specific control flow.
Here are two of them, try/except/else/finally and for/else:
try:
# What you want to do, which might