Skip to content

Instantly share code, notes, and snippets.

View jakzaizzat's full-sized avatar
🏠
Remote

Jakz jakzaizzat

🏠
Remote
View GitHub Profile
@jakzaizzat
jakzaizzat / migration.php
Created February 17, 2018 04:43
Rename column where there is a ENUM column
public function up()
{
Schema::getConnection()->getDoctrineSchemaManager()->getDatabasePlatform()->registerDoctrineTypeMapping('enum', 'string');
Schema::table('jobs', function(Blueprint $table)
{
$table->decimal('latitude', 10, 6)->nullable()->change();
});
}
@jakzaizzat
jakzaizzat / .htaccess
Created February 18, 2018 15:38
Laravel .htaccess in shared hosting
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ public/$1 [L]
</IfModule>
@jakzaizzat
jakzaizzat / migration.php
Created March 4, 2018 08:56
Update ENUM value in Laravel Migration
DB::statement("ALTER TABLE roles CHANGE COLUMN role role ENUM('system admin', 'super admin', 'admin staff', 'instructor', 'customer', 'gym member', 'swim member')");
@jakzaizzat
jakzaizzat / gist:4b0f12a0687d992b6da664dab405f64e
Created October 22, 2018 18:37
Fix permission Issue WordPress
chown -R www-data /path/to/wordpress
sudo mongod --fork --logpath /var/log/mongod.log
@jakzaizzat
jakzaizzat / camphor.scss
Created March 9, 2019 23:09 — forked from bdno86/camphor.scss
camphor
$camphor300:'d09GMgABAAAAAQ5UABIAAAAEn0QAAQ3tAAEZmQAAAAAAAAAAAAAAAAAAAAAAAAAAG4SkahzOKgZgFotgAIosCCIJgnMRCAqLlgCKvTwBNgIkA5lwE4GnDguZdAAEIAW7bwcgDHJb0WS0WUXZkokWaBHx4wKbY7TigANIU/t980QCGzI/IkCsdbqJZwY1ZOgWDngIamw3I43435Dd+zJ1kNmKVp/DvXNAwaNm//////////////////+/NZkMZ5cAl0CpbZ3oiwloFA5GyIWNzOYVLt1bpXPX+pABI2fo5rMZpgVYIzYqgxt92ajECqUKh2G9gaOCVRC23VSRVypHfbvb7wYcwEM25WArF0esm1yKzDixrJRdcBGtcpBZTFbFbIl8LIU4gWOnEdSITqkoGrHWJ8ywn9eVFWWk3lC6m07qp1TXntHaWp6ekYHLrFoyzOXYiQnn2kWX2zqMaFBTca25vHKndPhJV66HRhQzL9lB3OT20KGTXuFHu62wm1qzoV/iTnaiLdc8o/D7B+1O94BrjSE3cia6U1A5XNp0kHmUj8IMBaeiGaiNJV7b1csb0bq8EWYo2h1TuipR+7hmYjxeZsonGLNcmgsKp5EUDCEj9SvRyxX2uMUNfINmfNqglBYNNtjtNmdwWV2ly4uQKheyDyka2RTRoQ3IEfs+0BNcGJ4Z5AnmHNpFbCKW5PsXkAzJ6VVzzVMo0fwIUpQQT67itTNRE946/NxDashl9KuAFUbZ6yW91vObh+WAMZ1mQ1J4wotF6KXHuo65X6wSz406hW/T6XZMf/6W+HGYUxCDfhyjPaoMGcWccmbYM/H35NdHTOd79Jg0ho/BDBvRy2vcg8pHsv07UYiKrDFeqzL0Qk7qCkXLuukl2EKuR3xS6VtsLEaT0BfWoDYoQ1YvEjjT729XNMYoCX3j+2ApedBG/UHLOJ7AAnfPSqdmmePsY+522MpfPaf7kf6fIJMn0/4SE6PmuI3yjyeGjWn+1qj/ukf09DE
<?php
/**
* The template for displaying all single posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
*
* @package risetheme
*/
get_header();
<div
class="fixed bottom-0 inset-x-0 px-4 pb-4 sm:inset-0 sm:flex sm:items-center sm:justify-center"
>
<div class="fixed inset-0 transition-opacity">
<div
class="absolute inset-0 bg-gray-500 opacity-75"
></div>
</div>
<div
class="z-10 bg-white rounded-lg overflow-hidden shadow-xl transform transition-all sm:max-w-lg sm:w-full"
I am attesting that this GitHub handle jakzaizzat is linked to the Tezos account tz1TXm1RpjSxZ9c2yfqacPrJSFTetmtZhSHM for tzprofiles
sig:edsigtmUH2s7hcTZ7xJFtLL2hqHfQeRbu6PazYqJBGcSZyxyDKQh4ee1FjaeAyBfGrfVSEgGdK4Hdk4Dsc9KuCfFWGHogLJDCcG

Keybase proof

I hereby claim:

  • I am jakzaizzat on github.
  • I am jakzaizzat (https://keybase.io/jakzaizzat) on keybase.
  • I have a public key ASDuxg6JIChH3k4oQlKDHcpRoje3qxBIKhmRS4FQQNV4NAo

To claim this, I am signing this object: