Skip to content

Instantly share code, notes, and snippets.

View MaheKarim's full-sized avatar
💙
Looking for a Job

Mahe Karim MaheKarim

💙
Looking for a Job
View GitHub Profile
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreateCategoriesTable extends Migration
{
/**
* Run the migrations.
@MaheKarim
MaheKarim / HomeController.php
Created May 8, 2019 18:41
Auto Login Page Error
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class HomeController extends Controller
{
public function __construct()
@MaheKarim
MaheKarim / home.blade.php
Created May 9, 2019 16:30
Double Property Problem
@extends('backend.master')
@section('page-heading')
<div class="d-sm-flex align-items-center justify-content-between mb-4">
<h1 class="h3 mb-0 text-gray-800">Dashboard</h1>
<a href="#" class="d-none d-sm-inline-block btn btn-sm btn-primary shadow-sm"><i class="fas fa-download fa-sm text-white-50"></i> Generate Report</a>
</div>
@endsection
@MaheKarim
MaheKarim / Hello World.asm
Created May 15, 2019 19:10
Assembly Programming Language
;CODE by Mahe Karim
;Date: 16 May 2019
.MODEL SMALL
.STACK 100H ; stack size 100 hexadecimal
.DATA
MSG DB "HELLO WORLD! $"
; the $ sign means end OF the string
; MSG just a variable
@MaheKarim
MaheKarim / basic_function.php
Created May 17, 2019 20:16
Call to undefined function factorial()
<?php
/**
* Created by PhpStorm.
* User: Mahe
* Date: 18-May-19
* Time: 1:11 AM
*/
include_once "functionsss.php";
@MaheKarim
MaheKarim / PluralSight Video Crack Code
Created May 20, 2019 15:58
PluralSight Video Crack Code
DecryptPluralSightVideos /F "C:\Users\Admin\AppData\Local\Pluralsight\courses" /DB "C:\Users\Admin\AppData\Local\Pluralsight\pluralsight.db" /TRANS /RM /OUT "L:\Course"
INCLUDE "EMU8086.INC"
.MODEL SMALL
.STACK 100H
.CODE
MAIN PROC
MOV CX, 20
MOV AH, 2
;WRITE AN CODE THAT DIPLAY "HELLO WORLD" IF USER PRESS 1
INCLUDE "EMU8086.INC"
.MODEL SMALL
.STACK 100H
.CODE
MAIN PROC
PRINT "PRESS 1 FOR DISPLAY"
MOV AH, 1
INT 21H
<?php
function fibonacci($old, $new, $end){
static $start;
/* Static Variable
* In this function the value of static var value
* won't change
*/
@MaheKarim
MaheKarim / Fibonacci Series Explained in PHP with Mahe Karim
Last active July 17, 2019 17:48
ফিবোনারচ্চি নিয়ে আলোচনা
<?php
function fibonacci($old, $new, $end){ // প্যারামিটার ইনিশিয়ালাইজড
static $start;
/* Static Variable
* In this function the value of static var value won't change
*/
$start = $start ?? 1;