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 'package:adan_sv/data/model/body/register_model.dart'; | |
import 'package:adan_sv/helper/email_checker.dart'; | |
import 'package:adan_sv/localization/language_constrants.dart'; | |
import 'package:adan_sv/provider/auth_provider.dart'; | |
import 'package:adan_sv/utill/color_resources.dart'; | |
import 'package:adan_sv/utill/dimensions.dart'; | |
import 'package:adan_sv/utill/styles.dart'; | |
import 'package:adan_sv/view/base/custom_app_bar.dart'; | |
import 'package:adan_sv/view/base/custom_button.dart'; | |
import 'package:adan_sv/view/base/custom_snackbar.dart'; |
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
try { | |
Field field = CursorWindow.class.getDeclaredField("sCursorWindowSize"); | |
field.setAccessible(true); | |
field.set(null, 100 * 1024 * 1024); //the 100MB is the new size | |
} catch (Exception e) { | |
e.printStackTrace(); | |
} |
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 edit=(nom,prenom)=>{ | |
$f7.dialog.create({ | |
title: 'Information ', | |
content:'<div class="list no-hairlines-md"><ul><form id="assure_form"><li class="item-content item-input"><div class="item-media"><i class="fas fa-user-alt"></i></div><div class="item-inner"><div class="item-title item-floating-label">Nom</div><div class="item-input-wrap"><input type="text" name="nom_assure" placeholder="Nom assuré" /><span class="input-clear-button"></span></div></div></li><li class="item-content item-input"><div class="item-media"><i class="fas fa-user-alt"></i></div><div class="item-inner"><div class="item-title item-floating-label">Prénom</div><div class="item-input-wrap"><input type="text" name="prenom_assure" placeholder="Prénom assuré" /><span class="input-clear-button"></span></div></div></li></form></ul></div>', | |
buttons: [ | |
{ | |
text: 'Annuler', | |
}, |
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
<li id="${list}" class="swipeout deleted-callback"> | |
<div class="item-content swipeout-content"> | |
<div class="item-inner"> | |
<div class="item-title">${list}</div> | |
</div> | |
</div> | |
<div class="swipeout-actions-right"> |
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
//L'intégration de Survey Js ou Jquery dans Framework7 est un peu délicate; | |
// Il faut suivre des étapes minutieusement pour qu'il n'y est pas des erreurs comme $(...).Survey not a function | |
// Ou qu'il n'est pas des erreurs commes Uncaught TypeError: Cannot read property 'fn' of undefined #11 | |
//===> Je recommande ce qui suit | |
// Lors de l'intégration des scripts il faut intégrer par ordres le script Jquery (la version 3.6) après le script de | |
//Framework7.min.js ensuite intégrer le script app.js de Framework7 et après celà intégrer le script Jquery et enfin le script Survey Js |
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
$date_begin_at = new \Carbon\Carbon($date_begin); | |
for($i = 0; $i <= 3; $i++) | |
{ | |
$date = $date_begin_at->addDays(); | |
$date_add = $date->format('d-m-Y'); |
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
#$data->lien_video is the link vidéo get on DB; example: https://youtu.be/example | |
#youtube vidéo links are: https://youtu.be/example or https://www.youtube.com/watch?v=9CHSMylQYdw | |
$data = "$data->lien_video"; | |
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.buet.dualsim.dualsim.activities; | |
import android.Manifest; | |
import android.app.Activity; | |
import android.app.PendingIntent; | |
import android.content.BroadcastReceiver; | |
import android.content.Context; | |
import android.content.DialogInterface; | |
import android.content.Intent; | |
import android.content.IntentFilter; |
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
<Files .env> | |
order allow,deny | |
Deny from all | |
</Files> |
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.test.android.helpers; | |
import android.os.Build; | |
import android.webkit.WebResourceResponse; | |
import com.google.gson.Gson; | |
import com.google.gson.reflect.TypeToken; | |
import com.test.android.Application; | |
import org.apache.commons.collections.CollectionUtils; |