User Login

Please enter user name and password into following boxes!

If you are not registered yet, please click

Forget Password

If you forget your password, please click

Last Added Tutorials

  • SendGrid Cname Configuration

    SendGrid CNAME configuration MUST look like this:...Continue Reading

    Cordovalib Problem With Android Studio

    Error Message: Error:Cause:;)V Solution: Change gradle version as follows: buildscript { repositories { // Gradle 4.1 and higher include support for Google's Maven repo using // the google() method. And you need to include this repo to download // Android plugin 3.0.0 or higher. google() ... } dependencies { classpath '' } } Problem: Error:Unable to r...Continue Reading

    Android GPS Location Example

    Android package; import android.Manifest; import android.annotation.SuppressLint; import; import; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import; import android.location.Address; import android.location.Geocoder; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import android.os.I...Continue Reading

    How to create server.crt and server.key for local web app

    Certificate create operation as follows: 1. Create v3.ext file having following content: [req] distinguished_name = req_distinguished_name x509_extensions = v3_req prompt = no [req_distinguished_name] C = TW ST = Taiwan L = Taipei O = CR OU = It CN = html_12 [v3_req] keyUsage = keyEncipherment, dataEncipherment extendedKeyUsage = serverAuth subjectAltName = @alt_names [alt_names] DNS.1=html_12 2. run command openssl req -new -newkey rsa:2048 -sha256 -days 3650 -nodes -x509 -keyout server.key -out server.crt -config v3.ext -extensions v3_req 3...Continue Reading

    Simple Pagination in Php

    Php Codes <div class="pagination-wrapper"> <ul class="pagination"> <li><a href="?page=<?= $page > 1 ? ( $page - 1 ) : '1' ?>" aria-label="Previous"><span aria-hidden="true"><i class="fa fa-long-arrow-left"></i> Önceki Sayfa</span></a></li> <?php $databaseUtil = new \hatim\Libraries\DatabaseUtil(); $limit = 2; $total = $databaseUtil->count( "hatim" ); $pages = ceil( $total / $limit ); // What page are we currently on? $page = get_query_var( "page" ); $page = $page == 0 ? 1 : $page; // Calculate...Continue Reading

    Android Correct Usage Onesignal

    When using onesignal as notification system in Android application, we should insert following codes in ApplicationManifest.xml file: <meta-data android:name="com.onesignal.NotificationOpened.DEFAULT" android:value="DISABLE" /> After adding this meta-data, Android will disable launcher activity to be opened. Handle notification opened event as follows: public class App extends Application { protected boolean active = true; protected int splashTime = 3000; @Override public void onCreate() { s...Continue Reading

    Laravel Seeding in Detail

    Associate User with same role: factory(\App\Models\User::class, 'random', 50)->create()->each(function ($u, $value) { if ($value == null) $value = factory(App\Models\Role::class, 'satici')->make(); else $value = \App\Models\Role::where(['name'=>'satici'])->firstOrFail(); $u->roles()->save($value); });...Continue Reading

    Enable Sql Log in Laravel

    Event::listen('Illuminate\Database\Events\QueryExecuted', function ($query) { if (App::environment() == 'local') { Log::info($query->sql . ' Parameters: ' . serialize($query->bindings)); } });...Continue Reading

    Php Laravel Framework Remove index.php From Url

    Removing index.php from url in Laravel project use following .htaccess commands after RewriteRule ^ index.php [L] RewriteCond %{THE_REQUEST} ^GET.*index\.php [NC] RewriteRule (.*?)index\.php/*(.*) /$1$2 [R=301,NE,L] Full htaccess File <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews </IfModule> RewriteEngine On # Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)/$ /$1 [L,R=301] # Handle Front Controller... RewriteCond %{REQUE...Continue Reading

    Ionic 3 Axios Library Usage

    import * as queryString from 'querystring'; async send(order) { const response = await'/isbank/send', queryString.stringify( { orderNo: order.orderNo, amount: order.amount, currencyCode: '949', language: 'tr', 'creditCard.cardType': '1', 'creditCard.cv2': order.cvc, 'creditCard.expiredMonth': order.expiredMonth, 'creditCard.expiredYear': order.expiredYear, 'creditCard.pan': order.number, 'user.Email':, 'user.Id': order.userId }...Continue Reading