This script can be used to generate a set of CSS variables from a Tailwind shades object.
Let's say you have the following JavaScript object. You might have generated such an object on a site such as Tailwind Shades.
{
This script can be used to generate a set of CSS variables from a Tailwind shades object.
Let's say you have the following JavaScript object. You might have generated such an object on a site such as Tailwind Shades.
{
Extracted for the benefit of non-Tightenites.
Class "things" should be ordered as follows:
<?php | |
namespace App\Http\Livewire\Forum; | |
use Illuminate\Support\Facades\Auth; | |
use Illuminate\Support\Facades\DB; | |
use Livewire\WithPagination; | |
use Livewire\Component; | |
use App\Message; | |
use App\User; | |
class Chat extends Component |
<?php | |
namespace App\Charts; | |
use App\Support\Livewire\ChartComponentData; | |
use ConsoleTVs\Charts\Classes\Chartjs\Chart; | |
/** | |
* Class WanSpeedTestsChart | |
* |
Image.js
from the source below (it is almost a copy of Image.js from tiptap-extensions
except that it has a constructor that accepts uploadFunc
(function to be called with image
being uploaded) and additional logic if(upload) { ... } else { ... previous base64 logic .. }
in the new Plugin
section.import {Node, Plugin} from 'tiptap'
import {nodeInputRule} from 'tiptap-commands'
/**
* Matches following attributes in Markdown-typed image: [, alt, src, title]
*
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
#include <stdio.h> | |
#include <sqlite3.h> | |
int main(void) | |
{ | |
sqlite3 *db; | |
sqlite3_stmt *stmt; | |
sqlite3_open("expenses.db", &db); |