Skip to content

Instantly share code, notes, and snippets.

View onamfc's full-sized avatar

Brandon Estrella onamfc

View GitHub Profile
@onamfc
onamfc / CLA.md
Created February 14, 2026 00:37
cla-assistant.io

Contributor License Agreement

Thank you for your interest in contributing to LinkForty Core.

In order to clarify the intellectual property license granted with contributions from any person or entity, LinkForty must have a Contributor License Agreement (CLA) on file that has been signed by each contributor, indicating agreement to the license terms below.

This agreement is for your protection as a contributor as well as the protection of LinkForty and its users; it does not change your rights to use your own contributions for any other purpose.

Agreement

@onamfc
onamfc / README.md
Created September 28, 2022 15:55 — forked from roachhd/README.md
Basics of BrainFuck

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

BrainFuck Programming Tutorial by: Katie

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

INTRODUCTION

@onamfc
onamfc / CreateStore.js
Created September 10, 2022 03:00 — forked from malexsan1/CreateStore.js
Create Redux store with Saga and Loggers
import logger from 'redux-logger'
import createSagaMiddleware from 'redux-saga'
import { autoRehydrate } from 'redux-persist'
import { createStore, applyMiddleware, compose } from 'redux'
import RehydrationServices from '../'
// creates the store
export default (rootReducer, rootSaga) => {
/* ------------- Redux Configuration ------------- */
import React, {useState, useEffect, useRef} from "react"
import {useRouter} from 'next/router'
import axios from "axios";
import {Helmet} from "react-helmet";
const Event = ({embed}) => {
const router = useRouter()
const [embedSRC, setEmbedSRC] = useState(embed);
const [content, setContent] = useState(null)
// useEffect(() => {
@onamfc
onamfc / AccessToken.php
Last active September 19, 2024 10:18
Add Custom Claims to Passport 8 / Laravel 6
<?php
namespace App\Passport;
use App\User;
use Lcobucci\JWT\Builder;
use Lcobucci\JWT\Signer\Key;
use League\OAuth2\Server\CryptKey;
use Lcobucci\JWT\Signer\Rsa\Sha256;
use Laravel\Passport\Bridge\AccessToken as BaseToken;
<?php
/* FILE LOCATION: /public_html/vendor/magento/module-authorizenet/Model/Directpost/Request.php */
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
namespace Magento\Framework\ObjectManager\Factory;
use Magento\Framework\Exception\RuntimeException;
use Magento\Framework\ObjectManagerInterface;
<?php
/* FILE LOCATION: /public_html/vendor/magento/module-authorizenet/Model/Directpost/Request.php */
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\Authorizenet\Model\Directpost;
@onamfc
onamfc / wp-query-ref.php
Created September 12, 2018 07:02 — forked from luetkemj/wp-query-ref.php
WP: Query $args
// This gist is now maintained on github at https://github.com/luetkemj/wp-query-ref
<?php
/**
* WordPress Query Comprehensive Reference
* Compiled by luetkemj - luetkemj.github.io
*
* CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters
* Source: https://core.trac.wordpress.org/browser/tags/4.9.4/src/wp-includes/query.php
*/