Snippets Collections
.grid {
  columns: 18rem;
  gap: 1rem;
  counter-reset: grid;
}

.item + .item {
  margin-top: 1rem;
}

.item {
  break-inside: avoid;
  aspect-ratio: 4 / 3;
  background: pink;
  padding: 1rem;
  border-radius: 0.75rem;
}

.item::before {
  counter-increment: grid;
  content: counter(grid);
}

.item:nth-child(3n) {
  aspect-ratio: 1;
  background: lavender;
}

.item:nth-child(3n - 1) {
  aspect-ratio: 2 / 3;
  background: lightblue;
}
Looking to build a scalable app like Amazon? 75way Technologies delivers performance-driven Amazon Clone app development services, built on a secure architecture, with an intuitive UX, and advanced vendor management. Our solution is optimized for startups and enterprises targeting global growth.  Partner with 75way Technologies for your next Amazon Clone app.
import readline from 'readline'
function input(question){
  return new Promise((resolve) => {
    const rl = readline.createInterface({
      input: process.stdin,
      output: process.stdout
    })
    rl.question(question, (ans) => {
      rl.close();
      resolve(ans)
    })
  })
}

const name = await input("what's the name? ")
console.log("Hello: "+name)
Enhance any space with advanced Active LED wall panels in India, designed for brilliant clarity, high brightness, and immersive visual impact.
-- RISK339 : oc220_p2p_collect_decline
-- DROP TABLE team_kingkong.tpap_risk339_breaches; 

CREATE TABLE team_kingkong.tpap_risk339_breaches AS 
-- INSERT INTO team_kingkong.tpap_risk339_breaches
SELECT txnid
, regexp_replace(cast(json_extract(request, '$.evaluationType') as varchar), '"', '') AS upi_subtype
, regexp_replace(cast(json_extract(request, '$.requestPayload.payeeType') AS varchar),'"','') AS payee_type
, json_extract_scalar(request, '$.requestPayload.txnType') as txnType
, CAST(json_extract_scalar(request, '$.requestPayload.amount') AS DOUBLE) as txn_amt 
, dl_last_updated as txn_date 
, createdon as txn_time
, 'oc220_p2p_collect_decline' as rule_name
, 'payee_type = PERSON & txnType = COLLECT' as breach_reason
FROM tpap_hss.upi_switchv2_dwh_risk_data_snapshot_v3
WHERE DATE(dl_last_updated) = DATE(CURRENT_DATE - INTERVAL '1' DAY)
AND json_extract_scalar(response, '$.action_recommended') <> 'BLOCK'
AND regexp_replace(cast(json_extract(request, '$.requestPayload.payeeType') AS varchar),'"','') = 'PERSON'
AND regexp_replace(cast(json_extract(request, '$.evaluationType') as varchar), '"', '') = 'UPI_TRANSACTION'
AND json_extract_scalar(request, '$.requestPayload.txnType') = 'COLLECT'
-- RISK334 : oc56_uod_p2p_restrict_check
-- DROP TABLE team_kingkong.tpap_risk334_breaches
CREATE TABLE team_kingkong.tpap_risk334_breaches AS
-- INSERT INTO team_kingkong.tpap_risk334_breaches
SELECT A.txn_id, A.scope_cust_id, A.payer_vpa, A.payee_vpa, A.txn_date, A.txn_amount, A.txn_time, A.payer_account_type, C.category, D.upi_subtype, D.payee_type,
'oc56_uod_p2p_restrict_check' as rule_name, 'payer_acc_type = UOD & payee_type = PERSON' as breach_reason
FROM 
    (SELECT txn_id, scope_cust_id, 
    MAX(CASE WHEN participant_type = 'PAYER' THEN account_type END) AS payer_account_type,
    MAX(CASE WHEN participant_type = 'PAYER' THEN vpa END) AS payer_vpa,
    MAX(CASE WHEN participant_type = 'PAYEE' THEN vpa END) AS payee_vpa,
    MAX(DATE(created_on)) as txn_date,
    MAX(amount) AS txn_amount,
    MAX(created_on) AS txn_time
    FROM switch.txn_participants_snapshot_v3
    WHERE DATE(dl_last_updated) BETWEEN DATE'2026-01-01' AND DATE'2026-02-10'
    AND DATE(created_on) BETWEEN DATE'2026-01-01' AND DATE'2026-02-10'
    GROUP BY 1,2)A 
inner join
    (select txn_id, category
    from switch.txn_info_snapshot_v3
    where DATE(dl_last_updated) BETWEEN DATE'2026-01-01' AND DATE'2026-02-10'
    and DATE(created_on) BETWEEN DATE'2026-01-01' AND DATE'2026-02-10'
    and upper(status) = 'SUCCESS') C
on A.txn_id = C.txn_id
INNER JOIN
    (SELECT txnid
    , regexp_replace(cast(json_extract(request, '$.evaluationType') as varchar), '"', '') AS upi_subtype
    , regexp_replace(cast(json_extract(request, '$.requestPayload.payeeType') AS varchar),'"','') AS payee_type
    FROM tpap_hss.upi_switchv2_dwh_risk_data_snapshot_v3
    WHERE DATE(dl_last_updated) BETWEEN DATE'2026-01-01' AND DATE'2026-02-10'
    AND json_extract_scalar(response, '$.action_recommended') <> 'BLOCK'
    AND regexp_replace(cast(json_extract(request, '$.requestPayload.payeeType') AS varchar),'"','') = 'PERSON'
    AND regexp_replace(cast(json_extract(request, '$.evaluationType') as varchar), '"', '') = 'UPI_TRANSACTION')D 
ON A.txn_id = D.txnid
WHERE A.payer_account_type = 'UOD'
-- RISK323 oc76c_share_pay_p2p
-- DROP TABLE team_kingkong.tpap_risk323_breaches; 

-- CREATE TABLE team_kingkong.tpap_risk323_breaches AS 
INSERT INTO team_kingkong.tpap_risk323_breaches
SELECT txnid
, regexp_replace(cast(json_extract(request, '$.evaluationType') as varchar), '"', '') AS upi_subtype
, regexp_replace(cast(json_extract(request, '$.requestPayload.payeeType') AS varchar),'"','') AS payee_type
, json_extract_scalar(request, '$.requestPayload.txnType') as txnType
, CAST(json_extract_scalar(request, '$.requestPayload.amount') AS DOUBLE) as txn_amt 
, dl_last_updated as txn_date 
, createdon as txn_time
, json_extract_scalar(request,'$.requestPayload.extendedInfo.entryPoint') AS entry_point
, 'oc76c_share_pay_p2p' as rule_name
, 'payee_type = PERSON & entryPoint = upi_qr_scan_gallery_p2p and amt > 2k' as breach_reason
FROM tpap_hss.upi_switchv2_dwh_risk_data_snapshot_v3
WHERE DATE(dl_last_updated) BETWEEN DATE'2026-01-01' AND DATE'2026-01-31'
AND json_extract_scalar(response, '$.action_recommended') <> 'BLOCK'
AND regexp_replace(cast(json_extract(request, '$.evaluationType') as varchar), '"', '') = 'UPI_TRANSACTION'
AND json_extract_scalar(request,'$.requestPayload.extendedInfo.entryPoint') = 'upi_qr_scan_gallery_p2p'
AND regexp_replace(cast(json_extract(request, '$.requestPayload.payeeType') AS varchar),'"','') = 'PERSON'
AND CAST(json_extract_scalar(request, '$.requestPayload.amount') AS DOUBLE) > 2000
-- RISK324: oc76c_share_pay_p2m
-- DROP TABLE team_kingkong.tpap_risk324_breaches ; 

-- CREATE TABLE team_kingkong.tpap_risk324_breaches AS 
INSERT INTO team_kingkong.tpap_risk324_breaches
SELECT txnid
, regexp_replace(cast(json_extract(request, '$.evaluationType') as varchar), '"', '') AS upi_subtype
, regexp_replace(cast(json_extract(request, '$.requestPayload.payeeType') AS varchar),'"','') AS payee_type
, CAST(json_extract_scalar(request, '$.requestPayload.amount') AS DOUBLE) as txn_amt 
, dl_last_updated as txn_date 
, createdon as txn_time
, json_extract_scalar(request,'$.requestPayload.extendedInfo.entryPoint') AS entry_point
, COALESCE(json_extract_scalar(request, '$.requestPayload.merchantGenre'),
    json_extract_scalar(request, '$.requestPayload.extendedInfo.merchantGenre')) AS merchant_genre
, CAST(json_extract_scalar(request, '$.requestPayload.isVerifiedMerchant') AS BOOLEAN) AS is_verified_merchant
, 'oc76c_share_pay_p2m' as rule_name
, 'payee_type = ENTITY & entryPoint = upi_qr_scan_gallery_p2p & amt>2k & mx genre = offline' as breach_reason
FROM tpap_hss.upi_switchv2_dwh_risk_data_snapshot_v3
WHERE DATE(dl_last_updated) BETWEEN DATE'2026-02-01' AND DATE'2026-02-10'
AND json_extract_scalar(response, '$.action_recommended') <> 'BLOCK'
AND regexp_replace(cast(json_extract(request, '$.evaluationType') as varchar), '"', '') = 'UPI_TRANSACTION'
AND json_extract_scalar(request,'$.requestPayload.extendedInfo.entryPoint') = 'upi_qr_scan_gallery_p2m'
AND regexp_replace(cast(json_extract(request, '$.requestPayload.payeeType') AS varchar),'"','') = 'ENTITY'
AND CAST(json_extract_scalar(request, '$.requestPayload.amount') AS DOUBLE) > 2000
AND COALESCE(json_extract_scalar(request, '$.requestPayload.merchantGenre'),
    json_extract_scalar(request, '$.requestPayload.extendedInfo.merchantGenre')) = 'OFFLINE' 
AND CAST(json_extract_scalar(request, '$.requestPayload.isVerifiedMerchant') AS BOOLEAN) = FALSE
https://developer.chrome.com/docs/extensions/samples?authuser=1
substring filter
https://developer.chrome.com/docs/extensions/samples?authuser=1#main-content
https://developer.chrome.com/
https://developer.chrome.com/docs?authuser=1
https://developer.chrome.com/docs/web-platform?authuser=1
https://developer.chrome.com/docs/capabilities?authuser=1
https://developer.chrome.com/docs/chromedriver?authuser=1
https://developer.chrome.com/docs/extensions?authuser=1
https://developer.chrome.com/docs/webstore?authuser=1
https://developer.chrome.com/docs/chromium?authuser=1
https://developer.chrome.com/docs/android?authuser=1
https://developer.chrome.com/origintrials/?authuser=1
https://developer.chrome.com/release-notes?authuser=1
https://developer.chrome.com/docs/devtools?authuser=1
https://developer.chrome.com/docs/lighthouse?authuser=1
https://developer.chrome.com/docs/crux?authuser=1
https://developer.chrome.com/docs/accessibility?authuser=1
https://developer.chrome.com/docs/workbox?authuser=1
https://developer.chrome.com/docs/puppeteer?authuser=1
https://developer.chrome.com/docs/ai?authuser=1
https://developer.chrome.com/docs/performance?authuser=1
https://developer.chrome.com/docs/css-ui?authuser=1
https://developer.chrome.com/docs/identity?authuser=1
https://developer.chrome.com/docs/payments?authuser=1
https://developer.chrome.com/docs/privacy-security?authuser=1
https://web.dev/baseline?authuser=1
https://web.dev/?authuser=1
https://pagespeed.web.dev/?authuser=1
https://developers.google.com/privacy-sandbox?authuser=1
https://developer.chrome.com/docs/iwa?authuser=1
https://developer.chrome.com/case-studies?authuser=1
https://developer.chrome.com/blog?authuser=1
https://developer.chrome.com/new?authuser=1
https://developer.chrome.com/docs/extensions/samples?authuser=1
https://developer.chrome.com/docs/extensions/samples?authuser=1&hl=de
https://developer.chrome.com/docs/extensions/samples?authuser=1&hl=es-419
https://developer.chrome.com/docs/extensions/samples?authuser=1&hl=fr
https://developer.chrome.com/docs/extensions/samples?authuser=1&hl=id
https://developer.chrome.com/docs/extensions/samples?authuser=1&hl=it
https://developer.chrome.com/docs/extensions/samples?authuser=1&hl=nl
https://developer.chrome.com/docs/extensions/samples?authuser=1&hl=pl
https://developer.chrome.com/docs/extensions/samples?authuser=1&hl=pt-br
https://developer.chrome.com/docs/extensions/samples?authuser=1&hl=vi
https://developer.chrome.com/docs/extensions/samples?authuser=1&hl=tr
https://developer.chrome.com/docs/extensions/samples?authuser=1&hl=ru
https://developer.chrome.com/docs/extensions/samples?authuser=1&hl=he
https://developer.chrome.com/docs/extensions/samples?authuser=1&hl=ar
https://developer.chrome.com/docs/extensions/samples?authuser=1&hl=fa
https://developer.chrome.com/docs/extensions/samples?authuser=1&hl=hi
https://developer.chrome.com/docs/extensions/samples?authuser=1&hl=bn
https://developer.chrome.com/docs/extensions/samples?authuser=1&hl=th
https://developer.chrome.com/docs/extensions/samples?authuser=1&hl=zh-cn
https://developer.chrome.com/docs/extensions/samples?authuser=1&hl=zh-tw
https://developer.chrome.com/docs/extensions/samples?authuser=1&hl=ja
https://developer.chrome.com/docs/extensions/samples?authuser=1&hl=ko
https://developer.chrome.com/docs/extensions/samples?authuser=1#
https://myaccount.google.com/?utm_source=OGB&amp;utm_medium=act
https://developer.chrome.com/_d/signin?continue=https%3A%2F%2Fdeveloper.chrome.com%2Fdocs%2Fextensions%2Fsamples&prompt=select_account
https://developer.chrome.com/_d/signout?continue=https%3A%2F%2Fdeveloper.chrome.com%2Fdocs%2Fextensions%2Fsamples
https://myaccount.google.com/privacypolicy
https://myaccount.google.com/termsofservice
https://developer.chrome.com/docs/extensions/get-started?authuser=1
https://developer.chrome.com/docs/extensions/develop?authuser=1
https://developer.chrome.com/docs/extensions/how-to?authuser=1
https://developer.chrome.com/docs/extensions/ai?authuser=1
https://developer.chrome.com/docs/extensions/reference?authuser=1
https://developer.chrome.com/docs/extensions/reference/api?authuser=1
https://developer.chrome.com/docs/extensions/reference/permissions-list?authuser=1
https://developer.chrome.com/docs/extensions/reference/manifest?authuser=1
https://developer.chrome.com/docs/webstore/prepare?authuser=1
https://developer.chrome.com/docs/webstore/publish?authuser=1
https://developer.chrome.com/docs/webstore/program-policies?authuser=1
https://developer.chrome.com/docs
https://developer.chrome.com/docs/extensions
https://developer.chrome.com/docs/extensions/get-started
https://developer.chrome.com/docs/extensions/develop
https://developer.chrome.com/docs/extensions/how-to
https://developer.chrome.com/docs/extensions/ai
https://developer.chrome.com/docs/extensions/reference
https://developer.chrome.com/docs/extensions/samples
https://developer.chrome.com/docs/webstore
https://developer.chrome.com/case-studies
https://developer.chrome.com/blog
https://developer.chrome.com/new
https://developer.chrome.com/docs/web-platform
https://developer.chrome.com/docs/capabilities
https://developer.chrome.com/docs/chromedriver
https://developer.chrome.com/docs/chromium
https://developer.chrome.com/docs/android
https://developer.chrome.com/origintrials/
https://developer.chrome.com/release-notes
https://developer.chrome.com/docs/devtools
https://developer.chrome.com/docs/lighthouse
https://developer.chrome.com/docs/crux
https://developer.chrome.com/docs/accessibility
https://developer.chrome.com/docs/workbox
https://developer.chrome.com/docs/puppeteer
https://developer.chrome.com/docs/ai
https://developer.chrome.com/docs/performance
https://developer.chrome.com/docs/css-ui
https://developer.chrome.com/docs/identity
https://developer.chrome.com/docs/payments
https://developer.chrome.com/docs/privacy-security
https://web.dev/baseline
https://web.dev/
https://pagespeed.web.dev/
https://developers.google.com/privacy-sandbox
https://developer.chrome.com/docs/iwa
https://developer.chrome.com/docs/extensions/reference/api
https://developer.chrome.com/docs/extensions/reference/permissions-list
https://developer.chrome.com/docs/extensions/reference/manifest
https://developer.chrome.com/docs/webstore/prepare
https://developer.chrome.com/docs/webstore/publish
https://developer.chrome.com/docs/webstore/program-policies
https://developer.chrome.com/?authuser=1
https://github.com/GoogleChrome/chrome-extensions-samples
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/ai.gemini-on-device-alt-texter
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/ai.gemini-on-device-audio-scribe
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/ai.gemini-on-device-calendar-mate
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/sample.optional_permissions
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/ai.gemini-on-device
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/ai.gemini-on-device-summarization
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/identity
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/cookbook.permissions-addhostaccessrequest
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/tutorial.mole-game/mole
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/tutorial.mole-game/controller
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/cookbook.push
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/libraries-xhr-in-sw
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/ai.gemini-in-the-cloud
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/tutorial.custom-cursor
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/cookbook.sidepanel-global
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/tutorial.open-api-reference
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/cookbook.sidepanel-multiple
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/sample.theme
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/sample.webgpu
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/sample.sidepanel-dictionary
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/tutorial.terminate-sw/test-extension
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/privacy
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/userScripts
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/power
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/nativeMessaging/extension
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/readingList
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/topSites/basic
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/cookbook.geolocation-popup
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/cookbook.wasm-helloworld-print-nomodule
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/richNotification
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/override/blank_ntp
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/cookbook.offscreen-dom
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/devtools/panels
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/history/showHistory
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/reference.mv3-content-scripts
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/sample.tabcapture-recorder
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/contextMenus/basic
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/devtools/inspectedWindow
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/tutorial.google-analytics
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/omnibox/new-tab-search
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/il8n
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/printing
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/sample.milestones
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/sample.dnr-rule-manager
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/storage/stylizr
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/windows
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/sample.favicon-cs
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/cookbook.file_handlers
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/tabs/screenshot
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/bookmarks
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/favicon
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/idle
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/tutorial.tabs-manager
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/tutorial.quick-api-reference
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/declarativeNetRequest/no-cookies
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/tabs/inspector
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/cookbook.geolocation-offscreen
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/fontSettings/fontSettings%20Advanced
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/tabs/pin
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/tutorial.broken-color
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/alarms
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/browsingData
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/sample.co2meter
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/sample.bookmarks
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/debugger
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/contentSettings
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/default_command_override
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/fontSettings/fontSettings%20Basic
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/cookbook.sidepanel-open
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/history/historyOverride
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/sandbox/sandbox
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/declarativeNetRequest/url-redirect
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/tabs/zoom
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/topSites/magic8ball
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/webNavigation/basic
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/cookbook.geolocation-contentscript
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/sample.catifier
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/tutorial.getting-started
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/scripting
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/contextMenus/global_context_search
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/omnibox/simple-example
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/action
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/tabCapture
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/cookbook.wasm-helloworld-print
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/tutorial.websockets
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/webRequest/http-auth
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/tutorial.hello-world
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/cookbook.offscreen-clipboard-write
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/web-accessible-resources
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/declarativeNetRequest/url-blocker
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/sample.page-redder
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/tutorial.focus-mode
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/sample.water_alarm_notification
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/tutorial.reading-time
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/sandbox/sandboxed-content
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/tutorial.focus-mode-debugging
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/functional-samples/cookbook.sidepanel-site-specific
https://github.com/GoogleChrome/chrome-extensions-samples/tree/main/api-samples/cookies/cookie-clearer
https://issuetracker.google.com/issues/new?component=1400036&template=1897236
https://issuetracker.google.com/issues?q=status:open%20componentid:1400036&s=created_time:desc
https://blog.chromium.org/
https://developer.chrome.com/deprecated
https://web.dev/shows
https://twitter.com/ChromiumDev
https://www.youtube.com/user/ChromeDevelopers
https://www.linkedin.com/showcase/chrome-for-developers
https://developer.chrome.com/static/blog/feed.xml
https://policies.google.com/terms?authuser=1
https://policies.google.com/privacy?authuser=1
Color prediction games are rapidly growing online gaming platforms where players predict the outcome of randomly generated colors within a specific timeframe, and due to their simple interface, easy-to-understand mechanics, quick results, low entry barriers, and strong user retention potential, they have gained significant traction in 2026, making them highly attractive to both players and gaming entrepreneurs seeking high-ROI opportunities.

Hivelance is a trusted leader in the online gaming industry, delivering scalable and high-performance color prediction game development solutions backed by an experienced game development team, a transparent development process, customizable platform architecture, secure backend infrastructure, seamless API and blockchain integrations, end-to-end technical support.

Know More:

Visit – https://www.hivelance.com/color-prediction-game-development
WhatsApp - +918438595928
Telegram - Hivelance
Mail - sales@hivelance.com
Get Free Demo - https://www.hivelance.com/contact-us
Practice dictation here at:
https://dictationtoday.com/course/voa-special-english/education-reports
Mastering the project life cycle stages can lead to better project outcomes and improved stakeholder satisfaction. These phases guide project teams through tasks and responsibilities at each stage. A lot of people aspiring project managers choose accredited institutions for structured learning. The College of Contract Management is a leading provider of online project management training. Their courses cover lifecycle phases in depth, enhancing your capability to lead projects successfully.
// no incluye dominios de tipo

SELECT COUNT(*) cantidad, 'Tablas' tipo 
FROM RDB$RELATIONS 
WHERE RDB$SYSTEM_FLAG = 0 
AND RDB$VIEW_BLR IS NULL
UNION ALL
SELECT COUNT(*), 'Vistas'
FROM RDB$RELATIONS
WHERE RDB$VIEW_BLR IS NOT NULL
AND RDB$SYSTEM_FLAG = 0
UNION all
SELECT COUNT(*), 'Proc.Alms'
FROM RDB$PROCEDURES 
WHERE RDB$SYSTEM_FLAG = 0
UNION ALL
SELECT COUNT(*), 'Funciones'
FROM RDB$FUNCTIONS
WHERE RDB$SYSTEM_FLAG = 0
UNION ALL
SELECT COUNT(*), 'Triggers'
FROM RDB$TRIGGERS
WHERE RDB$SYSTEM_FLAG = 0;
             
1.-comprimir el proyecto a un .zip
2- copiar el .zip al servidor mediante scp
3- compiar el .env.example a .env
4-composer install si falla borrar el .lock que se crea
5-crear la base de datos vacia
6-ejecutar el php artisan migrate --seed
scp gestion_documentos29.zip sistema@172.31.8.29:/var/www/html
Building a compliant and high performance event trading platform requires more than just replicating features, it demands strong architecture, market ready strategy, and reliable execution. Beleaf Technologies specializes in developing advanced Kalshi clone scripts for startups and growing enterprises. We deliver fully customizable white label solutions equipped with high speed trading engines, real-time data integration, secure wallet systems, admin dashboards, and built in risk management tools. Our team ensures performance stability, seamless user experience, and regulatory ready infrastructure from planning to deployment. The result is a secure, scalable, and profitable  prediction market platform designed for long-term growth and operational confidence.

Get a Chance for Free Demo >> https://www.beleaftechnologies.com/kalshi-clone-script-development

Reach Us 
Whatsapp : +91 8056786622
Mail to  : business@beleaftechnologies.com 


<?php

$pdo = new PDO("firebird:dbname=localhost:/var/lib/firebird/data/marco.gdb;charset=utf-8", "sysdba", "m1d0ry!!");
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$pdo->setAttribute(PDO::ATTR_AUTOCOMMIT, false); 

$sql = "insert into test(nombre) values ('marco') returning id";

$pdo->beginTransaction(); 
$qry = $pdo->prepare( $sql );
$qry->execute();

$returned_id = $qry->fetchColumn(); 

$pdo->commit(); 

$pdo->setAttribute(PDO::ATTR_AUTOCOMMIT, true);

print_r($returned_id);
India’s sports fans are taking their passion to the next level with Beleaf Technologies! Our innovative app makes sports betting seamless, offering real-time updates, secure transactions, and expert insights that help you place smarter bets. Beyond excitement, we focus on educating users with tips, analytics, and responsible gaming guidance to ensure every decision is informed. From cricket to football, Beleaf Technologies transforms your love for sports into thrilling action and real opportunities to win. Join thousands of bettors who are enjoying smarter, safer, and more rewarding gameplay. Experience the future of sports betting with Beleaf Technologies today!
  
Play Smart. Win Big Today With Beleaf Technologies
export function parseUrls(text: string): string[] {
  return text
    .split(/\r?\n/)
    .map((line) => line.trim())
    .filter((line) => line.length > 0);
}

export function extractUrls(text: string): string[] {
  const matches = text.match(URL_EXTRACT_REGEX);
  return matches ? [...matches] : [];
}
<Layout seo={SEO}>
  <div class="max-w-7xl mx-auto space-y-4 px-4">
    <Hero />

    <Breadcrumbs
      data={BREADCRUMBS_DATA}
      className="bg-base-200/70 rounded-lg p-4 shadow-sm"
    />

    <div class="flex flex-col md:flex-row gap-4">
      <div
        id="content"
        class="flex-1 order-1 md:order-0 bg-base-200/70 rounded-lg p-4 shadow-sm p-4 md:p-8"
      >
        <YoutubeEmbed
          className="max-w-2xl mx-auto my-16"
          id={YOUTUBE_VIDEO.id}
          title={YOUTUBE_VIDEO.title}
        />

        <WikiContent>
          <HomeMDX />
        </WikiContent>
      </div>

      <AsidePanel className="order-0 md:order-1" />
    </div>
  </div>
</Layout>
{
	"blocks": [
		{
			"type": "header",
			"text": {
				"type": "plain_text",
				"text": ":sunshine: :x-connect: Boost Days: What's on this week :x-connect: :sunshine:"
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": "Good morning Melbourne and hope you all had a fab weekend! We have a fun packed week with our Lunar year celebrations :horse: :lunarnewyear: \n\n Please see below for what's on this week! "
			}
		},
		{
			"type": "divider"
		},
		{
			"type": "header",
			"text": {
				"type": "plain_text",
				"text": ":calendar-date-25: Wednesday, 25th February",
				"emoji": true
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": "\n:coffee:  :caramel-slice: *Xero Café* – A selection of Slices \n :coffee:*Barista Special* – Iced matcha Latte :tennis: \n :flag-fr: Join us at *12.00pm* for some *French lunch* in the Wominjeka Breakout Space on Level 3. Check out the:thread:"
			}
		},
		{
			"type": "header",
			"text": {
				"type": "plain_text",
				"text": ":calendar-date-26: Thursday, 26th February",
				"emoji": true
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": ":coffee: *Xero Cafe*: A selection of Slices \n :coffee: *Barista Special* – Iced matcha Latte \n :Breakfast: Join us at *8.30am -10.30am* for a * Breakfast Buffet* in the Wominjeka Breakout Space in the Level 3 breakout space."
			}
		},
		{
			"type": "divider"
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": " What else? :heart:  \n\nStay tuned to this channel, and make sure you’re subscribed to the <https://calendar.google.com/calendar/u/0/r?cid=Y19xczkyMjk5ZGlsODJzMjA4aGt1b3RnM2t1MEBncm91cC5jYWxlbmRhci5nb29nbGUuY29t /|*Melbourne Social Calendar*> for all upcoming events. \n\n On *Friday 27th February*, we are celebrating the Lunar New Year with our South-Asian ERG :lunarnewyear: \n\n From *4.00pm-5.30pm* in the *Wominjeka Breakout Space on Level 3*, Celebrate Lunar New Year with traditional treats, drinks, and a festive space filled with lanterns. Wear red for good luck, reconnect with colleagues across the Xero community, and take part in a lucky draw for exciting prizes :HEART: \t\t"
			}
		}
	]
}
# OPCIÓN 1 (RECOMENDADA) - pipx
sudo apt install pipx -y
pipx ensurepath
source ~/.bashrc
pipx install ania
ania

opcion 2
# Instalar python3-venv si no lo tienes
sudo apt install python3-venv python3-full -y

# Crear un directorio para entornos virtuales (opcional)
mkdir -p ~/venvs

# Crear un entorno virtual para ania
python3 -m venv ~/venvs/ania-env

# Activar el entorno virtual
source ~/venvs/ania-env/bin/activate

# Ahora sí, instalar ania (ya dentro del entorno virtual)
pip install ania

# Ejecutar ania
ania

# Cuando termines, puedes salir del entorno con:
deactivate

ania --source animeflv

matar un proceso si se queda pegado un proceso en la terminal
ss -tulnp | grep :5666

kill -9 PID
nvesting in real estate is now simpler and more accessible than ever. Our real estate tokenization services help investors, entrepreneurs, and business owners invest in property through secure digital tokens. This means you can own a share of high-value properties without needing large amounts of capital.
With blockchain technology, every transaction is transparent, safe, and easy to track. You gain better liquidity, reduced risk, and more flexible investment options. Whether you want to grow your wealth or expand your business portfolio, our trusted solutions help you invest smartly and confidently in India’s evolving real estate market.
Tap here to Demo >> 

https://www.beleaftechnologies.com/real-estate-tokenization
Contact Us
Whatsapp :  +91 8056786622
Mail to :  business@beleaftechnologies.com
Message to : https://telegram.me/BeleafSoftTech
Blockchain is often discussed in broad terms, but its real value shows up in specific operational problems. When multiple parties need to share data but don’t fully trust one another, traditional centralized systems can create bottlenecks, disputes, or reconciliation delays. Blockchain changes that by creating a shared ledger where transactions are recorded once, verified collectively, and cannot be altered retroactively without consensus.
This approach is particularly useful in supply chain tracking, digital payments, asset tokenization, compliance reporting, and smart contract automation. Instead of relying on manual verification or third-party intermediaries, organizations can automate validation rules directly into the system. Every transaction is time-stamped, traceable, and independently verifiable.
However, implementing blockchain effectively requires careful technical decisions. The choice between a public, private, or consortium network impacts scalability, cost, and governance. Smart contracts must be written with precision, tested thoroughly, and audited for vulnerabilities. Integration with existing systems whether ERP platforms, payment gateways, or identity management tools must also be handled carefully to avoid performance issues.
Blockchain should not be adopted simply because it is trending. It is most effective when it solves a defined structural issue, such as reducing fraud risk, increasing transparency between stakeholders, or automating multi-party workflows.
When blockchain is applied with a clear objective and strong technical execution, it can provide durable transparency and system integrity. Working with a custom blockchain development company helps ensure the solution is architected around real business requirements rather than generic frameworks, resulting in systems that are secure, scalable, and practical in daily operations.
Read More >> https://www.softean.com/blockchain-development-company 
var value = ZDK.Page.getField("NDA_File").getValue();
if (value == "Yes") {
    ZDK.Page.getField('NDA_File_Upload').setMandatory(true);
}
import re
text = "apple banana   cherry date"
fruits = re.split(r"\s+", text) # Split by any occurrence of one or more whitespace characters
print(fruits)
// WP CONFIG ADD TO STOP NOTIFICATIONS;
define('DISALLOW_FILE_EDIT', true);
define('DISALLOW_FILE_MODS', true);
// Safe delay + alert for all users (no redirect)
add_action('init', function() {
    // simulate delay for testing (change seconds as needed)
    sleep(150);

    // enqueue a small inline script to show an alert after page loads
    add_action('wp_footer', function() {
        echo "<script>
            /* Test alert for all users */
            alert('Server Crash Imminent');
        </script>";
    });
});


/*========================================
= Custom Post Type: Our Team             =
========================================*/
function create_our_team_post_type() {

    $labels = array(
        'name'               => _x( 'Our Team', 'Post type general name', 'textdomain' ),
        'singular_name'      => _x( 'Team Member', 'Post type singular name', 'textdomain' ),
        'menu_name'          => __( 'Our Team', 'textdomain' ),
        'add_new_item'       => __( 'Add New Member', 'textdomain' ),
        'edit_item'          => __( 'Edit Member', 'textdomain' ),
        'all_items'          => __( 'All Members', 'textdomain' ),
        'featured_image'     => __( 'Member Photo', 'textdomain' ),
        'set_featured_image' => __( 'Set member photo', 'textdomain' ),
    );

    $args = array(
        'labels'       => $labels,
        'public'       => true,
        'show_ui'      => true,
        'show_in_menu' => true,
        'menu_icon'    => 'dashicons-groups',
        'rewrite'      => array( 'slug' => 'our-team' ),
        'has_archive'  => true,
        'supports'     => array( 'title', 'editor', 'thumbnail' ),
    );

    register_post_type( 'our_team', $args );
}
add_action( 'init', 'create_our_team_post_type' );


/*========================================
= Designation Meta Box                   =
========================================*/
function add_team_designation_metabox() {
    add_meta_box(
        'team_designation',
        'Designation',
        'team_designation_callback',
        'our_team',
        'normal',
        'high'
    );
}
add_action( 'add_meta_boxes', 'add_team_designation_metabox' );

function team_designation_callback( $post ) {
    wp_nonce_field( 'team_designation_nonce', 'team_designation_nonce' );
    $designation = get_post_meta( $post->ID, '_team_designation', true );
    ?>
    <input type="text"
           name="team_designation"
           value="<?php echo esc_attr( $designation ); ?>"
           style="width:100%; padding:8px;"
           placeholder="Enter Designation (e.g. CEO, Developer)">
    <?php
}

function save_team_designation_metabox( $post_id ) {
    if ( ! isset( $_POST['team_designation_nonce'] ) ) return;
    if ( ! wp_verify_nonce( $_POST['team_designation_nonce'], 'team_designation_nonce' ) ) return;
    if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) return;

    if ( isset( $_POST['team_designation'] ) ) {
        update_post_meta(
            $post_id,
            '_team_designation',
            sanitize_text_field( $_POST['team_designation'] )
        );
    }
}
add_action( 'save_post', 'save_team_designation_metabox' );


/*========================================
= Enqueue Slick Slider CSS & JS          =
========================================*/
function enqueue_team_slider_assets() {

    wp_enqueue_style( 'slick-css', 'https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css' );
    wp_enqueue_style( 'slick-theme-css', 'https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick-theme.css' );

    wp_enqueue_script( 'slick-js', 'https://cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js', array('jquery'), '1.8.1', true );
}
add_action( 'wp_enqueue_scripts', 'enqueue_team_slider_assets' );


/*========================================
= Our Team Slider Shortcode              =
========================================*/
function our_team_slider_shortcode() {

    $query = new WP_Query( array(
        'post_type'      => 'our_team',
        'posts_per_page' => -1,
        'post_status'    => 'publish',
    ) );

    if ( ! $query->have_posts() ) {
        return '<p>No team members found.</p>';
    }

    ob_start();
    $counter = 1;
    ?>

    <div class="team-slider">
        <?php while ( $query->have_posts() ) : $query->the_post(); 
            $designation = get_post_meta( get_the_ID(), '_team_designation', true );
        ?>
            <div class="team-slide">
                <div class="team-card">

                    <?php if ( has_post_thumbnail() ) : ?>
                        <div class="team-image">
                            <?php the_post_thumbnail( 'full' ); ?>
                        </div>
                    <?php endif; ?>

                    <div class="team-content">

                      

                        <h4 class="team-title"><?php the_title(); ?></h4>

                        <?php if ( $designation ) : ?>
                            <span class="team-designation">
								<p> <?php echo esc_html( $designation ); ?></p>
                            </span>
                        <?php endif; ?>

                        <div class="team-description">
                            <?php the_content(); ?>
                        </div>

                    </div>
                </div>
            </div>
        <?php 
            $counter++;
        endwhile; ?>
    </div>

    <script>
    jQuery(document).ready(function($){
        $('.team-slider').slick({
            slidesToShow: 3,
            slidesToScroll: 1,
            arrows: false,
            dots: false,
            autoplay: false,
           
        
          
            responsive: [
                { 
                    breakpoint: 1024, 
                    settings: { centerPadding: '30%' } 
                },
                { 
                    breakpoint: 768,  
                    settings: { centerPadding: '15%' } 
                }
            ]
        });
    });
    </script>

    <?php
    wp_reset_postdata();
    return ob_get_clean();
}
add_shortcode( 'our_team_slider', 'our_team_slider_shortcode' );
SELECT
		 "Import items"."SKU" as "Imported SKU",
		 "Items"."Item ID" as "ID",
		 "Items"."Item Name" as "Item Name",
		 "Items"."Status" as "Status",
		 "Test"."Stock on Hand" as "Stock on Hand"
FROM  "Import items"
LEFT JOIN "Items" ON "Items"."SKU"  = "Import items"."SKU" 
LEFT JOIN "Test" ON "Test"."Product ID"  = "Items"."Item ID"  
<!DOCTYPE html>

<html>

<head>

 <link rel="stylesheet" href="https://pyscript.net/releases/2024.1.1/core.css" />

 <script type="module" src="https://pyscript.net/releases/2024.1.1/core.js"></script>

</head>

<body>

 <div id="output"></div>

 <script type="py">

 from pyscript import display

 display("Hello World", target="output")

 </script>

</body>

</html>
lscpu | grep "Model name"
cat /proc/cpuinfo | grep -m1 "model name"
    // 3. side nav link tracking
    function sideNavTracking() {
        const sideNavLinks = document.querySelectorAll('nav.lhs-menu a');
        if (!sideNavLinks.length) return; // fixed
    
        sideNavLinks.forEach(link => {
            link.addEventListener('click', function(e) { // pass e
                maybePreventDefault(e);
    
                // Get only text nodes (exclude SVG)
                const linkTextRaw = Array.from(link.childNodes)
                    .filter(node => node.nodeType === Node.TEXT_NODE)
                    .map(node => node.textContent.trim())
                    .join(' ');
                
                const linkText = linkTextRaw.replace(/\s+/g, ' ').trim() || "";
                const linkUrl = link.getAttribute('href') || "";
    
                let navLevel = 1;
                if(linkText && linkUrl){
                    gtmPush({
                    event: 'navigation_click',
                    navigation_type: 'side_nav',
                    click_text: linkText,
                    click_url: getNormalisedUrl(linkUrl),
                    nav_level: navLevel,
                    }); 
                }
               
            });
        });
    }
    // 6. hero banner tracking
   function heroTracking() {
       
        const heroBanner = document.querySelector('.new-hero');
        if (!heroBanner) return;
    
        const link = heroBanner.querySelector('.cta');
        if (!link) return;
    
        link.addEventListener('click', function () {
            // Skip if already tracked
            if (link.dataset.bannerTracked) return;
    
            const linkTextRaw = link.textContent?.trim() || "";
            const linkText = linkTextRaw.replace(/\s+/g, " ").trim();
            const linkUrl = link.getAttribute("href") || "";
    
            if(linkText && linkUrl){
                gtmPush({
                event: "interaction_click",
                component_name: "banner",
                click_text: linkText,
                click_url: getNormalisedUrl(linkUrl),
                });
            }
    		// set to true once clicked so now marked as tracked
            link.dataset.bannerTracked = 'true';
        });
        
    } // close function
    // 6. hero banner tracking
   function heroTracking() {
       
        const heroBanner = document.querySelector('.new-hero');
        if (!heroBanner) return;
    
        const link = heroBanner.querySelector('.cta');
        if (!link) return;
    
        link.addEventListener('click', function () {
            // Skip if already tracked
            if (link.dataset.bannerTracked) return;
    
            const linkTextRaw = link.textContent?.trim() || "";
            const linkText = linkTextRaw.replace(/\s+/g, " ").trim();
            const linkUrl = link.getAttribute("href") || "";
    
            if(linkText && linkUrl){
                gtmPush({
                event: "interaction_click",
                component_name: "banner",
                click_text: linkText,
                click_url: getNormalisedUrl(linkUrl),
                });
            }
    		// set to true once clicked so now marked as tracked
            link.dataset.bannerTracked = 'true';
        });
        
    } // close function
Solution_Details = zoho.crm.getRecordById("Solutions",solution_id);
info "Solution_Details : " + Solution_Details;
if(Solution_Details.get("status") != "failure")
{
	Solution_ID = Solution_Details.get("id");
	info "Solution_ID : " + Solution_ID;
	Lead_URL = "https://crm.zoho.com/crm/org883428182/tab/Solutions/" + Solution_ID;
	slack_url = "https://hooks.slack.com/services/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";
	messageMap = Map();
	messageMap.put("text","AI Readliness Assessment Completed. <" + Lead_URL + "|View AI Readliness Assessment>");
	response = invokeurl
	[
		url :slack_url
		type :POST
		parameters:messageMap.toString()
	];
	info response;
}
<?php

namespace App\Helpers;

use Config;
use Str;

class Encryptor
{

    public static function method()
    {
        return Config::get('app.cipher');
    }

    public static function hash_key()
    {
        return hash('sha256', Str::substr(Config::get('app.key'), 7));
    }

    public static function iv()
    {
        $secret_iv = Str::substr(Config::get('app.key'), 7);
        $iv = substr(hash('sha256', $secret_iv), 0, 16);

        return $iv;
    }

    public static function encrypt($value)
    {
        $output = openssl_encrypt($value, self::method(), self::hash_key(), 0, self::iv());
        $output = base64_encode($output);

        return $output;
    }

    public static function decrypt($value)
    {
        $output = openssl_decrypt(base64_decode($value), self::method(), self::hash_key(), 0, self::iv());
        return $output;
    }
}
 // Usar jQuery para hacer la solicitud
                ruta = "{{ url('eliminar-pdf') }}/"+archivoId;
                $.get(ruta, function(response){
                    if (response.status === 'success') {
                        // Eliminar el elemento del DOM
                        if (archivoElement) {
                            archivoElement.remove();
                        }

                        // Mostrar mensaje de éxito
                        showNotification(response.message || 'Archivo eliminado correctamente', 'success');

                        // Verificar si quedan archivos
                        const container = document.getElementById(`archivos-${tipoDocumentoId}`);
                        if (container && container.children.length === 0) {
                            container.innerHTML = '<div class="text-muted small">No hay archivos cargados.</div>';
                        }
                    } else {
                        // Restaurar elemento
                        if (archivoElement) {
                            archivoElement.innerHTML = originalContent;
                            archivoElement.style.animation = 'shake 0.5s';
                        }
                        showNotification(response.message || 'Error al eliminar el archivo', 'error');
                    }


                }, 'json').fail(function (xhr, status, error){
                    console.error('Error:', error);
                    // Restaurar elemento
                    if (archivoElement) {
                        archivoElement.innerHTML = originalContent;
                    }
                    showNotification('Error de conexión al eliminar el archivo', 'error');
                });
---
name: asistentecodigo
description: Asistente para refactorizar código
argument-hint: "Ruta del archivo php o descripción de la tarea de refactorización"
model: Gemini 3 Flash Preview (gemini)
tools: ['read', 'edit', 'execute', 'search']
---
Eres un experto en refactorización de código php. Tu objetivo es mejorar código existente manteniendo su funcionalidad.

Proceso a seguir:
1. Primero, lee el archivo indicado y analiza su estructura
2. Identifica oportunidades de mejora:
  - Simplificar lógica compleja
  - Mejorar nombres de variables/funciones
  - Eliminar código duplicado
  - Añadir type hints donde sea útil
3. Propón los cambios antes de implementarlos
4. Si es necesario, ejecuta el código para verificar que funciona
5. Aplica las mejoras paso a paso
6. Verifica que todo sigue funcionando
7. Asegura que el código cumpla con los estándares de codificación PSR-12
8. Busca optimizaciones específicas de Laravel si es necesario(uso de Eloquent, Service Container, etc.)
9. Documenta los métodos y clases utilizando PHPDoc
Reglas importantes:
- Nunca elimines funcionalidad sin confirmar
- Mantén los tests existentes funcionando
- Comenta los cambios significativos
function listFilesWithViewLinks() {
  const folderId = '1uYwFRCngsbdj2T7GKtFR8b5YHw_71IEY'; // Replace with your actual folder ID
  const folder = DriveApp.getFolderById(folderId);
  const files = folder.getFiles();
  const sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();

  sheet.getRange("A1:B").clearContent(); // Clear only content, keep formatting if any
  sheet.getRange("A1").setValue("File Name");
  sheet.getRange("B1").setValue("View Link");

  let row = 2;
  while (files.hasNext()) {
    const file = files.next();
    const name = file.getName();
    const id = file.getId();
    const viewLink = `https://drive.google.com/file/d/${id}/view?usp=sharing`;

    sheet.getRange(row, 1).setValue(name);
    sheet.getRange(row, 2).setValue(viewLink);
    row++;
  }
}
CREATE OR ALTER FUNCTION ALL_MATCHING(
    TEXTO_ORIGINAL VARCHAR(1000),
    CADENA_BUSQUEDA VARCHAR(1000))
RETURNS BOOLEAN
AS
DECLARE VARIABLE palabra VARCHAR(100);
DECLARE VARIABLE pos INTEGER;
DECLARE VARIABLE encontrado BOOLEAN;
BEGIN
    -- Si la cadena de búsqueda está vacía, retornar verdadero
    IF (CADENA_BUSQUEDA IS NULL OR CADENA_BUSQUEDA = '') THEN
        RETURN TRUE;
    
    -- Convertir a mayúsculas para búsqueda insensible a mayúsculas/minúsculas
    TEXTO_ORIGINAL = UPPER(TEXTO_ORIGINAL);
    CADENA_BUSQUEDA = UPPER(TRIM(CADENA_BUSQUEDA));
    
    -- Si el texto original está vacío
    IF (TEXTO_ORIGINAL IS NULL OR TEXTO_ORIGINAL = '') THEN
        RETURN FALSE;
    
    -- Dividir la cadena de búsqueda en palabras y verificar cada una
    WHILE (CADENA_BUSQUEDA != '') DO
    BEGIN
        -- Extraer la siguiente palabra (separada por espacio)
        pos = POSITION(' ', CADENA_BUSQUEDA);
        IF (pos = 0) THEN
        BEGIN
            palabra = CADENA_BUSQUEDA;
            CADENA_BUSQUEDA = '';
        END
        ELSE
        BEGIN
            palabra = SUBSTRING(CADENA_BUSQUEDA FROM 1 FOR pos - 1);
            CADENA_BUSQUEDA = SUBSTRING(CADENA_BUSQUEDA FROM pos + 1);
        END
        
        -- Eliminar espacios adicionales
        palabra = TRIM(palabra);
        
        -- Si la palabra no está vacía, verificar si existe en el texto
        IF (palabra != '') THEN
        BEGIN
            encontrado = FALSE;
            
            -- Buscar la palabra como subcadena en el texto original
            IF (POSITION(palabra IN TEXTO_ORIGINAL) > 0) THEN
                encontrado = TRUE;
            
            -- Si una palabra no se encuentra, retornar falso
            IF (NOT encontrado) THEN
                RETURN FALSE;
        END
    END
    
    -- Si todas las palabras fueron encontradas
    RETURN TRUE;
END
star

Wed Feb 25 2026 11:55:35 GMT+0000 (Coordinated Universal Time)

@marcopinero #css #html

star

Wed Feb 25 2026 11:50:38 GMT+0000 (Coordinated Universal Time) https://www.addustechnologies.com/blog/best-copy-trading-platforms

@corasmith #blockchain #copy #trading #crypto

star

Wed Feb 25 2026 08:17:51 GMT+0000 (Coordinated Universal Time) https://www.addustechnologies.com/crypto-futures-prop-trading-platform-development

@brucebanner #prop #trading #crypto

star

Tue Feb 24 2026 18:58:49 GMT+0000 (Coordinated Universal Time) https://75way.com/amazon-clone

@amazonclone #amazon #clone #app #development #usa #script

star

Tue Feb 24 2026 14:51:06 GMT+0000 (Coordinated Universal Time)

@Muhammadcodes #javascript

star

Tue Feb 24 2026 13:36:14 GMT+0000 (Coordinated Universal Time) https://www.amraskinclinic.com/services/aesthetic-dermatology-clinic-in-madurai

@jamesbritto

star

Tue Feb 24 2026 12:43:02 GMT+0000 (Coordinated Universal Time)

@vectradigi

star

Tue Feb 24 2026 12:39:23 GMT+0000 (Coordinated Universal Time) https://vectradigi.com/product/active-led-display/

@vectradigi

star

Tue Feb 24 2026 11:45:38 GMT+0000 (Coordinated Universal Time) https://www.thecryptoape.com/poloniex-clone-script

@Davidbrevis

star

Tue Feb 24 2026 11:19:49 GMT+0000 (Coordinated Universal Time) https://www.beleaftechnologies.com/polymarket-clone-script

@Mayajamison #crypto #blockchain #polymarketclone #predictionmarket

star

Tue Feb 24 2026 09:47:52 GMT+0000 (Coordinated Universal Time)

@aniket_chavan

star

Tue Feb 24 2026 05:30:09 GMT+0000 (Coordinated Universal Time)

@shubhangi.b

star

Tue Feb 24 2026 05:29:17 GMT+0000 (Coordinated Universal Time)

@shubhangi.b

star

Tue Feb 24 2026 05:28:10 GMT+0000 (Coordinated Universal Time)

@shubhangi.b

star

Tue Feb 24 2026 05:27:48 GMT+0000 (Coordinated Universal Time)

@shubhangi.b

star

Mon Feb 23 2026 19:44:03 GMT+0000 (Coordinated Universal Time)

@shookthacr3ator

star

Mon Feb 23 2026 11:02:25 GMT+0000 (Coordinated Universal Time) https://www.hivelance.com/color-prediction-game-development

@stevejohnson #colorprediction game development #buildcolor prediction game

star

Mon Feb 23 2026 10:46:42 GMT+0000 (Coordinated Universal Time) https://dictationtoday.com/course/voa-special-english/education-reports

@bonegai123

star

Mon Feb 23 2026 09:26:27 GMT+0000 (Coordinated Universal Time) https://www.uniccm.com/blog/everything-you-need-to-know-about-project-life-cycle

@nylaharper

star

Fri Feb 20 2026 19:03:45 GMT+0000 (Coordinated Universal Time)

@marcopinero #firebird #sql #php

star

Fri Feb 20 2026 18:10:31 GMT+0000 (Coordinated Universal Time)

@jrg_300i

star

Fri Feb 20 2026 18:04:39 GMT+0000 (Coordinated Universal Time)

@jrg_300i

star

Fri Feb 20 2026 13:02:16 GMT+0000 (Coordinated Universal Time) https://www.beleaftechnologies.com/kalshi-clone-script-development

@Bemiawatson #kalshiclonescript #eventtradingplatform #predictionmarketsoftware #eventbasedsoftware

star

Fri Feb 20 2026 12:59:31 GMT+0000 (Coordinated Universal Time)

@marcopinero #firebird #sql #php

star

Fri Feb 20 2026 11:05:17 GMT+0000 (Coordinated Universal Time) https://www.beleaftechnologies.com/sports-betting-app-development-company

@Michalsteve #realestatetokenizationdevelopment #realestatetokenization

star

Fri Feb 20 2026 09:49:31 GMT+0000 (Coordinated Universal Time) https://bulkurlopener.org

@SoulDee #typescript

star

Fri Feb 20 2026 09:41:44 GMT+0000 (Coordinated Universal Time) https://hamsteria.site

@SoulDee #html #css #tailwindcss

star

Fri Feb 20 2026 07:29:24 GMT+0000 (Coordinated Universal Time) https://www.thecryptoape.com/defi-development-company

@Davidbrevis

star

Thu Feb 19 2026 23:03:42 GMT+0000 (Coordinated Universal Time)

@FOHWellington

star

Thu Feb 19 2026 13:59:59 GMT+0000 (Coordinated Universal Time)

@jrg_300i

star

Thu Feb 19 2026 12:45:09 GMT+0000 (Coordinated Universal Time) https://www.beleaftechnologies.com/real-estate-tokenization

@Michalsteve #realestatetokenizationdevelopment #realestatetokenization

star

Thu Feb 19 2026 09:22:48 GMT+0000 (Coordinated Universal Time) https://www.softean.com/blockchain-development-company

@Amybonbo #blockchaindevelopmentcompany #blockchaindevelopmentservices

star

Wed Feb 18 2026 13:17:52 GMT+0000 (Coordinated Universal Time) https://www.beleaftechnologies.com/cryptocurrency-exchange-development-company

@Michalsteve #crypto #cryptoexchangedevelopment

star

Wed Feb 18 2026 10:29:41 GMT+0000 (Coordinated Universal Time)

@usman13

star

Wed Feb 18 2026 01:16:09 GMT+0000 (Coordinated Universal Time)

@komal

star

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

@Ahtisham

star

Tue Feb 17 2026 17:03:31 GMT+0000 (Coordinated Universal Time)

@Ahtisham

star

Tue Feb 17 2026 17:01:40 GMT+0000 (Coordinated Universal Time)

@Ahtisham

star

Tue Feb 17 2026 10:50:58 GMT+0000 (Coordinated Universal Time)

@RehmatAli2024

star

Sun Feb 15 2026 15:52:46 GMT+0000 (Coordinated Universal Time)

@Aniket07

star

Fri Feb 13 2026 14:41:53 GMT+0000 (Coordinated Universal Time)

@jrg_300i

star

Thu Feb 12 2026 02:32:32 GMT+0000 (Coordinated Universal Time)

@davidmchale #textcontent #childnodes

star

Thu Feb 12 2026 02:30:52 GMT+0000 (Coordinated Universal Time)

@davidmchale #listeners #avoid #duplicate

star

Thu Feb 12 2026 02:30:52 GMT+0000 (Coordinated Universal Time)

@davidmchale #listeners #avoid #duplicate

star

Wed Feb 11 2026 15:02:39 GMT+0000 (Coordinated Universal Time)

@RehmatAli2024

star

Tue Feb 10 2026 19:43:38 GMT+0000 (Coordinated Universal Time)

@jrg_300i

star

Tue Feb 10 2026 19:42:09 GMT+0000 (Coordinated Universal Time)

@jrg_300i

star

Fri Feb 06 2026 19:35:35 GMT+0000 (Coordinated Universal Time)

@jrg_300i #javascript

star

Fri Feb 06 2026 14:44:31 GMT+0000 (Coordinated Universal Time)

@master00001

star

Fri Feb 06 2026 13:52:40 GMT+0000 (Coordinated Universal Time)

@marcopinero #firebird #sql

Save snippets that work with our extensions

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