Skip to content

Instantly share code, notes, and snippets.

View gregorsunta's full-sized avatar

Gregor Šunta gregorsunta

View GitHub Profile
@gregorsunta
gregorsunta / php.php
Last active March 21, 2025 09:57
PHP
object(Analytics_Client)#12342 (3) {
["client":protected]=>
object(GuzzleHttp\Client)#12311 (1) {
["config":"GuzzleHttp\Client":private]=>
array(9) {
["base_uri"]=>
object(GuzzleHttp\Psr7\Uri)#8006 (7) {
["scheme":"GuzzleHttp\Psr7\Uri":private]=>
string(5) "https"
<!-- HEADER START -->
<!--[if mso]>
<table id="header" width="648" cellspacing="0" cellpadding="0" style="margin:0 auto;background-color:#FFFFFF;text-align:center; padding: 24px;">
<![endif]-->
<!--[if !mso]><!-->
<table id="header" class="" width="100%" cellspacing="0" cellpadding="0"
style="max-width:648px; margin:0 auto; background-color:#fff; text-align:center; {% if module.hero_color.color %}background-color: {{ module.hero_color.color }};{% endif %}">
<!--<![endif]-->
<tr>
<td class="" style="padding:14px; background-color: #fff;">
@gregorsunta
gregorsunta / website-widgets.md
Created January 7, 2025 06:40
Websit widgets

Tools

@gregorsunta
gregorsunta / hexagon-editors.php
Last active December 19, 2024 13:00
Blog template implementations
&::before {
z-index: -2;
top: 0;
width: 1200px;
left: 50%;
height: 250px;
max-height: 100%;
transform: translate(-50%, 0);
content: '';
position: absolute;
@gregorsunta
gregorsunta / page-blog.php
Created December 4, 2024 10:42
page-blog.php with cta
<?php
$section_title = 'Give Databox a Try';
$description = 'Sign up now and experience first-hand the future of data analytics.';
$content = '<h3><strong>' . $section_title . '</strong></h3>
<p>' . $description . '</p>';
get_template_part(
'template',
@gregorsunta
gregorsunta / author.less
Last active November 30, 2024 18:37
author.php with categories
.blog-tool-category {
margin-block: 48px;
&__container {
display: grid;
grid-template-columns: repeat(2, auto);
justify-content: center;
place-items: start start;
}
services:
website:
build: .
container_name: website
links:
- db:mysql
ports:
- 8000:80
environment:
DB_USER: root
<?php
/** WP 2FA plugin data encryption key. For more information please visit melapress.com */
define( 'WP2FA_ENCRYPT_KEY', 'HRiGb6UHUhQkFllsu3Tlow==' );
/**
* The base configuration for WordPress
*
* The wp-config.php creation script uses this file during the installation.
* You don't have to use the website, you can copy this file to "wp-config.php"
@gregorsunta
gregorsunta / console funcgiont
Last active October 10, 2024 12:11
Console funcitons
document.querySelectorAll('ul.integrations-list').forEach(function(list){
console.log(list.length);
})
document.querySelectorAll('ul.integrations-list')
@gregorsunta
gregorsunta / faq.html
Last active September 18, 2024 09:17
FAQ
In Databox, you have multiple sharing options.
<ol>
<li>Shareable Link: Dashboards can easily be shared and accessed through a link. It will display your dashboard(s) with the same date range options and visualizations you have set in your account. Shareable Links are best for sharing live data with your teams, executives, or clients. </li>
<li>Scheduled Snapshots: You can export your dashboards into PDFs or JPGs at regular time intervals. Scheduled Snapshots are best for sharing static views of your data (regularly) with the relevant recipients. The best part is that recipients don’t need to be Databox users.</li>
<li>Embeds: You can embed your dashboards on web pages or tools like ClickUp/Notion. Embeds allow you to incorporate your insights directly into your existing workflow. </li>
<li>Stream To TV: With Databox, you can easily stream your dashboard on a Smart TV. This option is valuable for sharing insights in office settings, team meetings, or presentations. </li>
</ol>
How can I share