Skip to content

Instantly share code, notes, and snippets.

View madebydaniz's full-sized avatar
:bowtie:
I may be slow to respond.

Daniel Niazmand madebydaniz

:bowtie:
I may be slow to respond.
View GitHub Profile

Next.js Starters

A list of CLI generators, starter kits / boilerplates and toolkits to kick start your Next.js apps.

  • What is included in this list:
    • Has ~1K+ Github stars
    • Actively maintained / up to date
    • Includes a style / css solution or UI Framework
    • Includes a database
  • Includes authentication / authorization
@madebydaniz
madebydaniz / woo-events.js
Created February 18, 2024 11:36 — forked from bagerathan/woo-events.js
[Woocommerce Javascript events] #woo
//Woocommerce Checkout JS events
$( document.body ).trigger( 'init_checkout' );
$( document.body ).trigger( 'payment_method_selected' );
$( document.body ).trigger( 'update_checkout' );
$( document.body ).trigger( 'updated_checkout' );
$( document.body ).trigger( 'checkout_error' );
//Woocommerce cart page JS events
$( document.body ).trigger( 'wc_cart_emptied' );
$( document.body ).trigger( 'update_checkout' );
@madebydaniz
madebydaniz / webdev_online_resources.md
Created July 9, 2021 20:37 — forked from bradtraversy/webdev_online_resources.md
Online Resources For Web Developers (No Downloading)
@madebydaniz
madebydaniz / index.html
Created November 22, 2020 01:50
Multiple Slick Sliders with Progress Circles
<section class="main-action py-5">
<div class="container">
<div class="row no-gutters mt-3 slider-row">
<div class="col-12 col-lg-7">
<div class="action-slider">
<img src="https://images.unsplash.com/photo-1464082354059-27db6ce50048?format=auto&auto=compress&dpr=1&crop=entropy&fit=crop&w=1271&h=847&q=80">
<img src="https://images.unsplash.com/photo-1445023835378-9fa9a2089f0c?format=auto&auto=compress&dpr=1&crop=entropy&fit=crop&w=1271&h=953&q=80">
<img src="https://images.unsplash.com/photo-1441040744088-a70b8213d4d4?format=auto&auto=compress&dpr=1&crop=entropy&fit=crop&w=1271&h=847&q=80">
<img src="https://images.unsplash.com/photo-1445023835378-9fa9a2089f0c?format=auto&auto=compress&dpr=1&crop=entropy&fit=crop&w=1271&h=953&q=80">
</div>
@madebydaniz
madebydaniz / index.html
Created November 22, 2020 01:21
Responsive images with constrained heights and 21:9 16:9 4:3 ratio - Bootstrap 4
<div class="container=fluid">
<p><a href="https://codepen.io/JacobLett/pen/YWZOro">Aspect Ratio Calculator</a></p>
<p class="alert-warning"><strong>?</strong> Do you want to have a consistent proportion as the image scales or do you want to have a controlled image height?</p>
<h3>Constrained height of 400px</h3>
<p><strong>Responsive image sizes:</strong> 600x400, 800x400, 1400x400, 2000x400</p>
@madebydaniz
madebydaniz / aspect-ratio-calculator-16-9-and-4-3.markdown
Created November 22, 2020 01:21
Aspect ratio calculator - 16:9 and 4:3
@madebydaniz
madebydaniz / README-badges.md
Created May 16, 2020 13:42 — forked from tterb/README-badges.md
A collection of README badges

Badges

License

MIT License GPLv3 License AGPL License

Version

Version GitHub Release

@madebydaniz
madebydaniz / custom-search-acf-wordpress.php
Created September 19, 2019 16:05 — forked from charleslouis/custom-search-acf-wordpress.php
PHP - Wordpress - Search - wordpress custom search function that encompasses ACF/advanced custom fields and taxonomies and split expression before request
<?php
/**
* [list_searcheable_acf list all the custom fields we want to include in our search query]
* @return [array] [list of custom fields]
*/
function list_searcheable_acf(){
$list_searcheable_acf = array("title", "sub_title", "excerpt_short", "excerpt_long", "xyz", "myACF");
return $list_searcheable_acf;
}
@madebydaniz
madebydaniz / .phpstorm.meta.php
Created July 29, 2018 09:58 — forked from barryvdh/.phpstorm.meta.php
Laravel PhpStorm Meta file
<?php
namespace PHPSTORM_META {
/**
* PhpStorm Meta file, to provide autocomplete information for PhpStorm
* Generated on 2017-09-28.
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
* @see https://github.com/barryvdh/laravel-ide-helper
*/
@madebydaniz
madebydaniz / SCSS.md
Created July 19, 2017 21:56 — forked from jareware/SCSS.md
Advanced SCSS, or, 16 cool things you may not have known your stylesheets could do

⇐ back to the gist-blog at jrw.fi

Advanced SCSS

Or, 16 cool things you may not have known your stylesheets could do. I'd rather have kept it to a nice round number like 10, but they just kept coming. Sorry.

I've been using SCSS/SASS for most of my styling work since 2009, and I'm a huge fan of Compass (by the great @chriseppstein). It really helped many of us through the darkest cross-browser crap. Even though browsers are increasingly playing nice with CSS, another problem has become very topical: managing the complexity in stylesheets as our in-browser apps get larger and larger. SCSS is an indispensable tool for dealing with this.

This isn't an introduction to the language by a long shot; many things probably won't make sense unless you have some SCSS under your belt already. That said, if you're not yet comfy with the basics, check out the aweso