I hereby claim:
- I am joeybab3 on github.
- I am joeybab3 (https://keybase.io/joeybab3) on keybase.
- I have a public key whose fingerprint is 164E CFAE B224 E7C0 AD3B C213 D460 A5E6 2718 AC5B
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/** | |
* Wrap embed html with bootstrap responsive embed div | |
*/ | |
function bootstrap_embed($html, $url, $attr) { | |
if (!is_admin()) { | |
return "<div class=\"embed-responsive my-4 embed-responsive-16by9\">" . $html . "</div>"; | |
} else { | |
return $html; | |
} | |
} |
<?php | |
require_once 'vendor/autoload.php'; | |
$number = 00002347350023848878; | |
$generator = new Picqer\Barcode\BarcodeGeneratorHTML(); | |
$code = chr(241).$number; | |
?> | |
<!DOCTYPE html> | |
<html> | |
<body> | |
<?php echo $generator->getBarcode($code, Picqer\Barcode\BarcodeGeneratorPNG::TYPE_CODE_128_C, 2, 60); ?> |
#include <WiFi.h> | |
#include <HTTPClient.h> | |
const char* ssid = "REPLACE_WITH_YOUR_SSID"; | |
const char* password = "REPLACE_WITH_YOUR_PASSWORD"; | |
//Your Domain name with URL path or IP address with path | |
const char* serverName = "http://192.168.1.106:1880/update-sensor"; | |
// the following variables are unsigned longs because the time, measured in |
{{ 'template-collection.css' | asset_url | stylesheet_tag }} | |
{{ 'component-card.css' | asset_url | stylesheet_tag }} | |
{{ 'component-price.css' | asset_url | stylesheet_tag }} | |
{{ 'component-search.css' | asset_url | stylesheet_tag }} | |
{%- if section.settings.enable_filtering or section.settings.enable_sorting -%} | |
{{ 'component-facets.css' | asset_url | stylesheet_tag }} | |
<script src="{{ 'facets.js' | asset_url }}" defer="defer"></script> | |
{%- endif -%} |
// Add styling to the CSS file | |
.facets__price input[type='range'] { | |
-webkit-appearance: none; | |
padding: 0; | |
font: inherit; | |
outline: none; | |
color: rgb(var(--color-foreground)); | |
opacity: .8; | |
background: rgb(var(--color-foreground)); |