Skip to content

Instantly share code, notes, and snippets.

View volkanmetin's full-sized avatar
🎯
Focusing

Volkan Metin volkanmetin

🎯
Focusing
View GitHub Profile
@volkanmetin
volkanmetin / free_email_provider_domains.txt
Created August 26, 2022 07:54 — forked from tbrianjones/free_email_provider_domains.txt
A list of free email provider domains. Some of these are probably not around anymore. I've combined a dozen lists from around the web. Current "major providers" should all be in here as of the date this is created.
1033edge.com
11mail.com
123.com
123box.net
123india.com
123mail.cl
123qwe.co.uk
126.com
150ml.com
15meg4free.com
@volkanmetin
volkanmetin / opendb.sh
Created September 17, 2020 18:34 — forked from AlexVanderbist/opendb.sh
`opendb` command - opens the database for a Laravel app in your GUI
opendb () {
[ ! -f .env ] && { echo "No .env file found."; exit 1; }
DB_CONNECTION=$(grep DB_CONNECTION .env | grep -v -e '^\s*#' | cut -d '=' -f 2-)
DB_HOST=$(grep DB_HOST .env | grep -v -e '^\s*#' | cut -d '=' -f 2-)
DB_PORT=$(grep DB_PORT .env | grep -v -e '^\s*#' | cut -d '=' -f 2-)
DB_DATABASE=$(grep DB_DATABASE .env | grep -v -e '^\s*#' | cut -d '=' -f 2-)
DB_USERNAME=$(grep DB_USERNAME .env | grep -v -e '^\s*#' | cut -d '=' -f 2-)
DB_PASSWORD=$(grep DB_PASSWORD .env | grep -v -e '^\s*#' | cut -d '=' -f 2-)
private function strtr($str)
{
return trim(mb_convert_case(str_replace('i', 'İ', mb_strtolower(str_replace(['İ', 'I'], ['i', 'ı'], $str))), MB_CASE_TITLE, 'UTF-8'));
}
@volkanmetin
volkanmetin / Handler.php
Last active May 16, 2017 12:39
Rollbar doplicate row fix
protected $dontReport = [
\Illuminate\Auth\AuthenticationException::class,
\Illuminate\Auth\Access\AuthorizationException::class,
\Symfony\Component\HttpKernel\Exception\HttpException::class,
\Illuminate\Database\Eloquent\ModelNotFoundException::class,
\Illuminate\Session\TokenMismatchException::class,
\Illuminate\Validation\ValidationException::class,
\Illuminate\Foundation\Http\Exceptions\MaintenanceModeException::class,
];
<scheme name="volkan_global" version="142" parent_scheme="Default">
<option name="LINE_SPACING" value="1.5" />
<option name="EDITOR_FONT_SIZE" value="16" />
<option name="CONSOLE_FONT_NAME" value="Source Code Pro" />
<option name="CONSOLE_FONT_SIZE" value="10" />
<option name="CONSOLE_LINE_SPACING" value="1.4" />
<option name="EDITOR_FONT_NAME" value="Consolas" />
<colors>
<option name="ADDED_LINES_COLOR" value="292d38" />
<option name="ANNOTATIONS_COLOR" value="8b999f" />
@volkanmetin
volkanmetin / UniversityTableSeeder.php
Created May 7, 2016 21:55
University list in Turkey
<?php
use Illuminate\Database\Seeder;
use App\Models\University;
class UniversityTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
@volkanmetin
volkanmetin / CityTableSeeder.php
Created May 7, 2016 14:23
Turkey Cities Seeder
<?php
use Illuminate\Database\Seeder;
use App\Models\City;
class CityTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
Verifying that +vlknmtn is my blockchain ID. https://onename.com/vlknmtn