If you have an issue with "order by " not working correctly with norwegian characters eg:
table: names
- Andreas
- Betty
- Øystein
- Ole martin
- Ylvis
- Åse Hansen
| <?php | |
| $retries = 0; | |
| $maxRetries = 3; | |
| // Should fail this amount of times | |
| $failCounter = 5; | |
| for($i = 0; $i < 10; $i++) { | |
| <?php | |
| namespace App\Http\Middleware; | |
| use App\User; | |
| use Auth; | |
| use Closure; | |
| use HipsterJazzbo\Landlord\Facades\Landlord; | |
| class TenantScope |
| <?php | |
| namespace App\Http\Middleware; | |
| use App\Tenant; | |
| use Closure; | |
| use HipsterJazzbo\Landlord\Facades\Landlord; | |
| class TenantHostnameScope | |
| { |
| <?php | |
| $plugin = craft()->plugins->getPlugin('pluginHandle'); | |
| // This does NOT work. | |
| $plugin->getSettings()->setAttribute("attributename", "attribute value"); | |
| // Do this instead! |
| import 'dart:convert'; | |
| import 'dart:typed_data'; | |
| void main() { | |
| var name = "A string containing ø"; | |
| var bytes = Uint8List.fromList(name.codeUnits); | |
| var decoded = json.decode(utf8.decode(bytes)); | |
| print(decoded); |
If you have an issue with "order by " not working correctly with norwegian characters eg:
table: names
If you are dynamically changing the locale of your vue application and setting the locale of moment js to that locale, your formatted dates will not be re-rendered, this is due to moments locale not being reactive (vue doesnt know that moment's internal state changed)
We need to create a custom renderless component that wraps the functionality we want, and whenever
| <?php | |
| use Illuminate\Support\Facades\Http; | |
| class Brreg | |
| { | |
| public function getByVatId($vatId) | |
| { |
| # Wipe the entire "VM" and rebuild everything | |
| rm ~/Library/Containers/com.docker.docker/Data/vms/0/data/Docker.raw |
| When creating a credit note via the eAccounting API v2 you have to make | |
| the quantity a negative number or else you will get this error: | |
| CustomerInvoiceValidationTotalAmountNotAllowedToBeZeroOrMore |