This script makes use of the Numpad to control media players and volume on your system.
- Install AutoHotkey
- Right-click
.ahk
script Compile Script
- Start executable
This script makes use of the Numpad to control media players and volume on your system.
.ahk
scriptCompile Script
# Installation | |
As far as I know this is how to get Passport on Laravel Spark working correctly, it works so far for me over the API but there might be something I am still missing. | |
I am using the following software versions in composer.json: | |
``` | |
"require": { | |
"php": ">=5.6.4", | |
"laravel/framework": "5.3.*", |
<?php | |
$products = Shop\Product::join('shop_products_options as po', 'po.product_id', '=', 'products.id') | |
->orderBy('po.pinned', 'desc') | |
->select('products.*') // just to avoid fetching anything from joined table | |
->with('options') // if you need options data anyway | |
->paginate(5); | |
// SELECT clause is there in order to not appending joined columns to your Product model. | |
// Originaly found at: http://stackoverflow.com/questions/23530051/laravel-eloquent-sort-by-relation-table-column |
<?php | |
$codes = [ | |
'ab' => 'Abkhazian', | |
'aa' => 'Afar', | |
'af' => 'Afrikaans', | |
'ak' => 'Akan', | |
'sq' => 'Albanian', | |
'am' => 'Amharic', | |
'ar' => 'Arabic', |
<?php | |
/* | |
* find the n closest locations | |
* @param Model $query eloquent model | |
* @param float $lat latitude of the point of interest | |
* @param float $lng longitude of the point of interest | |
* @param float $max_distance distance in miles or km | |
* @param string $units miles or kilometers | |
* @param Array $fiels to return | |
* @return array |