Snippets Collections
sudo mv /opt/google/containers/android/system.raw.img.bk /opt/google/containers/android/system.raw.img
curl -Ls https://raw.githubusercontent.com/nolirium/aroc/onescript/RootandSEpatch.sh | sudo sh
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="500" viewBox="0 0 500 500">
  <!-- Fondo blanco -->
  <rect width="100%" height="100%" fill="white" />
  
  <!-- Silueta de bailarina minimalista -->
  <path d="M250 100 Q270 80 280 100 T300 140 Q280 160 260 140 T250 100" 
        stroke="#DDA0DD" stroke-width="5" fill="none" stroke-linecap="round"/>
  <circle cx="250" cy="100" r="8" fill="#DDA0DD" />
  <path d="M250 110 L240 160 L260 160 Z" fill="#DDA0DD" />
  
  <!-- Texto de la academia -->
  <text x="250" y="350" fill="#444" font-size="32" text-anchor="middle" font-family="Serif">
    Academia Valentina Castizaga
  </text>
  <text x="250" y="380" fill="#DDA0DD" font-size="18" text-anchor="middle" font-family="Sans-Serif">
    Ballet & Yoga
  </text>
</svg>
<a href="link"> <image src="file.jpg">
    <div style="display:none" class="label-58-stud-kit-600">
        <link rel="stylesheet" href="{{ 'component-product-variant-picker.css' | asset_url }}"><style>.custom-radio{margin-top:0; display:flex; gap:5px; flex-wrap:wrap}.custom-radio div{display:flex;}.custom-radio label{margin-bottom:0}</style>
<div class="product-form__input product-form__input--pill">
<label class="form__label">Stud Kit</label>
<div class="custom-radio">
        <div>
            <input type="radio" id="A" name="properties[Label]" form="{{ 'product-form-' | append: section.id }}" value="A">
            <label class="form__label" for="A">A</label>
        </div>
        <div>
            <input type="radio" id="B" name="properties[Label]" form="{{ 'product-form-' | append: section.id }}" value="B">
            <label class="form__label" for="B">B</label>
        </div>
</div>
</div>
    </div>
    <script>
    document.addEventListener('DOMContentLoaded', () => {
        const sanitizeClassName = str => str.replace(/[^a-zA-Z0-9\s]/g, '').replace(/\s+/g, '-').toLowerCase();
        const checkCurrentOption = ()=>{
            const variantSelects = document.querySelector('variant-selects');
            const currentValues = Array.from(variantSelects.querySelectorAll('select option[selected], fieldset input:checked')).map(el => el.value);
            const optionValue = "58-stud-kit-60"
            optionsConcerned = [0] 
            required = false
            selector = "." + "label-" + optionValue +  "0" 
            selectorInput = selector + " input"  + "," + selector + " textarea" 
            shouldDisplay = optionsConcerned.some(optionIndex => {
                return currentValues[optionIndex] !== undefined && sanitizeClassName(currentValues[optionIndex]) === optionValue;
              });
            document.querySelectorAll(selector).forEach(el =>{
                if( shouldDisplay){
                    el.style.display = "block"
                    document.querySelector(selectorInput).setAttribute('form', '{{ 'product-form-' | append: section.id }}')
                    document.querySelectorAll('.hidden-input-fileupload').forEach(el => el.setAttribute('form', '{{ 'product-form-' | append: section.id }}'))
                }
                else{
                    el.style.display ="none"
                    document.querySelector(selectorInput).setAttribute('form', '');
                    document.querySelectorAll('.hidden-input-fileupload').forEach(el => el.setAttribute('form', ''))
                }
           
            } );
            if (required) {
                const customInput = document.querySelector(selectorInput)
                if (shouldDisplay) {
                    customInput.setAttribute('required', 'required');
                } else {
                    customInput.removeAttribute('required');
                }
            }
        }
        checkCurrentOption()
        document.querySelector(".product-variant-id").addEventListener('change', checkCurrentOption)
    })
    </script>
    
    <div style="display:none" class="your-labeloptionconcerned">
        <link rel="stylesheet" href="{{ 'component-product-variant-picker.css' | asset_url }}"><style>.custom-radio{margin-top:0; display:flex; gap:5px; flex-wrap:wrap}.custom-radio div{display:flex;}.custom-radio label{margin-bottom:0}</style>
<div class="product-form__input product-form__input--pill">
<label class="form__label">Your label</label>
<div class="custom-radio">
        <div>
            <input type="radio" id="A" name="properties[Your label]" form="{{ 'product-form-' | append: section.id }}" value="A">
            <label class="form__label" for="A">A</label>
        </div>
        <div>
            <input type="radio" id="B" name="properties[Your label]" form="{{ 'product-form-' | append: section.id }}" value="B">
            <label class="form__label" for="B">B</label>
        </div>
</div>
</div>
    </div>
    <script>
    document.addEventListener('DOMContentLoaded', () => {
        const sanitizeClassName = str => str.replace(/[^a-zA-Z0-9\s]/g, '').replace(/\s+/g, '-').toLowerCase();
        const checkCurrentOption = ()=>{
            const variantSelects = document.querySelector('variant-selects');
            const currentValues = Array.from(variantSelects.querySelectorAll('select option[selected], fieldset input:checked')).map(el => el.value);
            const optionValue = "option-value"
            optionsConcerned = [0] 
            required = false
            selector = "." + "your-label-" + optionValue +  "0" 
            selectorInput = selector + " input"  + "," + selector + " textarea" 
            shouldDisplay = optionsConcerned.some(optionIndex => {
                return currentValues[optionIndex] !== undefined && sanitizeClassName(currentValues[optionIndex]) === optionValue;
              });
            document.querySelectorAll(selector).forEach(el =>{
                if( shouldDisplay){
                    el.style.display = "block"
                    document.querySelector(selectorInput).setAttribute('form', '{{ 'product-form-' | append: section.id }}')
                    document.querySelectorAll('.hidden-input-fileupload').forEach(el => el.setAttribute('form', '{{ 'product-form-' | append: section.id }}'))
                }
                else{
                    el.style.display ="none"
                    document.querySelector(selectorInput).setAttribute('form', '');
                    document.querySelectorAll('.hidden-input-fileupload').forEach(el => el.setAttribute('form', ''))
                }
           
            } );
            if (required) {
                const customInput = document.querySelector(selectorInput)
                if (shouldDisplay) {
                    customInput.setAttribute('required', 'required');
                } else {
                    customInput.removeAttribute('required');
                }
            }
        }
        checkCurrentOption()
        document.querySelector(".product-variant-id").addEventListener('change', checkCurrentOption)
    })
    </script>
    
    animation: customAni 4s infinite;
	
	
	@Keyframes customAni{
	
		0% {
    transform: rotateX(0deg) translateY(0px);
}
50% {
    transform: rotateX(0deg) translateY(-80px);
}
100% {
    transform: rotateX(0deg) translateY(0px);
}
	
	}
{
	"blocks": [
		{
			"type": "header",
			"text": {
				"type": "plain_text",
				"text": ":sparkle-heart-blush: Boost Days - What's on this week! :sparkle-heart-blush:"
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": "Let's get ready to dive into a busy week here in the Wellington office! See below for what's in store"
			}
		},
		{
			"type": "divider"
		},
		{
			"type": "header",
			"text": {
				"type": "plain_text",
				"text": ":calendar-date-10: Tuesday, 10th February",
				"emoji": true
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": ":coffee: *Xero Café:* Café-style beverages and sweet treats.\n:rose: *Barista Special:* Rose Flat White _(Happy valentines!)_ \n:pancakes: *Breakfast:* Provided by Simply Food from *8.00am - 10.30am* on Level 3"
			}
		},
		{
			"type": "header",
			"text": {
				"type": "plain_text",
				"text": ":calendar-date-13: Thursday, 13th February",
				"emoji": true
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": ":coffee: *Xero Café:* Café-style beverages and sweet treats.\n:rose: *Barista Special:* Rose Flat White _(Happy valentines!)_ \n:knife_fork_plate: *Light Lunch*: Provided by NOSH from *12:00pm* on Level 3 \n :sun_with_face: *Social Happy Hour*: Spend Valentine's day eve enjoying a few bites and a drink from *4:00pm - 5:30pm* on *Level 3*"
			}
		},
		{
			"type": "divider"
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": "*What else?*"
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": "\n:microphone: *Speaker Series - Steve Vamos:* Join us in the _All Hands_ on *Friday* at *11:00am* to watch this Xeros Connect Event \n\n :gah-update: *February Global All Hands*: Hosted in the _All Hands_ on Friday at *12:00pm*"
			}
		},
		{
			"type": "divider"
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": "Stay tuned to this channel for more details, check out the <https://calendar.google.com/calendar/u/0?cid=Y180Y2UwNGEwNjY2YjI5NDNlZmEwZGM4YWI5MTdjMTcyNDE2NzVhZmQ5MTllN2EwZjg5NTg5OTVkMTA2MDAzZmEwQGdyb3VwLmNhbGVuZGFyLmdvb2dsZS5jb20|*Wellington Social Calendar.*>\n\nLove,\nWX :wx:"
			}
		}
	]
}
https://www.servicenow.com/community/developer-blog/dynamically-set-list-collector-on-change-of-variable/ba-p/2268044
let
    Source = crb3f_production_tracking_shipping,

    // Ensure the column is treated as text and handle null values
    #"Handled Nulls" = Table.TransformColumns(Source, {{"crb3f_void_fill_type", each if _ = null then "" else _, type text}}),

    // Define the list of uppercase words to remove
    UppercaseWordList = {"FOAM", "UNKNOWN", "TRAY", "BUBBLE WRAP"},

    // Remove rows where the value is fully uppercase AND in the word list
    #"Filtered Rows" = Table.SelectRows(#"Handled Nulls", each 
        not List.Contains(UppercaseWordList, [crb3f_void_fill_type])
    )

in
    #"Filtered Rows"
input.Add_notes _field = "<style>input.zc-live-primary-btn { display: none;}</style>";
That looks like an issue we’ve seen before on WordPress sites built with Elementor, specifically when the Elementor right sidebar has the ‘stick-to-top’ feature enabled.
The only solution I found on our end (though I think Elementor support could and should help find a solution on their end) is to set a minimum height value for our iframe. This ensures it loads at its maximum height from the start, before displaying the dropdown with availability options.
This is gonna 'hide' the twitching effect, which is due to the way Elementor loads the script inside that container.
docker run -p 8080:8080 -e KC_BOOTSTRAP_ADMIN_USERNAME=admin -e KC_BOOTSTRAP_ADMIN_PASSWORD=admin quay.io/keycloak/keycloak:26.1.1 start-dev
In the modern era, tokenization solutions are converting asset management. By converting physical and intangible assets into digital tokens, businesses can increase in capital, streamline transactions, and increase market accessibility. This innovative approach enables fractional ownership, allowing more investors to participate in previously inaccessible markets. With increased security, transparency, and efficiency, tokenization unlocks new opportunities for asset management, offering a smarter, more flexible way to manage and trade assets in the digital age.

Beleaf Technologies is the ideal choice for converting real assets into tokens, offering smooth, secure, and efficient tokenization solutions. Trust us to enhance availability  and market access for your assets.
To contact for instant  discount  :https://www.beleaftechnologies.com/real-estate-tokenization
Whatsapp: +91 7904323274
Skype: live:.cid.62ff8496
d3390349
Telegram: @BeleafSoftTech
Mail to: mailto:business@beleaftechnologies.com
Crypto wallet development provides secure and smooth digital asset management, encouraging users to store, send, and receive cryptocurrencies with confidence. With strong security and user-friendly interfaces. Our creative wallet development services ensure smooth management of your digital assets. With a focus on security, multi-asset support, and cross-platform compatibility, our wallets empower users with complete control over their transactions. From hardware and software wallets to mobile solutions, we deliver products equipped with top-tier encryption, strong private key management, and sensitive interfaces. Trust with Beleaf Technologies for crypto wallet development services that set new standards in the blockchain ecosystem.

Get a free demo >> https://www.beleaftechnologies.com/crypto-wallet-app-development 

Whatsapp :  +91 8056786622 

Mail to :  business@beleaftechnologies.com

Telegram : https://telegram.me/BeleafSoftTech
#region UsrSelectionStatus
    [PXDBString(64, IsUnicode = true)]
    [PXUIField(DisplayName = "Vorgang", Enabled = false)]
    [PXDefault(UsrSelectionStatus.INI, PersistingCheck = PXPersistingCheck.Nothing)]
    [PXStringList(
      new string[] {
        usrSelectionStatus.INI, usrSelectionStatus.PPAYREQ, usrSelectionStatus.PPAYSEND, usrSelectionStatus.PPAYREC,
        usrSelectionStatus.PRODRDY, usrSelectionStatus.INPROD, usrSelectionStatus.SHIPRDY, usrSelectionStatus.SHIPPED,
        usrSelectionStatus.INVRDY, usrSelectionStatus.INVSEND, usrSelectionStatus.CLOSED
      },
      new string[] {
        "Quote Angenommen", "Vorkasse erstellen", "Vorkassenrechnung versendet", "Vorkasse erhalten",
        "Bereit für Produktion", "In Produktion", "Versandbereitschaft hergestellt",
        "Versendet / auf Abrechnung Abfüller warten", "Abrechnung Abfüller erhalten / Rechnung",
        "Schlussrechnung versendet", "Zahlung erhalten / Auftrag beendet"
      }
    )]
    public virtual string UsrSelectionStatus { get; set; }

    // Defines the BQL field class
    public abstract class usrSelectionStatus : PX.Data.BQL.BqlString.Field<usrSelectionStatus> 
    { 
        // ✅ Constants are now directly inside the field class
        public const string STEP1 = "STEP1";
        public const string STEP2 = "STEP2";
        public const string STEP3 = "STEP3";
        public const string STEP4 = "STEP4";
        public const string STEP5 = "STEP5";
        public const string STEP6 = "STEP6";
        public const string STEP7 = "STEP7";
        public const string STEP8 = "STEP8";
        public const string STEP9 = "STEP9";
        public const string STEP10 = "STEP10";
        public const string STEP11 = "STEP11";

        // ✅ BQL Constants for Queries
        public class step1 : PX.Data.BQL.BqlString.Constant<step1> { public step1() : base(STEP1) { } }
        public class step2 : PX.Data.BQL.BqlString.Constant<step2> { public step2() : base(STEP2) { } }
        public class step3 : PX.Data.BQL.BqlString.Constant<step3> { public step3() : base(STEP3) { } }
        public class step4 : PX.Data.BQL.BqlString.Constant<step4> { public step4() : base(STEP4) { } }
        public class step5 : PX.Data.BQL.BqlString.Constant<step5> { public step5() : base(STEP5) { } }
        public class step6 : PX.Data.BQL.BqlString.Constant<step6> { public step6() : base(STEP6) { } }
        public class step7 : PX.Data.BQL.BqlString.Constant<step7> { public step7() : base(STEP7) { } }
        public class step8 : PX.Data.BQL.BqlString.Constant<step8> { public step8() : base(STEP8) { } }
        public class step9 : PX.Data.BQL.BqlString.Constant<step9> { public step9() : base(STEP9) { } }
        public class step10 : PX.Data.BQL.BqlString.Constant<step10> { public step10() : base(STEP10) { } }
        public class step11 : PX.Data.BQL.BqlString.Constant<step11> { public step11() : base(STEP11) { } }
    }
#endregion
<script
  type="application/json"
  data-section-type="gallery"
  data-section-id="{{ section.id }}"
>
</script>

{%- assign id = section.id -%}

{% comment %} Content settings {% endcomment %}
{%- assign blocks = section.blocks -%}
{%- assign title = section.settings.title | escape -%}
{%- assign sub_title = section.settings.sub_title | escape -%}
{%- assign para = section.settings.paragraph -%}
{% assign svw_base = 'col-12' %}
{% if section.settings.grid-size == 2 %}
  {% assign svw = ' col-md-6' %}
{% elsif section.settings.grid-size == 3 %}
  {% assign svw = ' col-md-4' %}
{% else %}
  {% assign svw = ' col-md-3' %}
{% endif %}
{% comment %} End content settings {% endcomment %}



{% comment %} Section specific CSS {% endcomment %}
{% style %}
  {%
    render 'css-loop',
    css: custom_css,
    id: id
  %}
{% endstyle %}

<section
  class="
    section
    section_ms_yt_videos
    {{ css_class }}
  "
>
  <div
    class="
      {% comment %}container{% endcomment %}
      ms_yt_videos
    "
    id="ms_yt_videos_section-{{ section.id }}"
  >
    {% if title != blank %}
      <div class="one-whole column">
        <p class="title center">{{ title }}</p>
        <div class="feature_divider"></div>
      </div>
    {% endif %}

    {% if sub_title != blank %}
      <div class="one-whole column">
        <p class="sub_title">{{ sub_title }}</p>
        <div class="feature_divider"></div>
      </div>
    {% endif %}

    {% if para != blank %}
      <div class="row">
        <div class="col-md-2 col-12"></div>
        <div class="col-md-10 col-12">
          <div class="one-whole column">
            <p class="para">{{ para }}</p>
            <div class="feature_divider"></div>
          </div>
        </div>
      </div>
    {% endif %}

    {% assign index = 0 %}
    {% if blocks.size > 0 %}
       <div class="row">
          {%- for block in section.blocks -%}
              {% assign index = index | plus:1 %}
              {% assign bs = block.settings %}
              {% assign base_url = "https://www.youtube.com/embed/" %}
              {% assign url = bs.video_url | strip %}
              {% if url contains "youtu.be" %}
                {% assign video_id = url | split: "be/" | last | split: "?" | first %}
              {% elsif url contains "watch?v=" %}
                {% assign video_id = url | split: "v=" | last | split: "&" | first %}
              {% elsif url contains "/embed/" %}
                {% assign video_id = url | split: "/embed/" | last | split: "?" | first %}
              {% else %}
                {% assign video_id = "" %}
              {% endif %}
            
              {% if video_id != "" %}
                <div class="{{ svw_base }}{{ svw }}">
                  <iframe width="560" height="315" src="{{ base_url }}{{ video_id }}" frameborder="0" allowfullscreen></iframe>
                </div>
              {% endif %}
          {% endfor %}
       </div>
    {% endif %}
  </div>
</section>


{% schema %}
{
  "name": "Ms yt video",
  "class": "shopify-section--ms_yt_videos",
  "max_blocks": 24,
  "settings": [
    {
      "type": "checkbox",
      "id": "wide_display",
      "label": "Wide display",
      "default": false
    },
    {
      "type": "text",
      "id": "title",
      "label": "Heading",
      "default": "Video Gallery"
    },
    {
      "type": "text",
      "id": "sub_title",
      "label": "Sub heading",
      "default": "Scopri subito, guardando questi video, come lavora “in azione” la macchina per la pulizia professionale ed industriale adatta per i tuoi scopi."
    },
    {
      "type": "richtext",
      "id": "paragraph",
      "label": "Paragraph",
      "default": "<p>Default paragraph</p>"
    },
    {
      "type": "range",
      "id": "grid-size",
      "label": "Number of columns",
      "min": 2,
      "max": 4,
      "step": 1,
      "default": 4
    },
    {
      "type": "header",
      "content": "Advanced"
    },
    {
      "type": "paragraph",
      "content": "[Learn more](https://help.outofthesandbox.com/hc/en-us/articles/360022329373)"
    }
  ],
  "blocks": [
    {
      "type": "video",
      "name": "Video",
      "settings": [
        {
          "type": "text",
          "id": "video_title",
          "label": "Video title"
        },
        {
          "type": "text",
          "id": "video_url",
          "label": "Video link"
        },
        {
          "type": "text",
          "id": "video_label",
          "label": "Video label"
        },
        {
          "type": "url",
          "id": "video_label_url",
          "label": "Video label url"
        }
      ]
    }
  ],
  "presets": [
    {
      "name": "Ms yt videos",
      "blocks": [
        {
          "type": "video"
        },
        {
          "type": "video"
        },
        {
          "type": "video"
        }
      ]
    }
  ]
}

{% endschema %}
At Briotouch, we offer the best digital smart boards for education, designed to transform the learning experience. Our smart boards feature intuitive touch technology, vibrant displays, and seamless connectivity, enabling teachers and students to interact, collaborate, and engage with content in innovative ways. With advanced features like multi-touch support, wireless connectivity, and easy integration with educational software, Briotouch smart boards provide an all-in-one solution for modern classrooms. Visit https://briotouch.com/ today to explore how our digital smart boards can enhance your educational environment.



Crypto Arbitrage Bot Adoption Surges in 2025
According to a recent survey by CryptoQuant, over 68% of institutional traders have integrated AI-driven arbitrage bots into their strategies, capitalizing on price inefficiencies across global exchanges. With crypto volatility at an all-time high, automated arbitrage has become a critical tool for mitigating risk and securing consistent returns.
How Smart Arbitrage Works
🔹 Latency Arbitrage – Executes trades in milliseconds before price updates synchronize across exchanges.
🔹 Triangular Arbitrage – Exploits price disparities between three trading pairs on a single platform.
🔹 Statistical Arbitrage – Uses AI and machine learning to predict and capitalize on short-term price movements.
Why Crypto Arbitrage Bots Are Leading the Market
✅ 99.9% Execution Accuracy – Advanced order routing for real-time trade execution.
✅ AI-Powered Trade Optimization – Constantly adapts to market fluctuations.
✅ Exchange Integration – Works seamlessly with Binance, Coinbase, Kraken, and more.
✅ Risk-Free Arbitrage Models – Eliminates exposure to market downturns.
Fact: A study by Chainalysis revealed that traders using arbitrage bots saw 37% higher profits compared to manual traders in Q4 2023.
Don’t let market volatility control you—let your bot do the work! Optimize your crypto trading with a high-speed, AI-powered Crypto Arbitrage Bot at COINSQUEENS.

#include <iostream>
using namespace std;

int sumOfDigits = 0;

void SumOfDigits(int n){
  if(n%10 == 0){
    cout << sumOfDigits;
    return;
  }
   
  sumOfDigits += n%10;
  n /= 10;
  SumOfDigits(n);
}

int main() {
    int n;
    cin >> n;
    
    SumOfDigits(n);
    return 0;
}
#include <iostream>
using namespace std;

int initialValue;

void IncreaseNumber(int n){
  if(n == initialValue){
    return;
  }
  
  n += 5;
  cout << n << " ";
  IncreaseNumber(n);
}

void DecreaseNumber(int n){
  if(n <= 0){
    cout << n << " ";
    IncreaseNumber(n);
    return;
  }
  
  cout << n << " ";
  n -= 5;
  DecreaseNumber(n);
}

int main() {
    cin >> initialValue;
    
    DecreaseNumber(initialValue);

    return 0;
}
<image src='{your_file_link}' frameborder='0' width='100%' height='100%'>
jQuery('.wpens_email').attr('placeholder', 'Enter Email Address');
[wpens_easy_newsletter firstname="no" lastname="no" button_text="⟶"]
# in terminal:
ENV{ID_FS_USAGE}=="filesystem", ENV{UDISKS_FILESYSTEM_SHARED}="1"

#################################
#      or enter  below          #
echo 'ENV{ID_FS_USAGE}=="filesystem", ENV{UDISKS_FILESYSTEM_SHARED}="1"' | \
#then enter this line and give your sudo password
sudo tee -a /etc/udev/rules.d/99-udisks2.rules 

# if reload is needed:
sudo udevadm control --reload


sudo apt update && sudo apt install samba samba-client samba-common cifs-utils
const limit = 15;
let count = 1;
Array(limit).fill(0).reduce((acc, _, index) => {
  const spaces = ' '.repeat(
    Math.abs(limit - count) / 2
  );
  const stars = '*'.repeat(count) + '\n';

  index >= Math.|
const courseContainer = document.querySelector(".qld-compare_page__courses .course-items");

courseContainer.addEventListener("click", function (e) {
    if (e.target.matches("button.compare")) {
        const clickedId = e.target.closest(".course").getAttribute("data-courseid");
        if (!clickedId) return;
        removeFromLocalStorage(clickedId);
    }
});
var difficulty = 15;
var correctSquare;
var p1Score = 0;
var p2Score = 0;
var currentPlayer = 1;

function updateScore(scoreChange){
  if(currentPlayer == 1){
    p1Score += scoreChange;
    setText("score1", p1Score);
  }
  else{
    p2Score += scoreChange;
    setText("score2", p2Score);
  }
}


{
	"blocks": [
		{
			"type": "header",
			"text": {
				"type": "plain_text",
				"text": ":sparkle-heart-blush: Boost Days - What's on this week! :sparkle-heart-blush:"
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": "Let's get ready to dive into a busy week here in the Auckland office! See below for what's in store"
			}
		},
		{
			"type": "divider"
		},
		{
			"type": "header",
			"text": {
				"type": "plain_text",
				"text": ":calendar-date-10: Tuesday, 10th February",
				"emoji": true
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": ":coffee: *Xero Café:* Café-style beverages and sweet treats.\n:tiramisu: *Barista Special:* Tiramisu Latte \n:pancakes: *Breakfast:* Provided by Catroux from *8.30am - 10.30am* in both the _All Hands & Small Hands_ kitchens"
			}
		},
		{
			"type": "header",
			"text": {
				"type": "plain_text",
				"text": ":calendar-date-13: Thursday, 13th February",
				"emoji": true
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": ":coffee: *Xero Café:* Café-style beverages and sweet treats.\n:tiramisu: *Barista Special:* Tiramisu Latte \n:knife_fork_plate: *Light Lunch*: Provided by Catroux from *12:30pm* in both the _All Hands & Small Hands_ kitchens \n :rainbow: *Social Happy Hour*: Celebrating love! Happy early valentines day :gift_heart: *4:00pm - 5:30pm* on *Level 3*"
			}
		},
		{
			"type": "divider"
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": "*What else?*"
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": "\n:microphone: *Speaker Series - Steve Vamos:* Join us in the _All Hands_ on *Friday* at *11:00am* to watch this Xeros Connect Event \n\n :gah-update: *February Global All Hands*: Hosted in the _All Hands_ on Friday at *12:00pm*"
			}
		},
		{
			"type": "divider"
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": "Stay tuned to this channel for more details, check out the <https://calendar.google.com/calendar/u/0?cid=eGVyby5jb21fMXM4M3NiZzc1dnY0aThpY2FiZDZvZ2xncW9AZ3JvdXAuY2FsZW5kYXIuZ29vZ2xlLmNvbQ|*Auckland Social Calendar.*>\n\nLove,\nWX :wx:"
			}
		}
	]
}
import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:go_router/go_router.dart';

import '../../../../app_core/utils/app_style.dart';

class OverlayAction {
  final String title;
  final Function() onTap;

  OverlayAction({required this.title, required this.onTap});
}

class OverlayPortalWidget extends StatefulWidget {
  final Widget child;
  final double offsetY;
  final List<OverlayAction> actions;

  const OverlayPortalWidget({
    super.key,
    required this.child,
    this.offsetY = 8.0,
    required this.actions,
  });

  @override
  State<OverlayPortalWidget> createState() => _OverlayPortalWidgetState();
}

class _OverlayPortalWidgetState extends State<OverlayPortalWidget>
    with SingleTickerProviderStateMixin {
  final OverlayPortalController _tooltipController = OverlayPortalController();
  late AnimationController _animationController;
  late Animation<double> _fadeAnimation;
  final GlobalKey _childKey = GlobalKey();
  final GlobalKey _tooltipKey = GlobalKey();

  Offset _overlayPosition = Offset.zero;
  bool _showAbove = false;
  late VoidCallback _routerListener;

  @override
  void initState() {
    super.initState();
    _animationController = AnimationController(
      vsync: this,
      duration: const Duration(milliseconds: 200),
      reverseDuration: const Duration(milliseconds: 150),
    );
    _fadeAnimation = CurvedAnimation(
      parent: _animationController,
      curve: Curves.easeOut,
      reverseCurve: Curves.easeIn,
    );

    // Добавляем слушатель маршрута в GoRouter
    _routerListener = () {
      if (_tooltipController.isShowing) {
        _tooltipController.hide();
      }
    };
    GoRouter.of(context).routerDelegate.addListener(_routerListener);
  }

  @override
  void dispose() {
    _tooltipController.hide(); // Гарантированное закрытие тултипа
    _animationController.dispose();
    GoRouter.of(context).routerDelegate.removeListener(_routerListener); // Удаление слушателя
    super.dispose();
  }

  void _toggleOverlay() {
    if (_tooltipController.isShowing) {
      _animationController.reverse().then((_) => _tooltipController.hide());
    } else {
      _calculateOverlayPosition();
      _tooltipController.show();
      _animationController.forward();
    }
  }

  /// Вычисляем позицию тултипа, чтобы он не выходил за границы экрана
  void _calculateOverlayPosition() {
    final RenderBox renderBox =
    _childKey.currentContext?.findRenderObject() as RenderBox;
    final Offset localOffset = renderBox.localToGlobal(Offset.zero);
    final Size screenSize = MediaQuery.of(context).size;

    WidgetsBinding.instance.addPostFrameCallback((_) {
      final RenderBox? tooltipBox =
      _tooltipKey.currentContext?.findRenderObject() as RenderBox?;
      final double tooltipHeight = tooltipBox?.size.height ?? 50.h;
      final double tooltipWidth = tooltipBox?.size.width ?? 200.w;

      double newX = localOffset.dx;
      double newY = localOffset.dy + renderBox.size.height + widget.offsetY;

      // Проверка на выход за правый край экрана
      if (newX + tooltipWidth > screenSize.width) {
        newX = screenSize.width - tooltipWidth - 30;
      }

      // Проверка на выход за левый край экрана
      if (newX < 0) {
        newX = 8; // Минимальный отступ от экрана
      }

      // Если тултип выходит за нижний край — показываем сверху
      bool showAbove = false;
      if (newY + tooltipHeight > screenSize.height) {
        newY = localOffset.dy - tooltipHeight - widget.offsetY;
        showAbove = true;
      }

      setState(() {
        _overlayPosition = Offset(newX, newY);
        _showAbove = showAbove;
      });
    });
  }

  @override
  Widget build(BuildContext context) {
    return GestureDetector(
      onTap: _toggleOverlay,
      child: OverlayPortal(
        controller: _tooltipController,
        overlayChildBuilder: (context) {
          return Positioned(
            left: _overlayPosition.dx,
            top: _overlayPosition.dy,
            child: FadeTransition(
              opacity: _fadeAnimation,
              child: Material(
                key: _tooltipKey,
                color: Colors.transparent,
                child: _listActions(),
              ),
            ),
          );
        },
        child: Container(
          key: _childKey,
          child: AbsorbPointer(child: widget.child),
        ),
      ),
    );
  }

  Widget _listActions() {
    return Container(
      decoration: BoxDecoration(
        color: Colors.white,
        borderRadius: BorderRadius.circular(12.r),
        boxShadow: [
          BoxShadow(
            color: Colors.black.withOpacity(0.1),
            blurRadius: 5,
            spreadRadius: 2,
          ),
        ],
      ),
      clipBehavior: Clip.antiAlias,
      child: Column(
        children: widget.actions.map(_action).toList(),
      ),
    );
  }

  Widget _action(OverlayAction action) {
    return GestureDetector(
      onTap: () {
        _tooltipController.hide();
        action.onTap.call();
      },
      child: Container(
        width: 150.w,
        color: Colors.white,
        padding: EdgeInsets.symmetric(horizontal: 16.w, vertical: 10.h),
        child: Row(
          children: [
            FittedBox(
              child: Text(
                action.title.tr(),
                maxLines: 1,
                textAlign: TextAlign.start,
                style: Theme.of(context).textTheme.titleSmall?.copyWith(
                  color: AppStyle.dark,
                  fontSize: 12.sp,
                ),
              ),
            ),
          ],
        ),
      ),
    );
  }
}
The blockchain revolution is here, and businesses worldwide are embracing cutting-edge solutions to stay ahead of the curve. If you are seeking to create a powerful, high performance blockchain, scalable, Solana is the game-changing platform you need!

With its lightning-fast transactions, robust ecosystem, low fees, Solana has become the go-to choice for startups, businesses and innovators that aims to create the next-gen decentralized applications (dApps), DeFi platforms, NFTs, and enterprise blockchain solutions.

Why Solana?

Unmatched Speed – Process up to 65,000 transactions per second (TPS) with near-instant finality.

Ultra-Low Costs – Say goodbye to high gas fees; Solana ensures cost-efficient blockchain operations.

Scalability Without Compromise – A future-ready network designed to grow with your business.

Strong Developer Community – A thriving ecosystem backed by leading blockchain innovators.

Success Stories - How Businesses are thriving with solana

Startups - Innovators are embarking next-gen DeFi platforms and NFT marketplaces that leverages Solana's speed and efficiency to disrupt industries.

Financial Enterprises - Companies are implementing Solana-powered payment solutions to permit fast, borderless transactions.

Gaming and Metaverse - Play-to-Earn (P2E) games and blockchain-powered virtual worlds are flourishing on Solana that provides seamless user experiences.

Globalized Brands - Businesses are tokenizing assets that creates DAOs and deploying blockchain-powered solutions to redefine customer engagement.

Partner with a Leading Solana Blockchain Development Company

Developing on Solana requires expertise, security, and a strategic approach. Whether you're building a custom blockchain, DeFi protocol, NFT marketplace, smart contracts, or a next-gen dApp, collaborating with a Solana blockchain development company ensures:

Custom blockchain architecture tailored to your needs

Secure, high-performance smart contracts

Seamless wallet integration & interoperability

Robust testing & audit for enhanced security

Ongoing support & optimization

Turn Your Vision into Reality with Solana!

Now is the time to embrace the blockchain revolution and build a future-proof business on Solana. Whether you're a startup, enterprise, or visionary entrepreneur, the right blockchain development partner can transform your ideas into a scalable, secure, and successful solution.

The future is decentralized. The future is Solana. Are you ready to lead the way?
<link rel="stylesheet" href="https://fh-kit.com/buttons/v2/?color=962526" type="text/css" media="screen" />
<style>
.fh-icon--snowflake::before {
    background-image: url(https://cdn.filestackcontent.com/ubHwJc2TX6XebtdnhHRm) !important;
    margin:-12px 0.1em .14em -0.2em !important;
    height: 1.4em !important;
    top: 0.5em !important;
    content: '' !important;
    display: inline-block !important;
    width: 2em !important;
    position: relative !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    filter: drop-shadow(0 -1px 1px rgba(0, 0, 0, 0.3)) !important;
	animation: spin 5s linear infinite !important;
}
</style>


<!-------- Fareharbor Lightframe and floating button -------->
<script src="https://fareharbor.com/embeds/api/v1/?autolightframe=yes"></script>
<a href="https://fareharbor.com/embeds/book/winterislandcph/?full-items=yes" style="padding: 0 1em !important; font-size: 32px !important; font-weight: 900 !important; box-shadow:none !important; font-family: 'Amatic SC', Sans-serif !important;" class="fh-lang fh-fixed--bottom fh-icon--snowflake fh-button-true-flat-color fh-hide--mobile">BOOK NU</a>
<a href="https://fareharbor.com/embeds/book/winterislandcph/?full-items=yes" style="padding: 0 2em !important; font-weight: 900 !important; box-shadow:none !important;" class="fh-lang fh-fixed--side fh-size--small fh-button-true-flat-color fh-hide--desktop">BOOK NU</a>

#include <iostream>
#include <vector>
using namespace std;

class BinaryHeap {
private:
    vector<int> heap; 
    
    void heapifyUp(int index) {
        
        int parent = (index - 1) / 2;

        
        if (index > 0 && heap[index] > heap[parent]) {
            swap(heap[index], heap[parent]);
        
            heapifyUp(parent);
        }
    }

public:
   BinaryHeap() {
        heap.push_back(-1); 
    }

   
    void insert(int value) {
      
        heap.push_back(value);
        
      
        heapifyUp(heap.size() - 1);
    }

  
    void printHeap() {
        for (int i = 1; i < heap.size(); i++) {
            cout << heap[i] << " ";
        }
        cout << endl;
    }
};

int main() {
    BinaryHeap heap;

  
    heap.insert(10);
    heap.insert(20);
    heap.insert(5);
    heap.insert(30);
    heap.insert(15);

    
    cout << "Heap after insertions: ";
    heap.printHeap();

    return 0;
}
Basic Types

@param {string} name → A string parameter
@param {number} age → A number parameter
@param {boolean} isActive → A boolean parameter
@param {void} → No return value
        
Array & Object Types

@param {Array} items → A generic array
@param {string[]} names → An array of strings
@param {number[]} scores → An array of numbers
@param {Object} user → A generic object
@param {{ id: number, name: string }} user → An object with specific properties
Function & Callback Types
@param {Function} callback → A function parameter
@param {(num: number) => void} callback → A function taking a number and returning nothing
Return Types
@returns {string} → Returns a string
@returns {number} → Returns a number
@returns {void} → Returns nothing
@returns {Promise<string>} → Returns a Promise resolving to a string

Other Useful Types

@param {any} value → Accepts any type
@param {null} data → A parameter that can be null
@param {undefined} value → A parameter that can be undefined
          
HTML Element Types 
          
@param {HTMLElement} element → Any HTML element
@param {HTMLDivElement} div → A <div> element
@param {HTMLButtonElement} button → A <button> element
@param {HTMLInputElement} input → An <input> element
@param {HTMLFormElement} form → A <form> element
use Illuminate\Support\Facades\Route;
 
Route::get('/greeting', function () {
    return 'Hello World';
});
Sizes
Static backdrop
Scrolling behavior
Vertically centered
Focus management
Toggle between modals
Stacked Overlays
Fullscreen Modal
Custom backdrop color
function sum(acc) {
  function input(n) {
    if (n === undefined) return acc;
    return sum(acc + n);
  }
  return acc === undefined ? 0 : input;
}
console.log(sum(1)(2)(3)()); // 6
console.log(sum(5)(10)(15)(20)()); // 50
console.log(sum()); // 0
let teamPlayers = ["Babar Azam", "Virat Kohli", "Shaheen Afridi", "Rohit Sharma", "Shubman Gill"];
console.log(teamPlayers);
In 2025, businesses need innovative software solutions to stay ahead in the competitive digital landscape. Beleaftechnologies stands out as a top custom software development company, delivering innovative, scalable, and high-performance solutions tailored to your unique business needs.
From enterprise software to AI-driven applications, blockchain solutions, and automation tools, we craft custom software that drives efficiency, enhances user experience, and accelerates growth. Our expert team ensures  development, integration, and support, helping you achieve your goals with reliable and future-ready technology.
 Ready to transform your business? Partner with Beleaftechnologies and experience the power of custom-built software. Let’s build the future together!
Contact us today!
Visit now >>https://www.beleaftechnologies.com/custom
-software-development-company
Whatsapp :  +91 8056786622
Email id :  business@beleaftechnologies.com
Telegram : https://telegram.me/BeleafSoftTech 

star

Fri Feb 07 2025 00:31:56 GMT+0000 (Coordinated Universal Time)

@v1ral_ITS

star

Fri Feb 07 2025 00:31:06 GMT+0000 (Coordinated Universal Time)

@v1ral_ITS

star

Thu Feb 06 2025 23:40:55 GMT+0000 (Coordinated Universal Time)

@nice

star

Thu Feb 06 2025 23:40:44 GMT+0000 (Coordinated Universal Time)

@procodefinder

star

Thu Feb 06 2025 22:02:28 GMT+0000 (Coordinated Universal Time)

@procodefinder

star

Thu Feb 06 2025 22:01:33 GMT+0000 (Coordinated Universal Time)

@procodefinder

star

Thu Feb 06 2025 21:30:10 GMT+0000 (Coordinated Universal Time)

@shahmeeriqbal

star

Thu Feb 06 2025 21:14:45 GMT+0000 (Coordinated Universal Time)

@FOHWellington

star

Thu Feb 06 2025 15:11:27 GMT+0000 (Coordinated Universal Time)

@bdusenberry

star

Thu Feb 06 2025 15:01:53 GMT+0000 (Coordinated Universal Time)

@RehmatAli2024 #deluge

star

Thu Feb 06 2025 13:43:20 GMT+0000 (Coordinated Universal Time)

@Shira

star

Thu Feb 06 2025 13:06:22 GMT+0000 (Coordinated Universal Time) https://www.magnonprisma.com/services/brand-awareness/

@magnonprismapr

star

Thu Feb 06 2025 11:58:14 GMT+0000 (Coordinated Universal Time) https://edistrict.up.gov.in/eDistrict/certificate/Domicile/Forms/DisplayDomicilCert.aspx

@VLECEBAH01393

star

Thu Feb 06 2025 11:46:42 GMT+0000 (Coordinated Universal Time) https://www.keycloak.org/getting-started/getting-started-docker

@akashpeter3

star

Thu Feb 06 2025 11:34:13 GMT+0000 (Coordinated Universal Time) https://www.beleaftechnologies.com/real-estate-tokenization

@stvejhon #crypto #cryptocurrency #exchange #meme

star

Thu Feb 06 2025 11:27:29 GMT+0000 (Coordinated Universal Time) https://www.beleaftechnologies.com/crypto-wallet-app-development

@Alwinedson

star

Thu Feb 06 2025 09:19:51 GMT+0000 (Coordinated Universal Time) https://www.magnongroup.com/

@magnongroup996

star

Thu Feb 06 2025 08:26:24 GMT+0000 (Coordinated Universal Time)

@SDureck #c#

star

Thu Feb 06 2025 08:17:25 GMT+0000 (Coordinated Universal Time)

@StefanoGi

star

Thu Feb 06 2025 07:46:57 GMT+0000 (Coordinated Universal Time) https://briotouch.com/

@britouch07

star

Thu Feb 06 2025 07:45:11 GMT+0000 (Coordinated Universal Time) https://briotouch.com/

@britouch07

star

Thu Feb 06 2025 07:26:39 GMT+0000 (Coordinated Universal Time) https://www.coinsqueens.com/blog/crypto-arbitrage-trading-bot

@athenapetridis

star

Thu Feb 06 2025 05:09:43 GMT+0000 (Coordinated Universal Time)

@Rohan@99

star

Thu Feb 06 2025 04:37:18 GMT+0000 (Coordinated Universal Time) https://nimbus.org.in/course/ssc-je-electrical-engineering

@nimbusindia ##sscje ##sscjeonlineclasses #sscje2025

star

Thu Feb 06 2025 04:29:03 GMT+0000 (Coordinated Universal Time) https://www.eapublications.org/category-product/ssc-je-books

@eapublication ##mcq ##books ##rrbje ##sscje

star

Thu Feb 06 2025 02:36:31 GMT+0000 (Coordinated Universal Time)

@procodefinder

star

Wed Feb 05 2025 19:44:33 GMT+0000 (Coordinated Universal Time)

@shahmeeriqbal

star

Wed Feb 05 2025 16:44:41 GMT+0000 (Coordinated Universal Time) https://sites.google.com/site/installationubuntu/home/ubuntu-17-10/change-mountpoint-of-usb-drives

@shawngibson #ubuntu #media

star

Wed Feb 05 2025 15:46:34 GMT+0000 (Coordinated Universal Time) https://www.tecmint.com/setup-samba-file-sharing-for-linux-windows-clients/

@shawngibson #ubuntu #samba

star

Wed Feb 05 2025 13:10:29 GMT+0000 (Coordinated Universal Time) https://runjs.app/

@redflashcode

star

Wed Feb 05 2025 09:34:51 GMT+0000 (Coordinated Universal Time) https://www.kryptobees.com/blog/triangular-arbitrage-bot

@Rick_Grimes #crypto #blockchain

star

Wed Feb 05 2025 05:49:29 GMT+0000 (Coordinated Universal Time)

@davidmchale

star

Wed Feb 05 2025 04:27:57 GMT+0000 (Coordinated Universal Time) https://codeprint.org/

@2025arjonaj

star

Wed Feb 05 2025 04:27:03 GMT+0000 (Coordinated Universal Time) https://codeprint.org/

@2025arjonaj #javascript

star

Wed Feb 05 2025 02:48:11 GMT+0000 (Coordinated Universal Time)

@FOHWellington

star

Tue Feb 04 2025 12:13:47 GMT+0000 (Coordinated Universal Time) https://maticz.com/baccarat-game-development

@austinparker

star

Tue Feb 04 2025 10:50:00 GMT+0000 (Coordinated Universal Time)

@Samuel1347 #dart

star

Tue Feb 04 2025 10:20:42 GMT+0000 (Coordinated Universal Time) https://maticz.com/solana-blockchain-development

@jamielucas #solana #solanablockchaindevelopment

star

Tue Feb 04 2025 10:10:29 GMT+0000 (Coordinated Universal Time)

@Shira

star

Tue Feb 04 2025 06:34:13 GMT+0000 (Coordinated Universal Time)

@Mitali

star

Tue Feb 04 2025 02:23:17 GMT+0000 (Coordinated Universal Time)

@davidmchale #jsdocs #params #cheatsheet

star

Tue Feb 04 2025 02:13:44 GMT+0000 (Coordinated Universal Time) https://laravel.com/docs/11.x/routing

@saradhi

star

Tue Feb 04 2025 02:09:23 GMT+0000 (Coordinated Universal Time) https://laravel.com/docs/11.x/routing

@saradhi

star

Tue Feb 04 2025 02:08:27 GMT+0000 (Coordinated Universal Time) https://preline.co/docs/modal.html

@saradhi

star

Mon Feb 03 2025 22:22:48 GMT+0000 (Coordinated Universal Time)

@kanatov

star

Mon Feb 03 2025 17:33:37 GMT+0000 (Coordinated Universal Time)

@waqasajmal

star

Mon Feb 03 2025 12:52:20 GMT+0000 (Coordinated Universal Time) https://www.beleaftechnologies.com/custom -software-development-company

@raydensmith #customsoftwaredevelopment #customsoftware #softwaredevelolpment

star

Mon Feb 03 2025 11:12:23 GMT+0000 (Coordinated Universal Time) https://xn--h1adpy.xn--p1ai/products/presents-an-applied-nature/panels-and-plates

@alexrw

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension