Snippets Collections
<!DOCTYPE html>
<html lang="pt-br">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Para Você ❤️</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            text-align: center;
            background-color: #ffe6e6;
            padding: 50px;
        }
        .card {
            background: white;
            padding: 20px;
            border-radius: 10px;
            box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
            display: inline-block;
        }
        h1 {
            color: #ff4d4d;
        }
    </style>
</head>
<body>
    <div class="card">
        <h1>Para Minha Pessoa Especial ❤️</h1>
        <p>Oi, amor! Você é a melhor coisa que já aconteceu na minha vida.</p>
        <p>Cada momento ao seu lado é incrível, e eu sou muito grato por ter você.</p>
        <p>Te amo demais! 💕</p>
    </div>
</body>
</html>
<script>
// auto loading tabs
  var Webflow = Webflow || [];
  Webflow.push(function () {
    // Fix for Safari
    if (navigator.userAgent.includes("Safari")) {
      document.querySelectorAll(".acc_tab").forEach((t) => (t.focus = function () {
        const x = window.scrollX, y = window.scrollY;
        const f = () => {
          setTimeout(() => window.scrollTo(x, y), 1);
          t.removeEventListener("focus", f);
        };
        t.addEventListener("focus", f);
        HTMLElement.prototype.focus.apply(this, arguments);
      }));
    }
    // Start Tabs
    function startTabs() {
      var tabTimeout;
      clearTimeout(tabTimeout);
      tabLoop();
      // Connect your class names to elements.
      function tabLoop() {
        tabTimeout = setTimeout(function () {
          var $next = $('.acc_tabs-menu').children('.w--current:first').next();
          if ($next.length) {
            $next.click(); // user click resets timeout
          } else {
            $('.acc_tab:first').click();
          }
        }, 5000); // 5 Second Rotation
      }
      // Reset Loops
      $('.acc_tab').click(function () {
        clearTimeout(tabTimeout);
        tabLoop();
      });
    }
    // Run tabs function
    startTabs();
  });
</script>
INTEGRITY :

องค์กรที่ตั้งอยู่บนความชอบธรรม
POST /logs HTTP/1.1
Host: example.com
Content-Type: application/logplex-1
Logplex-Msg-Count: 10
User-Agent: log-shuttle/x (y; z; w; v)
Content-Length: 2660

266 <190>1 2017-03-15T16:10:27.008803+00:00 11844141-29d5-4425-9fd8-894759ae0dc7 heroku web.1 - - source=web.1 dyno=heroku.11844141-29d5-4425-9fd8-894759ae0dc7.91bd5d7c-b12c-47a0-9d67-daef0e4aca96 sample#load_avg_1m=0.00 sample#load_avg_5m=0.00 sample#load_avg_15m=0.00
391 <190>1 2017-03-15T16:10:27.009270+00:00 11844141-29d5-4425-9fd8-894759ae0dc7 heroku web.1 - - source=web.1 dyno=heroku.11844141-29d5-4425-9fd8-894759ae0dc7.91bd5d7c-b12c-47a0-9d67-daef0e4aca96 sample#memory_total=8.15MB sample#memory_rss=3.95MB sample#memory_cache=2.66MB sample#memory_swap=0.00MB sample#memory_pgpgin=2603pages sample#memory_pgpgout=1423pages sample#memory_quota=2560.00MB
266 <190>1 2017-03-15T16:10:57.008773+00:00 11844141-29d5-4425-9fd8-894759ae0dc7 heroku web.1 - - source=web.1 dyno=heroku.11844141-29d5-4425-9fd8-894759ae0dc7.91bd5d7c-b12c-47a0-9d67-daef0e4aca96 sample#load_avg_1m=0.00 sample#load_avg_5m=0.00 sample#load_avg_15m=0.00
391 <190>1 2017-03-15T16:10:57.009215+00:00 11844141-29d5-4425-9fd8-894759ae0dc7 heroku web.1 - - source=web.1 dyno=heroku.11844141-29d5-4425-9fd8-894759ae0dc7.91bd5d7c-b12c-47a0-9d67-daef0e4aca96 sample#memory_total=8.15MB sample#memory_rss=3.95MB sample#memory_cache=2.66MB sample#memory_swap=0.00MB sample#memory_pgpgin=2603pages sample#memory_pgpgout=1423pages sample#memory_quota=2560.00MB
266 <190>1 2017-03-15T16:11:27.008840+00:00 11844141-29d5-4425-9fd8-894759ae0dc7 heroku web.1 - - source=web.1 dyno=heroku.11844141-29d5-4425-9fd8-894759ae0dc7.91bd5d7c-b12c-47a0-9d67-daef0e4aca96 sample#load_avg_1m=0.00 sample#load_avg_5m=0.00 sample#load_avg_15m=0.00
391 <190>1 2017-03-15T16:11:27.009436+00:00 11844141-29d5-4425-9fd8-894759ae0dc7 heroku web.1 - - source=web.1 dyno=heroku.11844141-29d5-4425-9fd8-894759ae0dc7.91bd5d7c-b12c-47a0-9d67-daef0e4aca96 sample#memory_total=8.15MB sample#memory_rss=3.95MB sample#memory_cache=2.66MB sample#memory_swap=0.00MB sample#memory_pgpgin=2603pages sample#memory_pgpgout=1423pages sample#memory_quota=2560.00MB
266 <190>1 2017-03-15T16:11:57.008775+00:00 11844141-29d5-4425-9fd8-894759ae0dc7 heroku web.1 - - source=web.1 dyno=heroku.11844141-29d5-4425-9fd8-894759ae0dc7.91bd5d7c-b12c-47a0-9d67-daef0e4aca96 sample#load_avg_1m=0.00 sample#load_avg_5m=0.00 sample#load_avg_15m=0.00
391 <190>1 2017-03-15T16:11:57.009221+00:00 11844141-29d5-4425-9fd8-894759ae0dc7 heroku web.1 - - source=web.1 dyno=heroku.11844141-29d5-4425-9fd8-894759ae0dc7.91bd5d7c-b12c-47a0-9d67-daef0e4aca96 sample#memory_total=8.15MB sample#memory_rss=3.95MB sample#memory_cache=2.66MB sample#memory_swap=0.00MB sample#memory_pgpgin=2603pages sample#memory_pgpgout=1423pages sample#memory_quota=2560.00MB
<div align="center">
  <img src="https://s2.loli.net/2025/02/21/KFh9pSTxQWcDJwO.png" height="100">
  <div>&nbsp;</div>
  <img src="https://readme-typing-svg.herokuapp.com?font=Fira+Code&pause=1000&color=2EA2F7&center=true&vCenter=true&width=435&lines=YOU+FOCUS+YOUR+WALK" alt="Typing SVG" />
</div>

<!-- # Introduction
YOU FOCUS YOUR WALK is a pedestrian cell phone usage detection system. Once deployed on the streets, it detects the postures and the hand images of pedestrians to determine whether they are using a cell phone. The face of those who are using the cell phone will be announced. -->
$ heroku logs --dyno router
2012-02-07T09:43:06.123456+00:00 heroku[router]: at=info method=GET path="/stylesheets/dev-center/library.css" host=devcenter.heroku.com fwd="204.204.204.204" dyno=web.5 connect=1ms service=18ms status=200 bytes=13
2012-02-07T09:43:06.123456+00:00 heroku[router]: at=info method=GET path="/articles/bundler" host=devcenter.heroku.com fwd="204.204.204.204" dyno=web.6 connect=1ms service=18ms status=200 bytes=20375

$ heroku logs --source app
2012-02-07T09:45:47.123456+00:00 app[web.1]: Rendered shared/_search.html.erb (1.0ms)
2012-02-07T09:45:47.123456+00:00 app[web.1]: Completed 200 OK in 83ms (Views: 48.7ms | ActiveRecord: 32.2ms)
2012-02-07T09:45:47.123456+00:00 app[worker.1]: [Worker(host:465cf64e-61c8-46d3-b480-362bfd4ecff9 pid:1)] 1 jobs processed at 23.0330 j/s, 0 failed ...
2012-02-07T09:46:01.123456+00:00 app[web.6]: Started GET "/articles/buildpacks" for 4.1.81.209 at 2012-02-07 09:46:01 +0000

$ heroku logs --source app --dyno worker
2012-02-07T09:47:59.123456+00:00 app[worker.1]: [Worker(host:260cf64e-61c8-46d3-b480-362bfd4ecff9 pid:1)] Article#record_view_without_delay completed after 0.0221
2012-02-07T09:47:59.123456+00:00 app[worker.1]: [Worker(host:260cf64e-61c8-46d3-b480-362bfd4ecff9 pid:1)] 5 jobs processed at 31.6842 j/s, 0 failed ...
​

      <div class="testimonial-card">

        <div class="testimonial-author">Jeanette</div>

        <div class="star-rating">★★★★★</div>

        <div class="testimonial-text">I'm thrilled to have a yoga studio in the Excelsior neighborhood! The studio is very welcoming with a variety of classes.</div>

      </div>

​

      <div class="testimonial-card">

        <div class="testimonial-author">Thomas</div>

        <div class="star-rating">★★★★★</div>

        <div class="testimonial-text">A beautiful yoga studio with knowledgeable teachers. It's great to have a space like this in the community.</div>

      </div>

​

      <div class="testimonial-card">

        <div class="testimonial-author">Michelle</div>

        <div class="star-rating">★★★★★</div>

        <div class="testimonial-text">So glad this great yoga studio has recently opened up in the Excelsior. I have been taking a week of classes so far and I love it.</div>

      </div>

    </div>

  </div>

</div>

​
curl http://localhost:11434/api/embeddings -d '{
  "model": "nomic-embed-text",
  "prompt": "The sky is blue because of Rayleigh scattering"
}'
$a-tags: 'a, a:active, a:hover, a:visited';
$a-tags-hover: 'a:active, a:hover';
 
#{$a-tags} {
  color: red;
  text-decoration: none;
}
#{$a-tags-hover} {
  color: blue;
}
%bg-image {
    width: 100%;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
}

.image-one {
    @extend %bg-image;
    background-image:url(/img/image-one.jpg");
}

.image-two {
    @extend %bg-image;
    background-image:url(/img/image-two.jpg");
}
/* PLACEHOLDER 
============================================= */

%btn {
    padding: 10px;
    color:#fff;
    curser: pointer;
    border: none;
    shadow: none;
    font-size: 14px;
    width: 150px;
    margin: 5px 0;
    text-align: center;
    display: block;
}

/* BUTTON MIXIN 
============================================= */

@mixin  btn-background($btn-background) {
    @extend %btn;
    background-color: $btn-background;
    &:hover {
        background-color: lighten($btn-background,10%);
    }
}

/* BUTTONS
============================================= */

.cta-btn {
    @include btn-background(green);
}

.main-btn {
    @include btn-background(orange);
}

.info-btn {
    @include btn-background(blue);
}
@import reset
body
  font: 100% Helvetica, sans-serif
  background-color: #efefef
y = lambda n:n**0.5
print(y(9),y(10),sep='\t\t')
# 3.0		3.1622776601683795
z = lambda a,b: a**b
print(z(2,3),z(7,4),sep='\t\t')
# 8		2401

b1 = (lambda x:x>0)(10)
print(b1) # True
b2 = (lambda x,y:x-y)(8,6) # 2
print(b2)

print((lambda k:k%2==0)(5)) # False
print((lambda L:sum(L))([2,3,4,5])) # 14
// if file is always chosen
<a href="{{ product.metafields.custom.file.value.url | file_tag }}" target="new"> Download Rear End Order Form</a>

// if not all files chosen includes "No File Available"
{% if product.metafields.custom.file.value != blank %}
<a href="{{ product.metafields.custom.file.value.url | file_tag }}" target="new"> Download Installation Guide</a>
{% else %}
<p>No file available</p>
{% endif %}

// for product.metafields.custom.file.value.url input your namespace.key so product.metafields.namespace.key.value.url

// edit "Download Rear End Order Form" as needed for your theme
% particulars -v
Particulars 61 (414)
© 2014-24 Fraser Hess

% particulars -u
9 days, 7 hours, 31 minutes

% particulars --soc
Apple M3 Pro

% particulars --name --osversion
pear
macOS 14.5 (Build 23F79)

% particulars -mns
rabbit
MacBook Pro (Retina, 13-inch, Late 2013)
C03M87ZPFH01
implementation ‘org.springframework.boot:spring-boot-starter-oauth2-resource-server’

implementation ‘org.springframework.boot:spring-boot-starter-security’

implementation ‘org.springframework.boot:spring-boot-starter-web’
<dependency>
	<groupId>org.springframework.boot</groupId> 
	<artifactId>spring-boot-starter-oauth2-resource-server</artifactId>
</dependency>

<dependency>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-starter-security</artifactId>
</dependency>

<dependency>
	<groupId>org.springframework.boot</groupId>
	<artifactId>spring-boot-starter-web</artifactId>
</dependency>
    (() => {
        let selectedSizeSystem = null; // Global variable to store selected size system
    
        // Main mouseup handler
        const handleMouseUp = (event) => {
            const target = event.target;
    
            // Check if target or its parent has the js-size-selector attribute
            const sizeSelector = target.closest('[js-size-selector]');
            if (!sizeSelector) return;
    
            const newSizeSystem = sizeSelector.innerText.trim();
    
            // Only update and call updateProductContext if the size system changed
            if (selectedSizeSystem !== newSizeSystem) {
                selectedSizeSystem = newSizeSystem;
                console.log('Size system selector changed:', { text: selectedSizeSystem });
    
                // Call updateProductContext whenever the size system changess
                updateProductContext();
            }
        };
    
        // Use capture phase to ensure we get the mouseup before preventDefault
        document.addEventListener('mouseup', handleMouseUp, true);
    
        // Expose a function to get the selected size system
        window.getSelectedSizeSystem = () => selectedSizeSystem;
    })();  
Table.TransformColumns(Source, {{"Data", each Table.PromoteHeaders(_), type table}})
A Planilha de Fluxo de Caixa que todo negócio precisa para ter um controle de entradas e saídas bem feito possui 5 dashboards prontos, relatórios automáticos, classificação de contas e controle de status de pagamento. Com ela, você vai conseguir visualizar rapidamente a saúde financeira do seu negócio para tomar decisões mais seguras.
Com a Planilha de Fluxo de Caixa da LUZ, você ganha as funcionalidades de um sistema junto com a flexibilidade e a intuitividade de um modelo de Excel para controlar o seu fluxo de caixa.

A Planilha de Fluxo de Caixa ajuda negócios a controlarem suas entradas e saídas financeiras por meio de dashboards e relatórios automáticos.

Resumo da Planilha de Fluxo de Caixa
Dashboards e Relatórios Automáticos – Contém 5 dashboards para análise financeira rápida e relatórios automáticos.
Cadastro de Receitas e Despesas – Permite classificar entradas e saídas por tipo, ajudando na visualização detalhada do fluxo de caixa.
Lançamentos Diários – Registra entradas e saídas mensalmente, acompanhando saldos e pagamentos.
Monitoramento Diário – Identifica os melhores e piores dias para gestão do fluxo de caixa.
Relatório de Fluxo de Caixa – Exibe receitas, despesas, lucro/prejuízo e saldo acumulado.
Definição de Metas – Compara receitas e despesas planejadas com os valores realizados.
DRE (Demonstrativo de Resultado do Exercício) – Relatórios detalhados para análise pelo regime de competência.
Gestão de Valores em Aberto – Acompanha inadimplência de clientes e pagamentos pendentes.
Contas a Pagar e a Receber – Controle detalhado de obrigações financeiras.
Relatório para Impressão – Resultados financeiros apresentados em gráficos e tabelas prontas para impressão.
Dashboards Analíticos – Visões mensal, anual, de receitas, despesas e análise de contas para tomada de decisão.
A planilha permite tomadas de decisão mais seguras e melhor controle financeiro para o crescimento do negócio.

Dê uma olhada no link abaixo para acessar o Prompt que pode auxiliar você nesse tema. Tenho certeza de que isso vai transformar a maneira como você trabalha com seus dados e trazer mais praticidade ao seu dia a dia!

Link do Prompt:

https://prime.luz.vc/post/prompt-criar-plano-de-contas-gerencial-para-o-seu-fluxo-de-caixa

Lembre-se de SEMPRE habiltar as macros antes de ativar a planilha. Não sabe como?
Como Ativar sua Planilha LUZ
Precisa Compartilhar uma Planilha LUZ com sua equipe? Veja como:
Como Compartilhar sua Planilha
Para outras dúvidas: Fale com o Suporte
​[PROMPT] Fluxo de Caixa - Como criar metas de receitas e despesas precisas

Objetivo
Auxiliar na projeção de metas de receitas e despesas mensais para o ano, considerando fatores estratégicos, históricos financeiros, objetivos de crescimento sustentável e características específicas do ramo de mercado.


[INÍCIO DO PROMPT]

Atue como um consultor financeiro especializado no ramo de mercado do cliente e ajude a projetar metas de receitas e despesas mensais realistas e alinhadas com os objetivos estratégicos. Utilize as seguintes diretrizes para preencher uma tabela detalhada:

Histórico Financeiro:

Analise os dados passados para identificar padrões de receita e despesa ao longo dos meses.
Proponha ajustes para meses com sazonalidade, típicos do setor (ex.: varejo pode ter alta em dezembro; serviços educacionais em fevereiro).
Metas de Crescimento:

Estabeleça metas de receita alinhadas ao crescimento percentual esperado (ex.: 10% ao ano ou conforme o mercado).
Para as despesas, ajuste com base em reduções estratégicas ou investimentos planejados (ex.: marketing digital, treinamento de equipe).
Sazonalidade do Setor:

Identifique períodos de alta ou baixa demanda, comuns ao segmento (ex.: alta demanda no verão para turismo, ou baixa em feriados para indústrias).
Redistribua as metas para alinhar com essas flutuações naturais.
Investimentos Estratégicos:

Inclua projeções para despesas com iniciativas específicas do setor, como aquisição de estoque sazonal, lançamento de produtos ou serviços, ou campanhas publicitárias.
Equilíbrio Financeiro:

Garanta que o saldo anual de receitas menos despesas seja positivo, promovendo estabilidade e reserva financeira.
Dados fornecidos pelo usuário:

Ramo de mercado: (Exemplo: Varejo, Serviços Educacionais, Turismo, Indústria, etc.)
Receita mensal média histórica: (Exemplo: R$ 50.000)
Despesa mensal média histórica: (Exemplo: R$ 40.000)
Meta de crescimento anual: (Exemplo: 15%)
Meses de maior demanda no setor: (Exemplo: Dezembro, Janeiro)
Meses de maiores investimentos no setor: (Exemplo: Março, Agosto)
Prioridades estratégicas: (Exemplo: Expandir alcance digital, Aumentar vendas de produtos sazonais)
Novas tendências no mercado: (Exemplo: Crescimento no consumo online, Demanda por produtos sustentáveis)
Saída esperada:
A resposta deve apresentar uma tabela detalhada com as metas projetadas:

Mês	Receita Meta (R$)	Despesa Meta (R$)	Saldo Mensal (R$)
Janeiro	R$ XXX	R$ XXX	R$ XXX
Fevereiro	R$ XXX	R$ XXX	R$ XXX
Março	R$ XXX	R$ XXX	R$ XXX
...	...	...	...
Dezembro	R$ XXX	R$ XXX	R$ XXX
Total	R$ XXXX	R$ XXXX	R$ XXXX
Além disso, inclua uma breve explicação para cada projeção mensal, justificando ajustes e decisões estratégicas (ex.: "aumento de receita em dezembro devido à alta demanda no varejo" ou "despesa maior em março por conta de campanhas de marketing digital").

[FIM DO PROMPT]

---------------------------------------------------------------------------------------

Planilha de Controle de Tarefas para Download: https://prime.luz.vc/post/planilha-de-fluxo-de-caixa-40-em-excel
​[PROMP] Pitch de Negócio com o Círculo Dourado de Simon Sinek
Objetivo
Esse prompt foi idealizado para te ajudar a construri seu Pitch de Negócio utilizando a metodologia do Círculo Dourado de Simon Sinek


[INÍCIO DO PROMPT]
Olá, eu estou definindo um pitch para o meu negócio baseado no Cículo Dourado do Simon Sinek.
Eu sigo os parâmetros abaixo:
- Por que? - Missão / Propósito
- Como? - Proposta de Valor + Metodologia / Foco na Transformação que quero entregar para o meu ICP
- O que? - Produtos e Serviços
O meu negócio é uma consultoria em finanças, mas não quero me posicionar como consultoria.
Quero me posicionar como especialista no meu método exclusivo que entrega a minha proposta de valor.
Vou colocar alguns exemplos abaixo de pitches que eu gostei, para que você entenda a lógica e me ajude a estruturar meu pitch:

|| Exemplo 1
(Por quê?) Tudo que nós fazemos é pela nossa crença de desafiar o status quo. Nós acreditamos no poder da criatividade e da inovação.
(Como?) Ajudamos as pessoas a desafiarem o status quo construindo produtos com design arrojado, fáceis de usar e focados na experiência do usuário.
(O quê?) Como consequência, fazemos os melhores computadores do mercado. Vamos conversar?

|| Exemplo 2
(Por quê?) Tudo o que fazemos é por acreditar que o empreendedorismo desenvolve a sociedade. Todo empreendedor é um herói, merece atingir o seu potencial. Quando ajudamos um empreendedor, estamos criando uma sociedade mais próspera.
(Como?) Ajudamos empreendedores a ganharem escala em seus negócios com estratégia, ferramentas e automatização.
(O quê?) Você encontra tudo isso no LUZ Prime, uma plataforma onde você terá acesso a mais de 400 ferramentas de gestão, cursos e networking. Você quer fazer parte?

|| Exemplo 3
(Por quê?) Na LogiExpress, acreditamos que uma experiência de compra digital perfeita só ocorre quando a entrega é perfeita. O problema do seu cliente é um problema nosso!
(Como?) A sua logística não é um custo, é um diferencial competitivo, e nosso método exclusivo garante que você atinja cada canto do Brasil, sem atrasar.
(O quê?) Conheça a nossa consultoria em planejamento de rotas, gestão de estoque e estratégias de distribuição, especializada para o seu e-commerce. Vamos conversar?

Agora, eu quero que você atue como um especialista em branding e me passe 5 opções de pitch para a minha empresa, depois de olhar as instruções extras abaixo:
1. Você vai me fazer 5 perguntas, uma de cada vez sobre a minha empresa e sobre quem eu atendo.
2. Após fazer cada pergunta, você vai esperar a minha resposta antes de prosseguir
3. Quando você tiver a resposta, você vai me passar as opções de pitch
4. Eu quero ser o mais visceral o possível. Evite usar fatores que todos os consultores usam, como “ajudo sua empresa a se estruturar”, ou “ajudo você a se planejar”. Crie uma proposta que realmente chame a atenção do meu ICP. Que faça o meu convite para ele ser irrecusável!

[FIM DO PROMPT]
​[PROMPT] O Método Vaca Roxa para Dominar o Mercado
Objetivo
Ajudar profissionais e empresas a construir uma presença de destaque no LinkedIn, aplicando o conceito de "Vaca Roxa" para se diferenciarem da concorrência, estabelecerem autoridade, manterem consistência, gerarem engajamento e acelerarem seu crescimento na plataforma. O objetivo é criar estratégias práticas para transformar o perfil e o conteúdo em um ativo poderoso de conexão e oportunidades.

INÍCIO DO PROMPT
Você é um estrategista de marketing digital especializado em LinkedIn e diferenciação de marca pessoal e corporativa. Seu papel é orientar profissionais e empresas a aplicarem o conceito de "Vaca Roxa", garantindo que sua presença na plataforma seja notável e irresistível. Para isso, faça perguntas detalhadas e forneça estratégias personalizadas para que cada usuário possa criar conteúdo impactante, estabelecer autoridade e gerar crescimento.

1. Diferenciação: Criando uma Vaca Roxa no LinkedIn
Qual é o seu nicho ou setor de atuação?
O que faz você ou sua empresa únicos em relação à concorrência?
Há alguma história pessoal ou da empresa que mostre essa diferenciação de forma autêntica?
Como você pode transformar sua proposta de valor em algo notável? (Ex.: um formato de conteúdo inovador, um posicionamento ousado, uma abordagem inesperada).
2. Autoridade: Construindo Credibilidade e Reconhecimento
Quais são os temas centrais nos quais você quer ser reconhecido como especialista?
Você já compartilha conhecimento regularmente? Se sim, como (posts, artigos, vídeos, enquetes)?
Como você pode reforçar sua credibilidade? (Ex.: Compartilhando cases reais, publicando estudos de mercado, dando palestras).
Quais são as dúvidas mais comuns da sua audiência que você pode responder para demonstrar expertise?
3. Consistência: Mantendo uma Presença Sólida e Estratégica
Com que frequência você publica no LinkedIn? (Diária, semanal, esporádica)?
Existe um planejamento de conteúdo estruturado ou você posta de forma espontânea?
Quais tipos de conteúdo você já utiliza? (Ex.: Textos, vídeos, carrosséis, enquetes, lives).
Como você pode criar uma rotina para manter sua presença constante sem perder qualidade?
4. Engajamento: Criando Conteúdo Irresistível e Estimulando Conversas
Seu conteúdo gera interações significativas ou costuma ter pouco engajamento?
Você utiliza técnicas como storytelling, perguntas abertas e chamadas para ação para incentivar comentários?
Como você se envolve com sua audiência além de apenas postar? (Ex.: Respondendo comentários, interagindo em postagens de outros, enviando mensagens diretas estratégicas).
Quais formatos de postagens você pode testar para aumentar o engajamento? (Ex.: Conteúdo polêmico, bastidores do trabalho, insights sobre tendências, desafios pessoais/profissionais).
5. Estratégia de Crescimento: Aumentando Conexões e Oportunidades
Seu perfil está otimizado para atrair novos seguidores? (Ex.: Foto profissional, headline impactante, sobre bem estruturado).
Como você pode ampliar sua rede com conexões estratégicas? (Ex.: Conectando-se com influenciadores do setor, participando de discussões relevantes).
Você já utiliza mensagens diretas para fortalecer relacionamentos e gerar oportunidades de negócios?
Quais métricas você acompanha para avaliar seu crescimento no LinkedIn? (Ex.: Engajamento, visualizações de perfil, número de conexões, alcance das postagens).
6. Proposta de Projeto: Construindo uma Presença Notável no LinkedIn
Com base nas respostas fornecidas, desenvolva um Plano Estratégico de Posicionamento no LinkedIn contendo:

Definição do Posicionamento:

Descrição clara da sua diferenciação e proposta de valor.
Temas principais que você abordará para se destacar.
Plano de Conteúdo:

Formatos de postagens que serão priorizados (textos, vídeos, enquetes, artigos).
Frequência de publicações para manter a consistência.
Estratégias para tornar o conteúdo envolvente e relevante.
Táticas de Engajamento:

Estratégias para interagir com a audiência e criar conexões.
Abordagens para incentivar comentários e compartilhamentos.
Plano de Crescimento:

Como expandir a rede de conexões e atrair seguidores qualificados.
Métodos para fortalecer a autoridade e credibilidade no setor.
Métricas e Ajustes:

Quais indicadores acompanhar para medir o sucesso da estratégia.
Como otimizar as postagens e presença digital com base nos resultados.
FIM DO PROMPT
💰 Launch Your Own Stablecoin with Confidence!

Enter the world of stable digital assets with a secure, transparent, and fully customizable stablecoin development solution.

✅ Fiat-pegged, crypto-collateralized, or algorithmic stablecoins
✅ Regulatory-compliant & highly secure
✅ Seamless integration with wallets & exchanges
✅ Built for scalability & global transactions

🚀 Power up your crypto ecosystem with Dappfort – The Trusted Stablecoin Development Company!
  
Instant Reach Experts:
Contact : +91 8838534884
Mail : sales@dappfort.com
At Dappfort, a leading decentralized exchange development company, we provide end-to-end solutions to build high-performance DEX platforms. Our expertise ensures seamless trading, advanced security, and optimized scalability, empowering businesses to launch future-ready decentralized exchanges.

Instant Reach Experts:
Contact : +91 8838534884
Mail : sales@dappfort.com
🚀 The Future of Blockchain Business in 2025!

Blockchain is no longer just about crypto—it’s opening doors to groundbreaking business opportunities! From DeFi platforms to tokenized assets, new ventures are reshaping industries and creating endless possibilities.

Want to know which blockchain business ideas will dominate 2025? We've got 15 game-changing ideas that could be your next big move!

Don't miss out

Instant Reach Experts:

Contact : +91 8838534884
Mail : sales@dappfort.com
Dappfort is a leading cryptocurrency exchange development company committed to delivering high-quality, secure, and scalable trading platforms. With a strong focus on customer satisfaction, we have successfully developed and deployed various types of crypto exchanges tailored to our clients unique requirements. Our expert team ensures top-tier security, privacy, and reliability, fostering trust between business owners and their users. By leveraging our advanced cryptocurrency exchange solutions, including P2P trading and Bitcoin exchange systems, businesses can offer a seamless and highly secure trading experience. To explore how Dappfort can help you build a robust crypto exchange, schedule a consultation with our blockchain experts today.

Instant Reach Experts:

Visit us :  https://www.dappfort.com/cryptocurrency-exchange-development-company/      
Contact : +91 8838534884
Mail : sales@dappfort.com
https://medium.com/javarevisited/10-best-resources-to-learn-software-architecture-in-2025-2524ac91dc76
1) 10 Best Resources of books to Learn Software Architecture. 
1)delete my personal phone no which is linked to metriqe's google account, the google account which I created in the name of stephen-metriqe.
2)just have to return laptop and charger.
map(int, input().split())
// html
 <div id="app">
      <div class="grid-container">
        <div class="box"><a href="#">remove</a></div>
        <div class="box"><a href="#">remove</a></div>
        <div class="box"><a href="#">remove</a></div>
        <div class="box"><a href="#">remove</a></div>
      </div>
    </div>


//css


.grid-container {
  background-color: aliceblue;
  width: 100%;
  min-height: 200px;
  display: grid;
  column-gap: 1rem;
  grid-template-columns: repeat(
    var(--col-grid-count, 4),
    var(--col-make-width, 1fr)
  );
}

.box {
  width: 100%;
  height: 100%;
  background-color: firebrick;
  padding-top: 1rem;
}

.box a {
  text-align: center;
  margin-top: 1rem;
  color: white;
  display: flex;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
}


//js

(function () {
  "use strict";

  const gridContainer = document.querySelector(".grid-container");

  if (!gridContainer) return;

  function changeItemWith(value) {
    gridContainer.style.setProperty("--col-make-width", value);
  }

  function updateGrid(number) {
    const updatedBoxes = document.querySelectorAll(".box").length;
    gridContainer.style.setProperty("--col-grid-count", updatedBoxes);

    const widthOptions = {
      1: () => changeItemWith("minmax(230px, 250px)"),
      2: () => changeItemWith("minmax(295px, 320px)"),
      3: () => changeItemWith("minmax(245px, 420px)"),
      4: () => changeItemWith("minmax(243px, 500px)"),
    };

    console.log(`Number of boxes: ${number}`);
    console.log(`Function in widthOptions:`, widthOptions[number]);

    // Fix: Call the function if it exists, otherwise apply default width
    // see note on how widthOptions[number](); works
    if (widthOptions[number]) {
      widthOptions[number]();
    } else {
      changeItemWith("205px"); // Default case
    }
  }

  function onHandleLink(event) {
    event.preventDefault();

    const link = event.currentTarget;
    const box = link.parentElement;

    if (box) {
      box.remove();
      // Fix: Pass the correct length
      updateGrid(document.querySelectorAll(".box").length); 
    }

    console.log(box);
  }

  function listeners() {
    document.querySelectorAll(".box").forEach((box) => {
      const link = box.querySelector("a");
      if (link) {
        link.addEventListener("click", onHandleLink);
      }
    });
  }

  function init() {
    // Fix: Pass the correct length
    updateGrid(document.querySelectorAll(".box").length); 
    listeners();
  }

  init();
})();



/*
NOTE; Understanding widthOptions 

widthOptions is an object where each key (like 1, 2, etc.) maps to a function:

const widthOptions = {
  1: () => changeItemWith("minmax(230px, 250px)"),
  2: () => changeItemWith("minmax(295px, 249px)"),
  3: () => changeItemWith("minmax(245px, 1fr)"),
  4: () => changeItemWith("minmax(243px, 1fr)"),
};

Each value is an anonymous function (() => {}) that calls changeItemWith(...).


Accessing a Function in an Object
If number is 1, then: widthOptions[1]

is the same as: () => changeItemWith("minmax(230px, 250px)");
which in the widthOptions object is:  1: () => changeItemWith("minmax(230px, 250px)")


So if we call it with (), it executes:
widthOptions[1]();
*/ 

// See codesandbox for my implementation
// https://codesandbox.io/p/sandbox/q3926h?file=%2Fsrc%2Findex.mjs%3A28%2C6-28%2C30
{
	"xlog": {
    "prefix": "xlog",
    "body": [
        "console.log(JSON.parse(JSON.stringify(${1:var}));"
    ],
    "description": "logs json stuff through proxy"
	}
}
span {
  display: block;
  -webkit-mask-image: linear-gradient(to bottom, white, transparent);
  mask-image: linear-gradient(to bottom, white, transparent);
}
Public Function getXPathElement(sXPath As String, objElement As Object) As HTMLBaseElement
Dim sXPathArray() As String

Dim sNodeName As String
Dim sNodeNameIndex As String
Dim sRestOfXPath As String
Dim lNodeIndex As Long
Dim lCount As Long

' Split the xpath statement
sXPathArray = Split(sXPath, "/")
sNodeNameIndex = sXPathArray(1)
If Not InStr(sNodeNameIndex, "[") &gt; 0 Then
sNodeName = sNodeNameIndex
lNodeIndex = 1
Else
sXPathArray = Split(sNodeNameIndex, "[")
sNodeName = sXPathArray(0)
lNodeIndex = CLng(Left(sXPathArray(1), Len(sXPathArray(1)) - 1))
End If
sRestOfXPath = Right(sXPath, Len(sXPath) - (Len(sNodeNameIndex) + 1))

Set getXPathElement = Nothing
For lCount = 0 To objElement.ChildNodes().Length - 1
If UCase(objElement.ChildNodes().item(lCount).nodeName) = UCase(sNodeName) Then
If lNodeIndex = 1 Then
If sRestOfXPath = "" Then
Set getXPathElement = objElement.ChildNodes().item(lCount)
Else
Set getXPathElement = getXPathElement(sRestOfXPath, objElement.ChildNodes().item(lCount))
End If
End If
lNodeIndex = lNodeIndex - 1
End If
Next lCount
End Function
Public Sub parsehtml()
Dim http As Object, html As New HTMLDocument, topics As Object, titleElem As Object, detailsElem As Object, topic As HTMLHtmlElement
Dim i As Integer
Set http = CreateObject("MSXML2.XMLHTTP")
http.Open "GET", "https://news.ycombinator.com/", False
http.send
html.body.innerHTML = http.responseText
Set topics = html.getElementsByClassName("athing")
i = 2
For Each topic In topics
Set titleElem = topic.getElementsByTagName("td")(2)
Sheets(1).Cells(i, 1).Value = titleElem.getElementsByTagName("a")(0).innerText
Sheets(1).Cells(i, 2).Value = titleElem.getElementsByTagName("a")(0).href
Set detailsElem = topic.NextSibling.getElementsByTagName("td")(1)
Sheets(1).Cells(i, 3).Value = detailsElem.getElementsByTagName("span")(0).innerText
Sheets(1).Cells(i, 4).Value = detailsElem.getElementsByTagName("a")(0).innerText
i = i + 1
Next
End Sub
Common          EmployeeHoliday;
DictTable       dictTable;
SQLDICTIONARY   SqlDictionary;
int             FromDate, ToDate;

select tabId from SqlDictionary
    where SqlDictionary.name == "NW_UpdateEmployeeHoliday"
    && SqlDictionary.fieldId == 0;

dictTable = new DictTable(SqlDictionary.tabId);
EmployeeHoliday = dictTable.makeRecord();

FromDate = fieldname2id(SqlDictionary.tabId,"FromDate");
ToDate   = fieldname2id(SqlDictionary.tabId,"ToDate");
date holiday, endHoliday;
end =  start+180;
while select EmployeeHoliday
{
    holiday = EmployeeHoliday.(FromDate);
    endHoliday = EmployeeHoliday.(ToDate);
    while(holiday <= endHoliday && (start <= holiday && holiday <= end))
    {
        holiday+=1;
        end+=1;
    }
}
https://medium.com/@janpaepke/structured-logging-in-the-grafana-monitoring-stack-8aff0a5af2f5
1) Structured Logging in the Grafana monitoring stack
  @IsOptional()
  @IsArray()
  @IsString({ each: true })
  assignedTeamIds?: string[];

  @IsOptional()
  @IsArray()
  @IsString({ each: true })
  assignedMemberIds?: string[];
1.




import 'package:enum_to_string/enum_to_string.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:go_router/go_router.dart';
import 'package:intl/intl.dart';
import 'package:rrispat_app/src/constants/enums.dart';
import 'package:rrispat_app/src/core/utils.dart';
import 'package:rrispat_app/src/features/gi/domain/models/pco_handover_model.dart';
import 'package:rrispat_app/src/features/gi/domain/provider/all_pco_handover_provider.dart';

import '../../../../core/components/division_card.dart';
import 'verify_details_page.dart';

class VerifyHandOverPage extends ConsumerStatefulWidget {
  const VerifyHandOverPage({super.key});

  @override
  ConsumerState<ConsumerStatefulWidget> createState() =>
      _VerifyHandOverPageState();
}

class _VerifyHandOverPageState extends ConsumerState<VerifyHandOverPage> {
  List<PCOHandoverModel> pcoHandOverdata = [];

  @override
  Widget build(BuildContext context) {
    pcoHandOverdata.clear();
    ref
        .read(giAllPcoHandOverDataProvider.notifier)
        .getAllHandOver()
        .forEach((element) {
      pcoHandOverdata.add(element);
    });
    return ListView.builder(
      itemCount: pcoHandOverdata.length,
      itemBuilder: (context, index) {
        return buildTransaction(pcoHandOverdata[index]);
      },
    );
  }

  Widget buildTransaction(PCOHandoverModel pcoHandoverModel) {
    print(pcoHandoverModel);
    return Padding(
      padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 8),
      child: InkWell(
        onTap: () => context.pushNamed(VerifyDetailsPage.routeName,
            pathParameters: {'id': pcoHandoverModel.id.toString()}),
        borderRadius: BorderRadius.circular(15),
        child: Container(
          decoration: BoxDecoration(
            gradient: LinearGradient(
              colors: [Colors.blue.shade200, Colors.blue.shade50],
              begin: Alignment.topLeft,
              end: Alignment.bottomRight,
            ),
            borderRadius: BorderRadius.circular(15),
            boxShadow: [
              BoxShadow(
                color: Colors.blue.withOpacity(0.3),
                offset: const Offset(0, 6),
                blurRadius: 12,
              ),
            ],
          ),
          child: Padding(
            padding: const EdgeInsets.all(16.0),
            child: Column(
              crossAxisAlignment: CrossAxisAlignment.start,
              children: [
                // Header Row with Date, Division and Shift
                Row(
                  children: [
                    Text(
                      DateFormat.yMMMEd().format(
                        DateTime.parse(pcoHandoverModel.createdAt.toString()),
                      ),
                      style: Theme.of(context).textTheme.labelMedium?.copyWith(
                            fontWeight: FontWeight.w600,
                          ),
                    ),
                    const SizedBox(width: 10),
                    DivisionCard(
                      division: EnumToString.fromString(
                        Division.values,
                        pcoHandoverModel.division,
                      ) as Division,
                    ),
                    const Spacer(),
                    Column(
                      children: [
                        Icon(
                          (pcoHandoverModel.shift == "Day")
                              ? Icons.light_mode
                              : Icons.dark_mode,
                          size: 28,
                          color: Colors.black54,
                        ),
                        Text(
                          pcoHandoverModel.shift.toString(),
                          style: Theme.of(context)
                              .textTheme
                              .labelMedium
                              ?.copyWith(fontWeight: FontWeight.bold),
                        ),
                      ],
                    ),
                  ],
                ),
                const SizedBox(height: 12),
                // Summary Row with Trail No, Items Count and Verified Count
                Row(
                  mainAxisAlignment: MainAxisAlignment.spaceBetween,
                  children: [
                    Text(
                      "TrailNo : ${pcoHandoverModel.trailNo}",
                      style: Theme.of(context)
                          .textTheme
                          .bodyLarge
                          ?.copyWith(fontWeight: FontWeight.bold),
                    ),
                    Text(
                      "Type of Items : ${pcoHandoverModel.pcoModels.length}",
                      style: Theme.of(context)
                          .textTheme
                          .bodyLarge
                          ?.copyWith(fontWeight: FontWeight.bold),
                    ),
                    Text(
                      "Verify Items : ${pcoHandoverModel.pcoModels.fold(0, (previousValue, element) => (element.verify == true) ? previousValue + 1 : previousValue)}",
                      style: Theme.of(context)
                          .textTheme
                          .bodyLarge
                          ?.copyWith(fontWeight: FontWeight.bold),
                    ),
                  ],
                ),
                const Divider(
                  height: 20,
                  thickness: 1,
                  color: Colors.blueGrey,
                ),
                // Details Chips
                Wrap(
                  spacing: 10,
                  runSpacing: 8,
                  children: [
                    detailChip(
                        label: "JC No",
                        value: pcoHandoverModel.pcoModels[0].jcNo.toString()),
                    detailChip(
                        label: "Mark No",
                        value: pcoHandoverModel.pcoModels[0].markNo.toString()),
                    detailChip(
                        label: "Section",
                        value:
                            pcoHandoverModel.pcoModels[0].section.toString()),
                    detailChip(
                        label: "Thickness",
                        value:
                            pcoHandoverModel.pcoModels[0].thickness.toString()),
                    detailChip(
                        label: "Length",
                        value: pcoHandoverModel.pcoModels[0].length.toString()),
                    detailChip(
                        label: "Quantity",
                        value:
                            pcoHandoverModel.pcoModels[0].quantity.toString()),
                    detailChip(
                        label: "Weight",
                        value: pcoHandoverModel.pcoModels[0].weight.toWeight()),
                    detailChip(
                        label: "Total Weight",
                        value: (pcoHandoverModel.pcoModels[0].quantity *
                                pcoHandoverModel.pcoModels[0].weight)
                            .toWeight()),
                    detailChip(
                        label: "Reject Qty",
                        value: pcoHandoverModel.pcoModels[0].rejectQuantity
                            .toString()),
                    detailChip(
                        label: "Reject Wt",
                        value: pcoHandoverModel.pcoModels[0].rejectWeights!
                            .toWeight()),
                  ],
                ),
              ],
            ),
          ),
        ),
      ),
    );
  }

  Widget detailChip({required String label, required String value}) {
    return Chip(
      label: Text(
        "$label: $value",
        style: const TextStyle(fontSize: 12, fontWeight: FontWeight.w500),
      ),
      backgroundColor: Colors.white.withOpacity(0.8),
      padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
      shape: RoundedRectangleBorder(
        borderRadius: BorderRadius.circular(8),
      ),
    );
  }
}






2.



import 'package:enum_to_string/enum_to_string.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:go_router/go_router.dart';
import 'package:intl/intl.dart';
import 'package:rrispat_app/src/constants/enums.dart';
import 'package:rrispat_app/src/core/utils.dart';
import 'package:rrispat_app/src/features/gi/domain/models/pco_handover_model.dart';
import 'package:rrispat_app/src/features/gi/domain/provider/all_pco_handover_provider.dart';

import '../../../../core/components/division_card.dart';
import 'verify_details_page.dart';

class VerifyHandOverPage extends ConsumerStatefulWidget {
  const VerifyHandOverPage({super.key});

  @override
  ConsumerState<ConsumerStatefulWidget> createState() =>
      _VerifyHandOverPageState();
}

class _VerifyHandOverPageState extends ConsumerState<VerifyHandOverPage> {
  List<PCOHandoverModel> pcoHandOverdata = [];
  @override
  Widget build(BuildContext context) {
    pcoHandOverdata.clear();
    ref
        .read(giAllPcoHandOverDataProvider.notifier)
        .getAllHandOver()
        .forEach((element) {
      pcoHandOverdata.add(element);
    });
    return Container(
      // A subtle gradient background for an extra layer of visual depth.
      decoration: BoxDecoration(
        gradient: LinearGradient(
          colors: [Colors.white, Colors.grey[200]!],
          begin: Alignment.topCenter,
          end: Alignment.bottomCenter,
        ),
      ),
      child: ListView.builder(
        itemCount: pcoHandOverdata.length,
        itemBuilder: (context, index) {
          return buildTransaction(pcoHandOverdata[index]);
        },
      ),
    );
  }

  Widget buildTransaction(PCOHandoverModel pcoHandoverModel) {
    return Padding(
      padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 5),
      child: GestureDetector(
        onTap: () => context.pushNamed(
          VerifyDetailsPage.routeName,
          pathParameters: {'id': pcoHandoverModel.id.toString()},
        ),
        child: AnimatedContainer(
          duration: const Duration(milliseconds: 300),
          curve: Curves.easeOut,
          // A slight transform adds a subtle 3D tilt effect.
          transform: Matrix4.identity()
            ..setEntry(3, 2, 0.001)
            ..rotateX(0.02),
          decoration: BoxDecoration(
            color: Theme.of(context).cardColor,
            borderRadius: BorderRadius.circular(12),
            // Dual shadows simulate a raised, 3D look.
            boxShadow: [
              BoxShadow(
                color: Colors.black.withOpacity(0.2),
                offset: const Offset(4, 4),
                blurRadius: 8,
              ),
              BoxShadow(
                color: Colors.white.withOpacity(0.8),
                offset: const Offset(-4, -4),
                blurRadius: 8,
              ),
            ],
          ),
          child: ListTile(
            contentPadding: const EdgeInsets.all(16),
            trailing: (pcoHandoverModel.shift == "Day")
                ? Column(
                    mainAxisAlignment: MainAxisAlignment.center,
                    children: [
                      const Icon(
                        Icons.light_mode,
                        size: 28,
                      ),
                      Text(pcoHandoverModel.shift.toString())
                    ],
                  )
                : Column(
                    mainAxisAlignment: MainAxisAlignment.center,
                    children: [
                      const Icon(
                        Icons.dark_mode,
                        size: 28,
                      ),
                      Text(pcoHandoverModel.shift.toString())
                    ],
                  ),
            title: Column(
              crossAxisAlignment: CrossAxisAlignment.start,
              children: [
                Row(
                  children: [
                    Text(
                      DateFormat().add_yMMMEd().format(DateTime.parse(
                          pcoHandoverModel.createdAt.toString())),
                      style: Theme.of(context).textTheme.labelMedium,
                    ),
                    const SizedBox(width: 10),
                    DivisionCard(
                      division: EnumToString.fromString(
                              Division.values, pcoHandoverModel.division)
                          as Division,
                    ),
                  ],
                ),
                const SizedBox(height: 8),
                Row(
                  mainAxisAlignment: MainAxisAlignment.spaceBetween,
                  children: [
                    Text(
                      "TrailNo : ${pcoHandoverModel.trailNo}",
                      style: Theme.of(context)
                          .textTheme
                          .bodyLarge!
                          .copyWith(fontWeight: FontWeight.bold),
                    ),
                    Text(
                      "Type of Items : ${pcoHandoverModel.pcoModels.length}",
                      style: Theme.of(context)
                          .textTheme
                          .bodyLarge!
                          .copyWith(fontWeight: FontWeight.bold),
                    ),
                    Text(
                      "Verify Items : ${pcoHandoverModel.pcoModels.fold(0, (previousValue, element) => (element.verify == true) ? previousValue + 1 : previousValue)}",
                      style: Theme.of(context)
                          .textTheme
                          .bodyLarge!
                          .copyWith(fontWeight: FontWeight.bold),
                    ),
                  ],
                ),
              ],
            ),
            // Using a Wrap for subtitle texts ensures responsiveness without altering your color choices.
            subtitle: Padding(
              padding: const EdgeInsets.only(top: 8.0),
              child: Wrap(
                spacing: 8,
                runSpacing: 4,
                children: [
                  Text(
                      "JC No : ${pcoHandoverModel.pcoModels[0].jcNo.toString()}",
                      style: Theme.of(context).textTheme.labelMedium),
                  Text(
                      "Mark No : ${pcoHandoverModel.pcoModels[0].markNo.toString()}",
                      style: Theme.of(context).textTheme.labelMedium),
                  Text(
                      "Section : ${pcoHandoverModel.pcoModels[0].section.toString()}",
                      style: Theme.of(context).textTheme.labelMedium),
                  Text(
                      "Thickness : ${pcoHandoverModel.pcoModels[0].thickness.toString()}",
                      style: Theme.of(context).textTheme.labelMedium),
                  Text(
                      "Length : ${pcoHandoverModel.pcoModels[0].length.toString()}",
                      style: Theme.of(context).textTheme.labelMedium),
                  Text(
                      "Quantity : ${pcoHandoverModel.pcoModels[0].quantity.toString()}",
                      style: Theme.of(context).textTheme.labelMedium),
                  Text(
                      "Weight : ${pcoHandoverModel.pcoModels[0].weight.toWeight()}",
                      style: Theme.of(context).textTheme.labelMedium),
                  Text(
                      "Total Weight : ${(pcoHandoverModel.pcoModels[0].quantity * pcoHandoverModel.pcoModels[0].weight).toWeight()}",
                      style: Theme.of(context).textTheme.labelMedium),
                  Text(
                      "Reject Quantity : ${pcoHandoverModel.pcoModels[0].rejectQuantity.toString()}",
                      style: Theme.of(context).textTheme.labelMedium),
                  Text(
                      "Reject Weight : ${pcoHandoverModel.pcoModels[0].rejectWeights!.toWeight()}",
                      style: Theme.of(context).textTheme.labelMedium),
                ],
              ),
            ),
          ),
        ),
      ),
    );
  }
}


3.




import 'package:enum_to_string/enum_to_string.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:go_router/go_router.dart';
import 'package:intl/intl.dart';
import 'package:rrispat_app/src/constants/enums.dart';
import 'package:rrispat_app/src/core/utils.dart';
import 'package:rrispat_app/src/features/gi/domain/models/pco_handover_model.dart';
import 'package:rrispat_app/src/features/gi/domain/provider/all_pco_handover_provider.dart';

import '../../../../core/components/division_card.dart';
import 'verify_details_page.dart';

class VerifyHandOverPage extends ConsumerStatefulWidget {
  const VerifyHandOverPage({super.key});

  @override
  ConsumerState<ConsumerStatefulWidget> createState() =>
      _VerifyHandOverPageState();
}

class _VerifyHandOverPageState extends ConsumerState<VerifyHandOverPage> {
  List<PCOHandoverModel> pcoHandOverdata = [];
  @override
  Widget build(BuildContext context) {
    pcoHandOverdata.clear();
    ref
        .read(giAllPcoHandOverDataProvider.notifier)
        .getAllHandOver()
        .forEach((element) {
      pcoHandOverdata.add(element);
    });
    return Container(
      // decoration: BoxDecoration(
      //   gradient: LinearGradient(
      //     colors: [Colors.white, Colors.blue.shade50], // subtle gradient
      //     begin: Alignment.topCenter,
      //     end: Alignment.bottomCenter,
      //   ),
      // ),
      child: ListView.builder(
        padding: const EdgeInsets.symmetric(vertical: 10),
        itemCount: pcoHandOverdata.length,
        itemBuilder: (context, index) {
          return buildTransaction(pcoHandOverdata[index]);
        },
      ),
    );
  }

  Widget buildTransaction(PCOHandoverModel pcoHandoverModel) {
    return Padding(
      padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 5),
      child: Card(
        elevation: 8,
        shape: RoundedRectangleBorder(
          borderRadius: BorderRadius.circular(12),
        ),
        child: InkWell(
          borderRadius: BorderRadius.circular(12),
          onTap: () => context.pushNamed(VerifyDetailsPage.routeName,
              pathParameters: {'id': pcoHandoverModel.id.toString()}),
          child: Padding(
            padding: const EdgeInsets.all(12.0),
            child: Column(
              children: [
                // Top row: Date, Division and Shift Icon/Label
                Row(
                  children: [
                    Text(
                      DateFormat().add_yMMMEd().format(DateTime.parse(
                          pcoHandoverModel.createdAt.toString())),
                      style: Theme.of(context).textTheme.labelMedium,
                    ),
                    const SizedBox(width: 10),
                    DivisionCard(
                      division: EnumToString.fromString(
                              Division.values, pcoHandoverModel.division)
                          as Division,
                    ),
                    const Spacer(),
                    Column(
                      children: [
                        Icon(
                          pcoHandoverModel.shift == "Day"
                              ? Icons.light_mode
                              : Icons.dark_mode,
                          size: 28,
                        ),
                        Text(
                          pcoHandoverModel.shift.toString(),
                          style: Theme.of(context).textTheme.bodySmall,
                        ),
                      ],
                    ),
                  ],
                ),
                const SizedBox(height: 10),
                // Middle row: TrailNo, Type of Items and Verify Items count
                Row(
                  mainAxisAlignment: MainAxisAlignment.spaceBetween,
                  children: [
                    Text(
                      "TrailNo : ${pcoHandoverModel.trailNo}",
                      style: Theme.of(context)
                          .textTheme
                          .bodyLarge!
                          .copyWith(fontWeight: FontWeight.bold),
                    ),
                    Text(
                      "Type of Items : ${pcoHandoverModel.pcoModels.length}",
                      style: Theme.of(context)
                          .textTheme
                          .bodyLarge!
                          .copyWith(fontWeight: FontWeight.bold),
                    ),
                    Text(
                      "Verify Items : ${pcoHandoverModel.pcoModels.fold(0, (previousValue, element) => (element.verify == true) ? previousValue + 1 : previousValue)}",
                      style: Theme.of(context)
                          .textTheme
                          .bodyLarge!
                          .copyWith(fontWeight: FontWeight.bold),
                    ),
                  ],
                ),
                const SizedBox(height: 10),
                // Conditionally display the details only if there is at least one model
                if (pcoHandoverModel.pcoModels.length <= 1)
                  Wrap(
                    spacing: 10,
                    runSpacing: 5,
                    children: [
                      Text("JC No : ${pcoHandoverModel.pcoModels[0].jcNo}",
                          style: Theme.of(context).textTheme.labelMedium),
                      Text("Mark No : ${pcoHandoverModel.pcoModels[0].markNo}",
                          style: Theme.of(context).textTheme.labelMedium),
                      Text("Section : ${pcoHandoverModel.pcoModels[0].section}",
                          style: Theme.of(context).textTheme.labelMedium),
                      Text(
                          "Thickness : ${pcoHandoverModel.pcoModels[0].thickness}",
                          style: Theme.of(context).textTheme.labelMedium),
                      Text("Length : ${pcoHandoverModel.pcoModels[0].length}",
                          style: Theme.of(context).textTheme.labelMedium),
                      Text(
                          "Quantity : ${pcoHandoverModel.pcoModels[0].quantity}",
                          style: Theme.of(context).textTheme.labelMedium),
                      Text(
                          "Weight : ${pcoHandoverModel.pcoModels[0].weight.toWeight()}",
                          style: Theme.of(context).textTheme.labelMedium),
                      Text(
                          "Total Weight : ${(pcoHandoverModel.pcoModels[0].quantity * pcoHandoverModel.pcoModels[0].weight).toWeight()}",
                          style: Theme.of(context).textTheme.labelMedium),
                      Text(
                          "Reject Quantity : ${pcoHandoverModel.pcoModels[0].rejectQuantity}",
                          style: Theme.of(context).textTheme.labelMedium),
                      Text(
                          "Reject Weight : ${pcoHandoverModel.pcoModels[0].rejectWeights!.toWeight()}",
                          style: Theme.of(context).textTheme.labelMedium),
                    ],
                  ),
              ],
            ),
          ),
        ),
      ),
    );
  }
}


Set identity_insert ma_table on

-- on ajoute les items

set identity_insert ma_table off
star

Sun Feb 23 2025 15:52:43 GMT+0000 (Coordinated Universal Time)

@Lpss

star

Sun Feb 23 2025 11:52:33 GMT+0000 (Coordinated Universal Time) https://www.promise.co.th/blog/how-to-check-scam.html

@kiritokato

star

Sun Feb 23 2025 09:31:14 GMT+0000 (Coordinated Universal Time)

@erika

star

Sun Feb 23 2025 07:45:03 GMT+0000 (Coordinated Universal Time) https://hyperbound.design.webflow.com/

@pradeep188

star

Sun Feb 23 2025 07:08:29 GMT+0000 (Coordinated Universal Time) https://www.cib.go.th/

@kiritokato

star

Sun Feb 23 2025 03:50:11 GMT+0000 (Coordinated Universal Time) https://devcenter.heroku.com/articles/private-space-logging#logging-format

@cholillo18

star

Sun Feb 23 2025 02:59:20 GMT+0000 (Coordinated Universal Time)

@hyzzzz #python

star

Sun Feb 23 2025 01:34:31 GMT+0000 (Coordinated Universal Time) https://devcenter.heroku.com/articles/logging#view-logs

@cholillo18 #term

star

Sun Feb 23 2025 01:34:17 GMT+0000 (Coordinated Universal Time) https://devcenter.heroku.com/articles/logging#view-logs

@cholillo18 #term

star

Sat Feb 22 2025 22:15:21 GMT+0000 (Coordinated Universal Time) https://codepen.io/pen/

@sanchezarmando4 #undefined

star

Sat Feb 22 2025 14:01:19 GMT+0000 (Coordinated Universal Time) https://ollama.com/library/nomic-embed-text

@sercantas

star

Sat Feb 22 2025 09:18:54 GMT+0000 (Coordinated Universal Time) https://css-tricks.com/snippets/sass/use-sass-variable-selector/

@Sebhart #sass

star

Sat Feb 22 2025 09:16:12 GMT+0000 (Coordinated Universal Time)

@Sebhart #sass #image

star

Sat Feb 22 2025 09:15:04 GMT+0000 (Coordinated Universal Time)

@Sebhart #button #mixin #sass

star

Sat Feb 22 2025 09:13:23 GMT+0000 (Coordinated Universal Time) http://www.digiboarder.de/sass-import/

@Sebhart

star

Sat Feb 22 2025 09:11:29 GMT+0000 (Coordinated Universal Time)

@Sebhart #color

star

Sat Feb 22 2025 09:10:08 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/40010597/how-do-i-apply-opacity-to-a-css-color-variable

@Sebhart #color

star

Sat Feb 22 2025 07:12:23 GMT+0000 (Coordinated Universal Time)

@infinityuz

star

Fri Feb 21 2025 22:47:01 GMT+0000 (Coordinated Universal Time)

@procodefinder

star

Fri Feb 21 2025 16:52:23 GMT+0000 (Coordinated Universal Time) https://particulars.app/cli/

@hmboyd

star

Fri Feb 21 2025 14:10:50 GMT+0000 (Coordinated Universal Time)

@prashikh2

star

Fri Feb 21 2025 14:09:09 GMT+0000 (Coordinated Universal Time)

@prashikh2

star

Fri Feb 21 2025 13:07:25 GMT+0000 (Coordinated Universal Time) https://appticz.com/careem-clone

@davidscott

star

Fri Feb 21 2025 12:50:33 GMT+0000 (Coordinated Universal Time)

@kblanka #javascript

star

Fri Feb 21 2025 12:34:34 GMT+0000 (Coordinated Universal Time)

@davidb2107 #power_query

star

Fri Feb 21 2025 10:23:49 GMT+0000 (Coordinated Universal Time) https://prime.luz.vc/post/planilha-de-fluxo-de-caixa-40-em-excel

@senal88

star

Fri Feb 21 2025 10:23:13 GMT+0000 (Coordinated Universal Time) https://prime.luz.vc/post/prompt-fluxo-de-caixa-como-criar-metas-de-receitas-e-despesas-precisas

@senal88 #undefined

star

Fri Feb 21 2025 10:22:34 GMT+0000 (Coordinated Universal Time) https://prime.luz.vc/post/promp-pitch-de-negocio-com-o-circulo-dourado-de-simon-sinek

@senal88 #undefined

star

Fri Feb 21 2025 10:21:54 GMT+0000 (Coordinated Universal Time) https://prime.luz.vc/post/prompt-o-metodo-vaca-roxa-para-dominar-o-mercado

@senal88 #.txt

star

Fri Feb 21 2025 06:49:15 GMT+0000 (Coordinated Universal Time)

@StephenThevar #itbooks

star

Fri Feb 21 2025 06:32:23 GMT+0000 (Coordinated Universal Time)

@StephenThevar

star

Fri Feb 21 2025 04:20:59 GMT+0000 (Coordinated Universal Time)

@leah2301 #python

star

Fri Feb 21 2025 01:43:42 GMT+0000 (Coordinated Universal Time)

@gbritgs

star

Thu Feb 20 2025 23:24:36 GMT+0000 (Coordinated Universal Time)

@kanatov

star

Thu Feb 20 2025 15:45:54 GMT+0000 (Coordinated Universal Time) https://codingislove.com/parse-html-in-excel-vba/

@acassell

star

Thu Feb 20 2025 15:44:31 GMT+0000 (Coordinated Universal Time) https://codingislove.com/parse-html-in-excel-vba/

@acassell

star

Thu Feb 20 2025 14:42:39 GMT+0000 (Coordinated Universal Time)

@MinaTimo

star

Thu Feb 20 2025 12:59:18 GMT+0000 (Coordinated Universal Time)

@StephenThevar #grafana

star

Thu Feb 20 2025 11:56:11 GMT+0000 (Coordinated Universal Time)

@Rishi1808

star

Thu Feb 20 2025 09:20:30 GMT+0000 (Coordinated Universal Time) https://www.coinsclone.com/metamask-wallet-clone-script/

@CharleenStewar

star

Thu Feb 20 2025 09:13:36 GMT+0000 (Coordinated Universal Time)

@lafcha #sql

Save snippets that work with our extensions

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