Skip to content

Instantly share code, notes, and snippets.

View sovetski's full-sized avatar
🎯
Focusing

Ahliman HUSEYNOV sovetski

🎯
Focusing
View GitHub Profile
@ConstantinHvber
ConstantinHvber / TailwindCSS_LLMs.txt
Created April 21, 2025 09:52
AI generated LLMs.txt for the Tailwind CSS docs (April 21, 2025)
# Tailwind CSS LLMs.txt Documentation
> This document provides a comprehensive overview of Tailwind CSS utility classes, examples, and customization options. It covers various CSS properties like layout, spacing, typography, backgrounds, borders, effects, transitions, transforms, and more, explaining how to use Tailwind's utility classes to style web elements effectively and responsively.
This document details the documentation of Tailwind CSS utilities. It explains how Tailwind scans source files for classes, the importance of using complete class names, and how utility classes can be applied conditionally using variants for states (hover, focus), responsive breakpoints, dark mode, and other conditions. It also covers customization via theme variables and adding custom styles.
**Core Concepts (from styling-with-utility-classes.mdx & responsive-design.mdx):**
* **Utility-First:** Style elements by combining many single-purpose utility classes directly in HTML.
* **Constraint-Based:** Utilities general
@audrasjb
audrasjb / wp-playground-opquast-widget
Last active January 16, 2025 09:00
WordPress Playground instance for Opquast widget
{
"landingPage": "/wp-admin/",
"login": true,
"plugins": [
"https://jeanbaptisteaudras.com/plugins/who-opquast-widgets.zip"
],
"siteOptions": {
"blogname": "Le joli widget Opquast"
}
}
@checklyalex
checklyalex / upload_image_to_s3_bucket.js
Created March 24, 2023 15:11
A Checkly Playwright/Test script to upload a screenshot to S3.
const { expect, test } = require('@playwright/test')
const aws4 = require('aws4')
const axios = require('axios').default
const S3_BUCKET_NAME = 'xxx';
const S3_OBJECT_KEY = '/image.jpg'; // The name you want to give to the uploaded image file
const AWS_REGION = 'eu-west-2'
test('visit page and take screenshot', async ({ page }) => {
const response = await page.goto(process.env.ENVIRONMENT_URL || 'https://checklyhq.com')
@aidos-dev
aidos-dev / README.md
Last active September 10, 2025 14:24
How to connect Apple AirPods to Linux (Debian/Ubuntu/Mint)

How to connect Apple AirPods to Linux (Debian/Ubuntu/Mint)

Step 1.

Open your terminal.

In the root directory run the command:

sudo nano /etc/bluetooth/main.conf
@codeadamca
codeadamca / mamp-php-versions.md
Last active February 11, 2025 19:08
How to add new PHP versions to MAMP on a Mac

Adding Versions of PHP to MAMP on a Mac

If you're working on a project that requires a version of PHP higher than the versions that MAMP comes with, you can easily add additional verions.

My version of MAMP came installed with PHP 7.4.21 and 8.0.8. I'm attempting to use MAMP to host a Laravel application which requires at least PHP 8.1.

The version of PHP MAMP uses is often different than the version you have installed. I have installed PHP using Brew. I'm currently running PHP 8.1.8. If you want to check your installed version of PHP, use the terminal and run the following command:

php --version
@mikegogulski
mikegogulski / copy-stripe-setup.py
Last active October 11, 2024 14:45
Copy Stripe production products and prices to test environment
### The best way to start is to use the "Delete all test data" button at https://dashboard.stripe.com/test/developers
### Setup:
import stripe
test = 'sk_test_51IXXXyoursecretkey'
prod = 'sk_live_51IXXXyoursecretkey'
@mark-gerarts
mark-gerarts / OAuthConnectController.php
Last active June 21, 2024 12:09
HWIOAuthBundle connect functionality without FUB
<?php
namespace Acme\Controller;
use HWI\Bundle\OAuthBundle\Templating\Helper\OAuthHelper;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Generator\UrlGeneratorInterface;
use Symfony\Component\Security\Http\Util\TargetPathTrait;
@botris
botris / BulkUpdateController.php
Last active March 24, 2025 08:26
Update many entities with API Platform
<?php
class BulkUpdateController
{
private EntityWithManyProperties $entityWithManyProperties;
public function __construct(EntityWithManyProperties $entityWithManyProperties)
{
$this->entityWithManyProperties = $entityWithManyProperties;
}
@patrickmaciel
patrickmaciel / configuracoes.md
Created April 18, 2021 00:30
Laragon + Mailhog
@btoo
btoo / .huskyrc.js
Last active June 17, 2024 07:55
husky pre-commit hook for handling ONLY staged files that will prevent commit if there are linting errors and auto-fix them
/**
* @see {@tutorial https://github.com/typicode/husky}
* _Requires Node >= 10 and Git >= 2.13.0._
*/
module.exports = {
hooks: {
/**
* @see {@tutorial https://stackoverflow.com/a/15656652/3942699}
*
* ___only works with files staged in git___