Skip to content

Instantly share code, notes, and snippets.

View abedputra's full-sized avatar
😄
LoveToCode

Abed Putra abedputra

😄
LoveToCode
View GitHub Profile
package com.example.attendacewithfingerprintinternal;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.Intent;
import android.database.Cursor;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.location.Location;
import android.os.Bundle;
@abedputra
abedputra / DuskTestCase.php
Created May 8, 2018 02:39
Dust test with option, disable gpu and headless
<?php
namespace Tests;
use Laravel\Dusk\TestCase as BaseTestCase;
use Facebook\WebDriver\Remote\RemoteWebDriver;
use Facebook\WebDriver\Remote\DesiredCapabilities;
use Facebook\WebDriver\Chrome\ChromeOptions;
abstract class DuskTestCase extends BaseTestCase
@abedputra
abedputra / index.html
Created August 23, 2017 00:44
International Phone Numbers |Global Numbers
<div class="form-group">
<label for="input-4">Phone</label>
<div class="form-inline">
<div class="form-group">
<div class="input-group">
<span class="input-group-addon"><i class=
"glyphicon glyphicon-globe"></i>&nbsp;&nbsp;Country Code</span>
<select class="select-option" name="phone_code">
<option data-countrycode="GB" selected value="44">
UK (+44)