Skip to content

Instantly share code, notes, and snippets.

View dougblackjr's full-sized avatar
:shipit:
Let's create opportunity and clear the path together! tripleNERDscore.net

Doug Black dougblackjr

:shipit:
Let's create opportunity and clear the path together! tripleNERDscore.net
View GitHub Profile
{
"items":
[
{
"entry_id": 305,
"url_title": "the-test-prep-guide-basically-has-all-the-questions-asked-in-the-test",
"entry_date": 1719967118,
"title": "The test prep guide basically has all the questions asked in the test",
"field_id_87": "<strong>D.P., 7/2/24</strong>",
"field_id_95": "<strong>The guide basically has all the questions asked in the test. If you're having doubts about passing the test, buy the guide. Sometimes you have to spend money to make money.</strong>",
@dougblackjr
dougblackjr / LocalValetDriver.php
Created October 24, 2023 19:50
ExpressionEngine Location Valet Driver - 2023
<?php
use Valet\Drivers\LaravelValetDriver;
class LocalValetDriver extends LaravelValetDriver
{
/**
* Determine if the driver serves the request.
*
* @param string $sitePath
@dougblackjr
dougblackjr / just-animate-it.css
Created February 1, 2023 11:51
Just Animate It
img, video, h1,h2,h3,h4,h5,h6,p,span {
-webkit-animation:spin 1s linear infinite;
-moz-animation:spin 1s linear infinite;
animation:spin 1s linear infinite;
}
@-moz-keyframes spin {
100% { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
100% { -webkit-transform: rotate(360deg); }
Hello.
<h1>RAW</h1>
---
__Advertisement :)__
- __[pica](https://nodeca.github.io/pica/demo/)__ - high quality and fast image
resize in browser.
- __[babelfish](https://github.com/nodeca/babelfish/)__ - developer friendly
<?php
/**
* DataGrab File Grid fieldtype class
*
* @package DataGrab
* @author Andrew Weaver <[email protected]>
* @copyright Copyright (c) Andrew Weaver
*/
class Datagrab_file_grid extends Datagrab_fieldtype
@dougblackjr
dougblackjr / example.php
Last active April 13, 2023 13:47
Clickup File Attachment via API
$yourApiToken = 'your-api-token';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, "https://api.clickup.com/api/v2/task/{task_id}/attachment?custom_task_ids=&team_id=");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
curl_setopt($ch, CURLOPT_HEADER, FALSE);
curl_setopt($ch, CURLOPT_POST, TRUE);
@dougblackjr
dougblackjr / test.html
Created April 8, 2021 15:23
The Bee Movie, multiple times
This file has been truncated, but you can view the full file.
@dougblackjr
dougblackjr / code.html
Created January 21, 2021 10:17
Podcast Row
<!-- Take out the 4 links that were added and put this in there -->
<div style="display:flex;flex-wrap:wrap;justify-content:space-between;">
<a href="https://www.amazon.com/Lead-Up/dp/B08K59C8QK/ref=sr_1_1?dchild=1&amp;keywords=lead+up+calvary&amp;qid=1610678314&amp;sr=8-1"><img src="https://i.ibb.co/k1gr5m1/Amazon.png" width="100" height="100" alt="Amazon" border="0"></a>
<a href="https://podcasts.apple.com/us/podcast/lead-up/id1547285159"><img src="https://i.ibb.co/KG9S7wQ/Apple.png" width="100" height="100" alt="Apple" border="0"></a>
<a href="https://podcasts.google.com/feed/aHR0cHM6Ly9mZWVkcy5jYXB0aXZhdGUuZm0vbGVhZC11cA?sa=X&amp;ved=0CAMQ4aUDahcKEwiAivas9ZzuAhUAAAAAHQAAAAAQAQ&amp;hl=en"><img src="https://i.ibb.co/MhL1G8v/Google.png" width="100" height="100" alt="Google" border="0"></a>
<a href="https://open.spotify.com/show/5zw4yOizDVvSwHltsK70Zx"><img src="https://i.ibb.co/T8Dm1Qv/Spotify.png" width="100" height="100" alt="Spotify" border="0"></a>
</div>
<?php
namespace App\Http\Middleware;
use Closure;
use Log;
class Cors
{
@dougblackjr
dougblackjr / doug.js
Last active July 21, 2020 14:04
Power my website with a gist
{
"reading": [
{
"title": "Cost of Discipleship",
"author": "Dietrich Bonhoeffer",
"link": "https://www.hoopladigital.com/title/11497519"
},
{
"title": "Forged in Rebellion",
"author": "Lucio Urtubia",