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
module.exports = { | |
root: true, | |
env: { | |
browser: true, | |
node: true, | |
}, | |
parserOptions: { | |
parser: '@babel/eslint-parser', | |
requireConfigFile: false, | |
}, |
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
https://github.com/nuxt-community/auth-module/issues/258 |
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
[Render] | |
Capability=DirectX12 | |
[Graphics] | |
EnableUserSettings=TRUE | |
GlobalSettings=Custom | |
MaxFramerate=30 | |
TextureQuality=LOWEST | |
ShaderQuality=STANDARD | |
LightingQuality=LOWEST | |
EffectQuality=STANDARD |
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 | |
// add custom global helper function here | |
use Illuminate\Support\Facades\Vite as ViteFacade; | |
if (!function_exists('module_vite_assets_unique_hot_path')) { | |
/** | |
* Support for vite assets with unique hot path | |
* |
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 | |
// Function to convert a value from one unit to another | |
function convert_unit($value, $from_unit, $to_unit) { | |
// Conversion factors | |
$conversions = [ | |
'meter' => [ | |
'inch' => 39.3700787, | |
'foot' => 3.2808399, | |
'yard' => 1.0936133, |
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\Providers; | |
use Illuminate\Support\Facades\Blade; | |
use Illuminate\Support\ServiceProvider; | |
class DirectiveServiceProvider extends ServiceProvider | |
{ | |
/** |
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
@BindingAdapter( | |
value = ["android:custom_setAdapter", "android:custom_showItemDivider"], | |
requireAll = false | |
) | |
fun RecyclerView.bindRecyclerViewAdapter( | |
adapter: RecyclerView.Adapter<*>, | |
showItemDivider: Boolean = false | |
) { | |
this.setHasFixedSize(true) | |
this.adapter = adapter |
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 android.view.LayoutInflater | |
import android.view.ViewGroup | |
import android.widget.ImageView | |
import androidx.core.content.ContextCompat | |
import androidx.recyclerview.widget.AsyncListDiffer | |
import androidx.recyclerview.widget.DiffUtil | |
import androidx.recyclerview.widget.RecyclerView | |
class QuestionBankListRecyclerViewAdapter( |
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\Models\Traits\ModelHelpers; | |
use Illuminate\Support\Str; | |
trait SecureHelperTrait | |
{ | |
/** | |
* Mask user secret data. |
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
package com.data.repositories.authentication | |
import com.data.apis.Api | |
import com.data.apis.endpoints.authentication.AuthenticationApi | |
import com.data.apis.models.generic.LaravelValidationErrors | |
import com.data.apis.models.requests.auth.LoginRequest | |
import com.data.apis.models.requests.auth.LoginRequestErrors | |
import com.data.apis.models.responses.auth.LoginResponse | |
import com.data.helpers.Errors.* | |
import com.data.helpers.Resource |
NewerOlder