Start command:
ddrescue -d /dev/sda output.img output.mapfile
NOTE: If direct disc access is not available in your system, try raw devices.
machine github.com | |
login technoweenie | |
password SECRET | |
machine api.github.com | |
login technoweenie | |
password SECRET |
_ _ _ ____ _ _ | |
| | | | __ _ ___| | __ | __ ) __ _ ___| | _| | | |
| |_| |/ _` |/ __| |/ / | _ \ / _` |/ __| |/ / | | |
| _ | (_| | (__| < | |_) | (_| | (__| <|_| | |
|_| |_|\__,_|\___|_|\_\ |____/ \__,_|\___|_|\_(_) | |
A DIY Guide | |
#!/bin/bash | |
v4l2-ctl -c brightness=0 | |
v4l2-ctl -c contrast=120 | |
v4l2-ctl -c white_balance_temperature_auto=0 | |
v4l2-ctl -c gamma=120 | |
v4l2-ctl -c white_balance_temperature=4700 | |
v4l2-ctl -c sharpness=100 | |
v4l2-ctl -c backlight_compensation=0 | |
v4l2-ctl -c focus_absolute=10 | |
v4l2-ctl --list-ctrls-menus |
I have a client using this extension, and we recently discovered a big performance issue.
Description: The query generated by the \Amasty\Fpc\Model\ResourceModel\Activity::matchUrl
method runs a query on a table that is missing an index.
Here is a screenshot showing the slow query:
Once the client added a MySQL index for the table, the slow query went away:
# Bitbucket Git Downloader | |
# Copyright (c) Davide Gironi, 2021 | |
# Released under GPLv3 | |
# Downloads all the repository from a Bitbucket account |
Speed up your phpunit code coverage output in Laravel.
Your coverage reports are slowed down by xdebug tracing within Laravel and packages you depend on, despite them not being in your final coverage report. This moves the filtering from phpunit into xdebug itself.
Before: Time: 5.33 minutes, Memory: 10.00 MB
After: Time: 1.5 minutes, Memory: 10.00 MB
./vendor/bin/phpunit --coverage-html=results/coverage
<?php | |
$countries = array | |
( | |
'AF' => 'Afghanistan', | |
'AX' => 'Aland Islands', | |
'AL' => 'Albania', | |
'DZ' => 'Algeria', | |
'AS' => 'American Samoa', | |
'AD' => 'Andorra', |
namespace Acme\V1\Billing; | |
// BillableInterface.php | |
use Laravel\Cashier\BillableInterface as CashierInterface; | |
interface BillableInterface extends CashierInterface { | |
} |
{ | |
// -------------------------------------------------------------------- | |
// JSHint Configuration, Strict Edition | |
// -------------------------------------------------------------------- | |
// == Enforcing Options =============================================== | |
// | |
// These options tell JSHint to be more strict towards your code. Use | |
// them if you want to allow only a safe subset of JavaScript, very |