Skip to content

Instantly share code, notes, and snippets.

View mohsenuss91's full-sized avatar

KHALDOUN Mohsen mohsenuss91

View GitHub Profile
Using hardware rendering with device Android SDK built for x86. If you notice graphics
artifacts, consider enabling software rendering with "--enable-software-rendering".
Launching lib\main.dart on Android SDK built for x86 in debug mode...
Format incorrect du param�tre -
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'...
FAILURE: Build failed with an exception.
Running Gradle task 'assembleDebug'...
Launching lib\main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...
Gradle task 'assembleDebug'...
timeout waiting for the application to start
Built build\app\outputs\apk\debug\app-debug.apk.
cmd: Can't find service: activity
Installing build\app\outputs\apk\app.apk...
Error: ADB exited with exit code 1
adb: failed to install C:\Users\MK\Desktop\myapp\build\app\outputs\apk\app.apk:
@mohsenuss91
mohsenuss91 / Route.php
Created August 19, 2017 10:57
Route.php
<?php
/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
@mohsenuss91
mohsenuss91 / UserController.php
Created August 19, 2017 10:56
UserController.php
<?php
namespace App\Http\Controllers;
use Request;
use App\User;
use Illuminate\Support\Facades\Auth;
class UserController extends Controller
{
@mohsenuss91
mohsenuss91 / UserModel.php
Created August 19, 2017 10:55
User Model to login
<?php
namespace App;
use Illuminate\Auth\Authenticatable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
class User extends Model implements AuthenticatableContract
@mohsenuss91
mohsenuss91 / form.html
Created August 19, 2017 10:55
login form
<form action="{{url('auth/login')}}" method="post" accept-charset="utf-8" class="ui form">
<div class="ui segment biarabi animated zoomInDown">
<div class="field">
<div class="ui left icon input biarabi">
<i class=" blue inverted circular user icon"></i>
<input type="text" name="username" placeholder="&#1575;&#1587;&#1605; &#1575;&#1604;&#1605;&#1587;&#1578;&#1582;&#1583;&#1605;" class="biarabi">
</div>
</div>
<div class="field">
<!DOCTYPE html>
<html lang="ar">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">