Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
There is no elevator to success, you have to take the stairs.

Md Obydullah mdobydullah

💭
There is no elevator to success, you have to take the stairs.
View GitHub Profile
@mdobydullah
mdobydullah / .gitlab-ci.yml
Created Feb 8, 2020
GitLab CI configuration for auto-deployment of Vue.js to S3: https://s.mynotepaper.com/y1E4
View .gitlab-ci.yml
stages:
- build
- deploy
# build stage
build_app:
image: node:alpine
stage: build
only:
- master
View apcu.php
<?php
/*
+----------------------------------------------------------------------+
| APC |
+----------------------------------------------------------------------+
| Copyright (c) 2006-2011 The PHP Group |
+----------------------------------------------------------------------+
| This source file is subject to version 3.01 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available through the world-wide-web at the following url: |
@mdobydullah
mdobydullah / skrill-ipn.php
Created Mar 18, 2019
Skrill IPN by Md. Obydullah - Extension for LaraSkrill (https://github.com/mdobydullah/laraskrill)
View skrill-ipn.php
<?php
/**
* Created by: Md. Obydullah
* File: skrill-ipn.php
* Date: March 18, 2019
* Description: If you want to receive and store data from 'status_url' instead of receiving email, then use this code to your to your IPN listener.
*/
// routes - web
Route::post('skrill-ipn', 'SkrillController@ipn');
View cert.conf
[ req ]
default_bits = 2048
default_keyfile = server-key.pem
distinguished_name = subject
req_extensions = req_ext
x509_extensions = x509_ext
string_mask = utf8only
[ subject ]
@mdobydullah
mdobydullah / PayPalController.php
Last active Jan 21, 2019
LaraPal - PayPalController
View PayPalController.php
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Obydul\LaraPal\Services\ExpressCheckout;
class PayPalController extends Controller
{
/**