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; | |
use Illuminate\Notifications\Notifiable; | |
use Illuminate\Contracts\Auth\MustVerifyEmail; | |
use Illuminate\Foundation\Auth\User as Authenticatable; | |
use Tymon\JWTAuth\Contracts\JWTSubject; | |
class User extends Authenticatable implements JWTSubject |
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\Http\Controllers; | |
use Illuminate\Http\Request; | |
use Auth; | |
class AuthController extends Controller | |
{ | |
/** |
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 | |
return [ | |
/* | |
|-------------------------------------------------------------------------- | |
| Authentication Defaults | |
|-------------------------------------------------------------------------- | |
| | |
| This option controls the default authentication "guard" and password |
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
Unhandled Promise rejection: Template parse errors: | |
Can't bind to 'data' since it isn't a known property of 'login-layout-1'. | |
1. If 'login-layout-1' is an Angular component and it has 'data' input, then verify that it is part of this module. | |
2. If 'login-layout-1' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message. | |
3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component. (" | |
</ion-list> --> | |
<login-layout-1 *ngIf="params.loginLayout1" [ERROR ->][data]="params.data" [events]="params.events"> | |
</login-layout-1> |
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://classroom.udacity.com/courses/ud834/lessons/4330701752/concepts/42402386170923 | |
<LinearLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical"> | |
<ImageView | |
android:src="@drawable/ocean" | |
android:layout_width="match_parent" |
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
http://labs.udacity.com/android-visualizer/#/android/relative-layout-list-item | |
<RelativeLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical" > | |
<ImageView | |
android:id="@+id/ocean_image_view" |
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
<LinearLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:orientation="vertical" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent"> | |
<ImageView | |
android:src="@drawable/ocean" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" |
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
1. for responsive use wrap_content value attribute. and DP is density-independent pixels and SP is scale-independent pixels. | |
<TextView | |
android:text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris rhoncus augue eu ipsum blandit, vitae egestas massa molestie. Pellentesque accumsan leo non arcu gravida, at sodales est rutrum. Suspendisse lacinia vehicula leo eu finibus. Aenean non volutpat felis. Maecenas dictum mauris et sem aliquam fermentum. Aliquam nisl ex, ornare et nisl id, euismod dictum sapien. Suspendisse nisi justo, iaculis quis risus at, dictum porttitor ante. Aenean vulputate, risus vel lobortis viverra, libero lectus eleifend nisi, vitae feugiat magna ante ut sapien. Vestibulum in orci tempor, lacinia diam sit amet, tempus sapien." | |
android:background="@android:color/darker_gray" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
/> | |
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
// set new values in first index | |
$users = ['Asep Dadang Supriadi', 'Akmal Fuady', 'Yandi Fitriyanto']; | |
$users_new = 'Ricky Andika Putra'; | |
array_unshift($users, $users_new); | |
print_r($users); |
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
<!-- push new array value --> | |
$users = ['Asep Dadang Supriadi', 'Akmal Fuady', 'Yandi Fitriyanto']; | |
$users_new = 'Ricky Andika Putra'; | |
array_push($users, $users_new); | |
print_r($users); |
NewerOlder