This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const { withProjectBuildGradle } = require('@expo/config-plugins'); | |
const kotlinClassPath = | |
'org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion'; | |
function withKotlinGradle(config, version) { | |
return withProjectBuildGradle(config, (config) => { | |
console.log( | |
`[config-plugins/detox] Setting Kotlin version to: ${version}. This could lead to Android build issues.` | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import PIL | |
import tensorflow as tf | |
import hashlib | |
import io | |
import os | |
import untangle | |
from object_detection.utils import dataset_util | |
def xml_to_tf_example(xml_obj, data_dir): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Library; | |
use Illuminate\Contracts\Support\Arrayable; | |
use Illuminate\Http\Resources\Json\ResourceCollection; | |
use Illuminate\Pagination\LengthAwarePaginator; | |
use JsonSerializable; | |
class ResourcePaginator implements JsonSerializable, Arrayable | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Traits; | |
use App; | |
use Cache; | |
trait ForceAsynchronousJob | |
{ | |
private $injectedFunction; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ./vendor/laravel/nova | |
mv webpack.mix.js.dist webpack.mix.js | |
npm i | |
npm run dev | |
rm -rf node_modules | |
cd - | |
php artisan nova:publish |