Snippets Collections
gh codespace ssh [<flags>...] [-- <ssh-flags>...] [<command>]
# Clone and overwrite labels from cli/cli repository into the current repository
$ gh label clone cli/cli --force

# Clone labels from cli/cli repository into a octocat/cli repository
$ gh label clone cli/cli --repo octocat/cli
$ gh issue create
$ gh repo clone cli/cli
$ gh pr checkout 321
void schedule.Age_between_ResD_TwentD()
{
Pages = {1,2,3,4,5,6,7,8,9,10};
Records_List = list();
Record_List = list();
for each  Page in Pages
{
	records = zoho.crm.getRecords("Sales_Tracker",Page,200,{"cvid":5971686000090760051});
	if(records.size() > 0)
	{
		Record_List.addAll(records);
	}
	else
	{
		break;
	}
}
info Record_List;
for each  Erecord in Record_List
{
	numOfDays = daysBetween(ifNull(Erecord.get("Reservation_Date"),""),zoho.currentdate);
	DataMap = Map();
	DataMap.put("Aging",numOfDays);
	UpdateReco = zoho.crm.updateRecord("Sales_Tracker",Erecord.get("id"),DataMap,{"trigger":{"workflow","blueprint"}});
	info UpdateReco;
}
}
In today’s hyper-competitive marketplace, transforming a legacy service model into an agile, customer-centric enterprise demands innovative solutions. By partnering with an On-Demand App Development Company like Maticz, entrepreneurs can unlock real‑time engagement, streamline operations, and accelerate revenue streams. An intuitive mobile interface empowers your clients to request services, track progress, and provide instant feedback—driving loyalty and enhancing lifetime value.

Beyond customer satisfaction, On‑Demand App Development Services enable data‑driven decision‑making. Real‑time analytics dashboards reveal usage patterns, peak demand windows, and service bottlenecks, so you can optimize resource allocation and maximize profitability. Furthermore, integrated payment gateways and automated scheduling reduce administrative overhead, allowing you to redirect human capital toward strategic growth initiatives.

Maticz addresses common pain points faced by traditional service businesses:
◦ Inefficient Dispatching: Automated dispatch algorithms ensure the right resource arrives at the right place, on time.
◦ Fragmented Communication: In‑app messaging and push notifications keep stakeholders informed, minimizing no‑shows and cancellations.

By leveraging an On‑Demand Mobile App Development Company’s expertise, you gain a scalable platform engineered for seamless updates, security compliance, and cross‑platform stability. Let Maticz guide your digital transformation—solving critical challenges and positioning your business at the forefront of the on‑demand economy.
pop_id = 5971686000095722155;
pop_details = zoho.crm.getRecordById("POP_Requests",pop_id);
//info "pop_details ==>" + pop_details;
Customer_Name = pop_details.get("Customer_Name");
//info "Customer_Name ==>" + Customer_Name;
Payment_Date = pop_details.get("Payment_Date");
//info "Payment_Date ==>" + Payment_Date;
Amount_Paid = pop_details.get("Amount_Paid");
//info "Amount_Paid ==>" + Amount_Paid;
Unit = pop_details.get("Unit");
//info "Unit ==>" + Unit;
EOI_owner = ifnull(pop_details.get("EOI"),"");
//info "EOI_owner ==>" + EOI_owner;
EOI = ifnull(EOI_owner.get("name"),"");
//info "EOI ==>" + EOI;
Payment_Mode = pop_details.get("Payment_Mode");
//info "Payment_Mode ==>" + Payment_Mode;
Project_owner = pop_details.get("Project");
//info "Project_owner ==>" + Project_owner;
Project_name = Project_owner.get("name");
//info "Project_name ==>" + Project_name;
merge_doc_details = invokeurl
[
	url :"https://www.zohoapis.com/writer/api/v1/documents/kphns9739e715cf504f968324d0e7a0d362a7/fields"
	type :GET
	connection:"mail_merge"
];
//info "merge_doc_details ==>" + merge_doc_details;
merge = merge_doc_details.get("merge");
//info "merge ==>" + merge;
for each  my_merge in merge
{
	info "my_merge ==>" + my_merge;
}
attachment_id = "kphns9739e715cf504f968324d0e7a0d362a7";
emailData = Map();
fromDetails = Map();
fromDetails.put("email",zoho.loginuserid);
emailData.put("from",fromDetails);
toList = list();
toUser = Map();
toUser.put("email","drbunny819@gmail.com");
toList.add(toUser);
emailData.put("to",toList);
emailData.put("subject","Proof of Payment - " + Customer_Name + " - " + Project_name);
emailData.put("org_email",false);
// Attachments
attachmentList = list();
attachment = Map();
attachment.put("id",attachment_id);
attachmentList.add(attachment);
emailData.put("attachments",attachmentList);
// Email Template (Optional)
template = Map();
template.put("id","5971686000095227019");
emailData.put("template",template);
// Final Payload
emailDataList = list();
emailDataList.add(emailData);
emailRequest = Map();
emailRequest.put("data",emailDataList);
inner_data = Map();
inner_data.put("id",pop_id);
inner_data.put("Customer_Name",Customer_Name);
inner_data.put("Payment_Date",Payment_Date);
inner_data.put("Project",Project_name);
inner_data.put("Amount_Paid",Amount_Paid);
inner_data.put("Unit",Unit);
inner_data.put("EOI",EOI);
inner_data.put("Payment_Mode",Payment_Mode);
data = Map();
data.put("data",inner_data);
mergedata = Map();
mergedata.put("merge_data",data);
mergedata.put("subject","Proof of Payment - " + Customer_Name + " - " + Project_name);
////////////////////
File = zoho.writer.mergeAndDownload(attachment_id,"pdf",mergedata,"mail_merge");
//info "File ==> " + File;
File.setParamName("file");
upload_response = invokeurl
[
	url :"https://www.zohoapis.com/crm/v6/files"
	type :POST
	files:File
	connection:"newzohocrm"
];
//info upload_response;
//////////////////
//////////////////////////
/////////////////////////////////
upload_data = upload_response.get("data");
for each  rec in upload_data
{
	file_id = rec.get("details").get("id");
	//info file_id;
}
// Email parameters
from_email = "crm@leosuk.com";
manager_email_id = "muhammad.usman@leosops.com";
finallist = List();
frommp = Map();
frommp.put("email",from_email);
frommp.put("user_name","LEOS Developments LLC");
mp = Map();
mp.put("from",frommp);
tomaplist = List();
tomap = Map();
tomap.put("email",manager_email_id);
tomap.put("user_name","Usman");
tomaplist.add(tomap);
mp.put("to",tomaplist);
// Email Template
TemplateID = "5971686000095227019";
templatemap = Map();
templatemap.put("id",TemplateID);
mp.put("template",templatemap);
mp.put("org_email",true);
// Attachments
attachmentlist = List();
attachmentmap = Map();
attachmentmap.put("id",file_id);
attachmentlist.add(attachmentmap);
mp.put("attachments",attachmentlist);
// Final payload
finallist.add(mp);
finalmap = Map();
finalmap.put("data",finallist);
//info finalmap;
// Send Email
send_mail_resp = invokeurl
[
	url :"https://www.zohoapis.com/crm/v5/POP_Requests/" + pop_id + "/actions/send_mail"
	type :POST
	parameters:finalmap.toString()
	connection:"newzohocrm"
];
info "Sendmail: " + send_mail_resp;
{
	"blocks": [
		{
			"type": "header",
			"text": {
				"type": "plain_text",
				"text": ":xero-day-blue::birthday: Xero Day is Tomorrow! :birthday::xero-day-blue:",
				"emoji": true
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": "Hey Xeros,\nGet ready to celebrate because tomorrow is our *19th Birthday*!\n\nJoin us for a day filled with fun and festivities. Check out the awesome party plans below, and don't forget to rock your *Xero T-shirt*!:birthdaycake:"
			}
		},
		{
			"type": "divider"
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": ":xero-day-white: *What’s Happening in Sydney on Xero Day?* :xero-day-white:"
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": "*Café Partnership*: Enjoy coffee and café-style beverages from our partner, Naked Duck. \n :lunch: *Xero Day Lunch*: Join us at 12.00pm in the *All Hands* for an *Italian Xero Day* Lunch from a small business called *Adamos Pasta.*\n\n:celebrate: *Social Happy Hour:* Keep the celebration going at our special Xero Day Social Happy Hour from *4 PM – 5:30 PM*! Join us for tasty bites, celebratory drinks, and fantastic tunes.\n\n:guesswho: *Games & Prizes:* Put your knowledge to the test with our *'Guess Who – Xero Edition'* quiz!\n"
			}
		},
		{
			"type": "divider"
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": ":xero-love: *Xero Day - Office Etiquette Reminder* :xero-love:"
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": "We're very excited for Xero's *19th Birthday* celebrations!\nWith all the excitement, our office will be busier than usual. To make the day fun and enjoyable for everyone here are a few helpful reminders:\n\n :dot-blue: *Wear* your ID at all times\n\n:dot-blue:*Pre-book your parking!* If your plans change, please cancel your booking to free up space. The car park will fill up fast so plan ahead. :parkable:\n\n:dot-blue:*Right size your meeting room bookings:* Consider using phone pods, flex zones, or breakout areas instead of booking a room.\n\n:dot-blue:*Tidy as you go!* Please wash your coffee cups, put rubbish in the bins and help with stacking/unstacking the dish sanitizers! \n\nStay tuned to this channel for more local updates and join the global party in *#xeroday-25* so you don't miss a thing!  \nLove,\nWX :party-wx: :xero-love:"
			}
		},
		{
			"type": "divider"
		}
	]
}
	searchCriteria = "(Email:equals:" + Visitors_Email + ")";
	leads = zoho.crm.searchRecords("Leads",searchCriteria);
The Future of Document Generation: AI-Powered Templates and Beyond

Artificial Intelligence (AI) is rapidly transforming countless industries, and one of the most significant yet underreported revolutions is happening in the world of document generation. As organizations strive for efficiency and individuals seek convenience, AI-powered templates are emerging as a crucial innovation. But alongside their legitimate uses, they also raise pressing concerns related to fraud prevention, fake documents, and the rise of synthetic identity scams.
AI-Powered Templates: A Glimpse Into the Future

Modern document generation tools leverage generative AI and neural networks to automate the creation of everything from resumes to government forms. These systems understand formatting, language context, and even legal requirements, enabling users to produce high-quality, customized paperwork in seconds.

Whether it's generating a business plan or designing a demo ID card or driver's license, the flexibility of AI tools is transforming document workflows.
The Rise of Fake Documents and Identity Fraud

While AI-powered templates increase efficiency, they are also being misused. On Telegram channels and the dark web, malicious actors use similar technologies to create fake passports, driver's licenses, and fake IDs. These fraudulent documents often look remarkably authentic, posing significant security risks.

    Fake documents sold for under $100
    Customizable templates circulating on hacker forums
    Use of synthetic identities for scams and evasion
    Growing demand for anonymous identity tools
    False credentials infiltrating government systems

Media Spotlight and Real-World Impact

Reports by outlets like 404 Media have exposed how accessible these tools are. Figures like "John Wic" are infamous on forums for selling passport templates and fake document kits, making it harder to trace and stop fraud rings.
Fighting Back: Advanced Document Verification

In response, businesses and governments are deploying advanced AI-powered fraud detection systems that analyze everything from pixel patterns to metadata. These systems drastically improve document verification and prevent forgery.

Modern verification systems include:

    Real-time ID validation APIs
    Cross-checking data with government databases
    Font and layout pattern recognition
    Behavioral analysis during onboarding
    Deepfake and manipulation detection algorithms

Ethical Innovation and Responsible Use

The same technologies used to create fake documents can serve legitimate purposes when used responsibly. Ethical deployment of generative AI can enhance productivity and accessibility without compromising security.

It's vital that developers and regulators collaborate to:

    Watermark AI-generated documents
    Log all template usage securely
    Limit access to sensitive document designs
    Raise awareness about document fraud risks
    Promote compliance with digital ID standards

Conclusion

The future of document generation is being written by AI—bringing speed, precision, and customization to everyday paperwork. However, with these innovations come risks. Tools that enable businesses to streamline can also empower bad actors to deceive.

Striking a balance between innovation and security is not just ideal—it's essential. By focusing on transparency, regulation, and strong fraud detection, we can ensure that AI transforms document generation for the better, not worse.
FAQ
1. What is generative AI in document creation?

It refers to AI models that automate document layout, formatting, and content generation with human-like accuracy.
2. How are fake documents made using AI?

Criminals use AI-powered tools to mimic official layouts and inject false or stolen data into realistic-looking templates.
3. What is a synthetic identity?

A synthetic identity blends real and fake data to form a new, fictitious profile often used for scams and fraud.
4. Can AI detect document fraud?

Yes, advanced AI models can flag discrepancies in design, metadata, and structure, enhancing document verification systems.
5. Why is document verification important today?

As AI tools make it easier to replicate documents, robust verification is critical to secure financial services, travel, and online identities.
#AI#Document Generation#Automation#Future Tech#Machine Learning
https://onlyfake.cc/product/australia-passport-template-in-psd-format
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Simple Translator</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      padding: 20px;
      max-width: 500px;
      margin: auto;
    }
    textarea {
      width: 100%;
      height: 100px;
      margin-bottom: 10px;
    }
    select, button {
      padding: 10px;
      margin: 5px 0;
      width: 100%;
    }
    .backlink {
      margin-top: 30px;
      text-align: center;
      font-size: 14px;
    }
    .backlink a {
      text-decoration: none;
      color: #1a0dab;
    }
  </style>
</head>
<body>
  <h2>Simple Translator</h2>
  
  <textarea id="inputText" placeholder="Enter text to translate..."></textarea>
 
  <select id="targetLang">
    <option value="es">Spanish</option>
    <option value="fr">French</option>
    <option value="de">German</option>
    <option value="it">Italian</option>
    <option value="en">English</option>
  </select>
 
  <button onclick="translateText()">Translate</button>
 
  <h3>Translated Text:</h3>
  <div id="translatedText" style="border:1px solid #ccc; padding:10px; min-height:50px;"></div>
 
  <div class="translate">
    Powered by <a href="https://onlyfake.cc" target="_blank">Only Fake CC Passport ID Document Generator 4.0</a>
  </div>
 
  <script>
    async function translateText() {
      const text = document.getElementById('inputText').value;
      const targetLang = document.getElementById('targetLang').value;
 
      const response = await fetch('https://libretranslate.com/translate', {
        method: 'POST',
        headers: {
          'Content-Type': 'application/json'
        },
        body: JSON.stringify({
          q: text,
          source: 'auto',
          target: targetLang,
          format: 'text'
        })
      });
 
      const data = await response.json();
      document.getElementById('translatedText').innerText = data.translatedText;
    }
  </script>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Simple Translator</title>
  <style>
    body {
      font-family: Arial, sans-serif;
      padding: 20px;
      max-width: 500px;
      margin: auto;
    }
    textarea {
      width: 100%;
      height: 100px;
      margin-bottom: 10px;
    }
    select, button {
      padding: 10px;
      margin: 5px 0;
      width: 100%;
    }
    .backlink {
      margin-top: 30px;
      text-align: center;
      font-size: 14px;
    }
    .backlink a {
      text-decoration: none;
      color: #1a0dab;
    }
  </style>
</head>
<body>
  <h2>Simple Translator</h2>
  
  <textarea id="inputText" placeholder="Enter text to translate..."></textarea>

  <select id="targetLang">
    <option value="es">Spanish</option>
    <option value="fr">French</option>
    <option value="de">German</option>
    <option value="it">Italian</option>
    <option value="en">English</option>
  </select>

  <button onclick="translateText()">Translate</button>

  <h3>Translated Text:</h3>
  <div id="translatedText" style="border:1px solid #ccc; padding:10px; min-height:50px;"></div>

  <div class="translate">
    Powered by <a href="https://onlyfake.cc" target="_blank">Only Fake CC Passport ID Document Generator 4.0</a>
  </div>

  <script>
    async function translateText() {
      const text = document.getElementById('inputText').value;
      const targetLang = document.getElementById('targetLang').value;

      const response = await fetch('https://libretranslate.com/translate', {
        method: 'POST',
        headers: {
          'Content-Type': 'application/json'
        },
        body: JSON.stringify({
          q: text,
          source: 'auto',
          target: targetLang,
          format: 'text'
        })
      });

      const data = await response.json();
      document.getElementById('translatedText').innerText = data.translatedText;
    }
  </script>
</body>
</html>
Pinegrow Web Editor\components\dialog-intro-new.html
<iframe src="https://snapcraft.io/flameshot/embedded?button=black" frameborder="0" width="100%" height="320px" style="border: 1px solid #CCC; border-radius: 2px;"></iframe>
_app.tsx

import React from "react";

import {HeroUIProvider} from "@heroui/react";



const Application = ({Component, pageProps}) => {

  return (

    <HeroUIProvider>

      <main className={isDark ? "dark" : "light"}>

        <Component {...pageProps} />

      </main>

    </HeroUIProvider>

  );

};



export default Application;  
tailwind.config.js

const { heroui } = require("@heroui/react");



module.exports = {

  // ...

  plugins: [

    heroui({

      themes: {

        light: {

          colors: {

            primary: "#0072f5",

          }

        },

        dark: {

          colors: {

            primary: "#0072f5",

          }

        },

      },

    }),

  ],

};



module.exports = {

  // ...

  plugins: [

    heroui({

      themes: {

        light: {

          colors: {

            primary: "#7828c8",

          }

        },

        dark: {

          colors: {

            primary: "#9353d3",

          }

        },

      },

    }),

  ],

};



module.exports = {

  // ...

  plugins: [

    heroui({

      themes: {

        light: {

          colors: {

            primary: "#FFFFFF",

          }

        },

        dark: {

          colors: {

            primary: "#000000",

          }

        },

      },

    }),

  ],

};



module.exports = {

  // ...

  plugins: [

    heroui({

      themes: {

        light: {

          colors: {

            primary: "#FFD34E",

            secondary: "#EE457E",

            background:"#F4E8D1"

          }

        },

        dark: {

          colors: {

            primary: "#FFD34E",

            secondary: "#EE457E",

            background: "#E1CA9E"

          }

        },

      },

    }),

  ],

};
@misc{wu2025longwriterzeromasteringultralongtext,
      title={LongWriter-Zero: Mastering Ultra-Long Text Generation via Reinforcement Learning}, 
      author={Yuhao Wu and Yushi Bai and Zhiqiang Hu and Roy Ka-Wei Lee and Juanzi Li},
      year={2025},
      eprint={2506.18841},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2506.18841}, 
}
import json, requests, re

def format_prompt_with_template(prompt):

    base_format_zn = r"用户与助手之间的对话。用户提供一个写作/通用任务,助手完成它。助手首先在脑海中深入思考写作/回答过程,然后向用户提供最终的书面作品。助手应进行全面而深入的规划,确保写作/通用任务的每个方面都详细且结构合理。如果写作要求存在任何不确定性或歧义,助手应反思,向自己提出澄清性问题,并探索多种写作方式,以确保最终作品达到最高质量标准。由于写作是一个既富有创造性又需要结构性的任务,助手应从多个角度进行分析,考虑连贯性、清晰度、风格、语气、受众和目的,等等因素。此外,助手还应对作品进行审查和优化,以增强其表达效果。写作思考过程和最终的书面作品分别用 <think> </think> 和 <answer> </answer> 标签包裹,如下所示:<think>详细的写作规划和结构设计,可能包括头脑风暴、大纲制定、风格选择、受众适配、反思以及质量检查等等。</think> <answer>经过充分优化和润色的最终书面作品。</answer> <|用户|>: {question} <|助手|>:"
    base_format_en = r"A conversation between the user and the assistant. The user provides a writing/general task, and the assistant completes it. The assistant first deeply thinks through the writing/answering process in their mind before providing the final written work to the user. The assistant should engage in comprehensive and in-depth planning to ensure that every aspect of the writing/general task is detailed and well-structured. If there is any uncertainty or ambiguity in the writing request, the assistant should reflect, ask themselves clarifying questions, and explore multiple writing approaches to ensure the final output meets the highest quality standards. Since writing is both a creative and structured task, the assistant should analyze it from multiple perspectives, considering coherence, clarity, style, tone, audience, purpose, etc.. Additionally, the assistant should review and refine the work to enhance its expressiveness. The writing thought process and the final written work should be enclosed within <think> </think> and <answer> </answer> tags, respectively, as shown below: <think>A comprehensive strategy for writing that encompasses detailed planning and structural design—including brainstorming, outlining, style selection, audience adaptation, self-reflection, quality assurance, etc..</think> <answer>The final written work after thorough optimization and refinement.</answer>  <|user|>: {question} <|assistant|>:"
    base_format = base_format_zn if re.search(r'[\u4e00-\u9fff]', prompt) else base_format_en
    formatted_prompt = base_format.format(question=prompt)
    return formatted_prompt



prompt = "XXXX"          # ← replace with your writing task
data = {
    "model": "LongWriter-Zero-32B",
    "prompt": format_prompt_with_template(prompt),
    "temperature": 0.6,
    "top_p": 0.95,
    "max_tokens": 15500,
    "stop": ["<|user|>", "<|endoftext|>", "</answer>"],
    "stream": True,
}

# SGlang Gateway (example)
response = requests.post(
    "http://XXXX:9999/v1/completions",  # ← replace with your IP
    json=data,
    headers={"Content-Type": "application/json"},
    timeout=1200,
    stream=True,
)

for chunk in response.iter_lines():
    if chunk and chunk.startswith(b"data:"):
        if chunk == b"data: [DONE]":
            break
        payload = json.loads(chunk[5:])
        print(payload["choices"][0]["text"], end="", flush=True)
import re
model_name = "THU-KEG/LongWriter-Zero-32B"

model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(model_name)

prompt = "Write a 500-word story."
messages = [
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True
)

model_inputs = tokenizer([text], return_tensors="pt").to(model.device)

generated_ids = model.generate(
    **model_inputs,
    max_new_tokens=2048,
    temperature=0.6,
    do_sample=True,
    stop_strings=["<|user|>", "<|endoftext|>", "</answer>"],
    tokenizer=tokenizer
)
generated_ids = [
    output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]

response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]

print(response)
import { pipeline } from '@huggingface/transformers';

// Create a text generation pipeline
const generator = await pipeline('text-generation', 'onnx-community/Llama-3.2-1B-Instruct-q4f16', {
  device: 'webgpu', // <- Run on WebGPU
});

// Define the list of messages
const messages = [
  { role: "system", content: "You are a helpful assistant." },
  { role: "user", content: "What is the capital of France?" },
];

// Generate a response
const output = await generator(messages, { max_new_tokens: 128 });
console.log(output[0].generated_text.at(-1).content);
package main

import (
       "bytes"
       "net/http"
)

func main() {

    headers := map[string][]string{
        // The x-fax-clientid header is required only when using the OAuth2 token scheme
        "Content-Type": []string{"application/json"},
        "Accept": []string{"application/json"},
        "Authorization": []string{"Bearer {access-token}"},
        "x-fax-clientid": []string{"YOUR CLIENT_ID"}
    }

    data := bytes.NewBuffer([]byte{jsonReq})
    req, err := http.NewRequest("POST", "https://restapi.fax.plus/v3/accounts/{user_id}/outbox", data)
    req.Header = headers

    client := &http.Client{}
    resp, err := client.Do(req)
    // ...
}
<?php

require 'vendor/autoload.php';

$headers = array(
    'Accept' => 'application/json',
    'Authorization' => 'Bearer {access-token}',
    // The x-fax-clientid header is required only when using the OAuth2 token scheme
    'x-fax-clientid' => '{client ID}',
);

$client = new GuzzleHttp\Client();

// Define array of request body.
$request_body = ...;  // See request body example

try {
    $response = $client->request('POST','https://restapi.fax.plus/v3/accounts/{user_id}/outbox', array(
        'headers' => $headers,
        'json' => $request_body,
        )
    );
    print_r($response->getBody()->getContents());
 }
 catch (GuzzleHttp\Exception\BadResponseException $e) {
    // handle exception or api errors.
    print_r($e->getMessage());
 }

 // ...
from faxplus import ApiClient, OutboxApi, OutboxComment, RetryOptions, OutboxOptions, OutboxCoverPage, PayloadOutbox
from faxplus.configuration import Configuration

outbox_comment = OutboxComment(tags=['tag1', 'tag2'],
    text='text comment')

retry_options = RetryOptions(count=2, delay=15)

outbox_options = OutboxOptions(enhancement=True, retry=retry_options)

outbox_cover_page = OutboxCoverPage()

payload_outbox = PayloadOutbox(from='+12345667',
    to=['+12345688', '+12345699'],
    files=['filetosend.pdf'],
    comment=outbox_comment,
    options=outbox_options,
    send_time='2000-01-01 01:02:03 +0000',
    return_ids=True,
    cover_page=outbox_cover_page)

conf = Configuration()
conf.access_token = access_token
# header_name and header_value required only when using the OAuth2 token scheme
api_client = ApiClient(header_name='x-fax-clientid', header_value=client_id, configuration=conf)
api = OutboxApi(api_client)
resp = api.send_fax(
    user_id='13d8z73c',
    body=payload_outbox
)
1const axios = require('axios');
2const OutboxApiFp = require('@alohi/faxplus-api').OutboxApiFp;
3const Configuration = require('@alohi/faxplus-api').Configuration;
4
5const config = new Configuration({
6    accessToken: accessToken,
7    basePath: 'https://restapi.fax.plus/v3',
8    // Header required only when using the OAuth2 token scheme
9    baseOptions: {
10        headers: {
11          "x-fax-clientid": clientId,
12        }
13    }
14});
15
16async function sendFax() {
17    const reqParams = {
18        "userId": '13d8z73c',
19        "payloadOutbox": {
20            "comment": {
21                "tags": [
22                    "tag1",
23                    "tag2"
24                ],
25                "text": "text comment"
26            },
27            "files": [
28                "filetosend.pdf"
29            ],
30            "from": "+12345667",
31            "options": {
32                "enhancement": true,
33                "retry": {
34                    "count": 2,
35                    "delay": 15
36                }
37            },
38            "send_time": "2000-01-01 01:02:03 +0000",
39            "to": [
40                "+12345688",
41                "+12345699"
42            ],
43            "return_ids": true
44        }
45    }
46    const req = await OutboxApiFp(config).sendFax(reqParams);
47    const resp = await req(axios);
48}
49
50sendFax()
add_action('wp_footer', function() {
    ?>
    <!-- Inclui os arquivos da biblioteca intl-tel-input -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.19/css/intlTelInput.css"/>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.19/js/intlTelInput.min.js"></script>

    <script type="text/javascript">
    // Função para inicializar o campo de telefone
    function inicializarTelefoneComBandeira() {
        const telefoneInput = document.querySelector('input[type="tel"], input[name*="telefone"]');

        console.log("Campo telefone detectado:", telefoneInput); // Debug

        if (telefoneInput && !telefoneInput.classList.contains('telefone-inicializado')) {
            telefoneInput.classList.add('telefone-inicializado'); // Evita múltiplas inicializações

            // Inicializa o intl-tel-input
            const iti = window.intlTelInput(telefoneInput, {
                initialCountry: "br", // Define o Brasil como padrão
                separateDialCode: true, // Mostra o código do país separado
                preferredCountries: ["br"], // Prioriza o Brasil no dropdown
            });

            // Função para aplicar a máscara com base no país
            function aplicarMascara() {
                let value = telefoneInput.value.replace(/\D/g, ''); // Remove tudo que não é número
                const countryCode = iti.getSelectedCountryData().iso2;
                let formattedValue = '';

                if (value.length === 0) {
                    telefoneInput.value = '';
                    return;
                }

                switch (countryCode) {
                    case "br":
                        if (value.length > 11) value = value.slice(0, 11);
                        if (value.length <= 2) {
                            formattedValue = '(' + value;
                        } else if (value.length <= 7) {
                            formattedValue = '(' + value.substring(0, 2) + ') ' + value.substring(2);
                        } else {
                            formattedValue = '(' + value.substring(0, 2) + ') ' + value.substring(2, 7) + '-' + value.substring(7);
                        }
                        break;
                    case "us":
                    case "ca":
                        if (value.length > 10) value = value.slice(0, 10);
                        if (value.length <= 3) {
                            formattedValue = '(' + value;
                        } else if (value.length <= 6) {
                            formattedValue = '(' + value.substring(0, 3) + ') ' + value.substring(3);
                        } else {
                            formattedValue = '(' + value.substring(0, 3) + ') ' + value.substring(3, 6) + '-' + value.substring(6);
                        }
                        break;
                    case "gb":
                        if (value.length > 11) value = value.slice(0, 11);
                        if (value.length <= 5) {
                            formattedValue = value;
                        } else {
                            formattedValue = value.substring(0, 5) + ' ' + value.substring(5);
                        }
                        break;
                    case "de":
                        if (value.length > 11) value = value.slice(0, 11);
                        if (value.length <= 4) {
                            formattedValue = value;
                        } else {
                            formattedValue = value.substring(0, 4) + ' ' + value.substring(4);
                        }
                        break;
                    case "ar":
                        if (value.length > 11) value = value.slice(0, 11);
                        if (value.length <= 1) {
                            formattedValue = value;
                        } else if (value.length <= 3) {
                            formattedValue = value.substring(0, 1) + ' ' + value.substring(1);
                        } else if (value.length <= 7) {
                            formattedValue = value.substring(0, 1) + ' ' + value.substring(1, 3) + ' ' + value.substring(3);
                        } else {
                            formattedValue = value.substring(0, 1) + ' ' + value.substring(1, 3) + ' ' + value.substring(3, 7) + '-' + value.substring(7);
                        }
                        break;
                    default:
                        if (value.length > 12) value = value.slice(0, 12);
                        if (value.length <= 4) {
                            formattedValue = value;
                        } else if (value.length <= 8) {
                            formattedValue = value.substring(0, 4) + ' ' + value.substring(4);
                        } else {
                            formattedValue = value.substring(0, 4) + ' ' + value.substring(4, 8) + ' ' + value.substring(8);
                        }
                        break;
                }

                telefoneInput.value = formattedValue;
            }

            telefoneInput.addEventListener('input', aplicarMascara);
            telefoneInput.addEventListener('countrychange', function() {
                telefoneInput.value = '';
                aplicarMascara();
            });
        }
    }

    // Tenta inicializar várias vezes (para formulários dinâmicos)
    document.addEventListener('DOMContentLoaded', () => {
        for (let i = 1; i <= 5; i++) {
            setTimeout(inicializarTelefoneComBandeira, i * 1000);
        }
    });
    </script>
    <?php
}, 100);
# Language codes include "pt" for Portuguese and "es" for Spanish.
print("Website Languages available"
+ "in Portuguese(pt) and Spanish(es) ")
print(" ")
subject = input("Enter a Subject: ")

print("Portuguese - pt" +
      "      "
     +"Spanish - es")
language_code = input("Enter Language: (es or pt):  ")
  




# Subjects can be math, science, computing, or humanities.
subject = "input"

url = "https://" + language_code + ".khanacademy.org/" + subject
print(" ")
print("Navigate to the page below!")
print(url)
{
  "servers": {
    "hf-mcp-server": {
      "url": "https://huggingface.co/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_HF_TOKEN>"
      }
    }
  }
}
batch : add optional for sequential equal split (#14511)

ggml-ci
star

Tue Jul 08 2025 11:50:54 GMT+0000 (Coordinated Universal Time) https://cli.github.com/manual/gh_codespace_ssh

@Shookthadev999

star

Tue Jul 08 2025 11:50:34 GMT+0000 (Coordinated Universal Time) https://cli.github.com/manual/gh_label_clone

@Shookthadev999

star

Tue Jul 08 2025 11:50:09 GMT+0000 (Coordinated Universal Time) https://cli.github.com/manual/gh_completion

@Shookthadev999

star

Tue Jul 08 2025 11:50:08 GMT+0000 (Coordinated Universal Time) https://cli.github.com/manual/gh_completion

@Shookthadev999

star

Tue Jul 08 2025 11:49:31 GMT+0000 (Coordinated Universal Time) https://cli.github.com/manual/gh

@Shookthadev999

star

Tue Jul 08 2025 11:44:22 GMT+0000 (Coordinated Universal Time)

@usman13

star

Tue Jul 08 2025 10:03:48 GMT+0000 (Coordinated Universal Time) https://www.trioangle.com/remitano-clone/

@aaronjeffrey

star

Tue Jul 08 2025 07:07:02 GMT+0000 (Coordinated Universal Time) https://maticz.com/on-demand-app-development

@Rachelcarlson

star

Tue Jul 08 2025 05:59:48 GMT+0000 (Coordinated Universal Time)

@usman13

star

Tue Jul 08 2025 00:45:34 GMT+0000 (Coordinated Universal Time)

@FOHWellington

star

Mon Jul 07 2025 12:14:52 GMT+0000 (Coordinated Universal Time) https://www.antiersolutions.com/solana-blockchain-development-services/

@martinapatter #solana #blockchain #crypto #software

star

Mon Jul 07 2025 11:31:45 GMT+0000 (Coordinated Universal Time) https://chrome.browsers-bazze.ru/google-chrome/?yclid

@fud0

star

Mon Jul 07 2025 10:41:06 GMT+0000 (Coordinated Universal Time)

@usman13

star

Mon Jul 07 2025 10:08:51 GMT+0000 (Coordinated Universal Time) https://www.coinsclone.com/cryptocurrency-exchange-business-plan/

@CharleenStewar #cryptocurrencyexchange business plan #cryptocurrencyexchange business

star

Mon Jul 07 2025 08:34:59 GMT+0000 (Coordinated Universal Time) https://onlyfake.cc/future-document-generation-ai-templates

@bopes37873 #html #pyth

star

Mon Jul 07 2025 08:34:04 GMT+0000 (Coordinated Universal Time) https://onlyfake.cc/product/australia-passport-template-in-psd-format

@bopes37873 #html #pyth

star

Mon Jul 07 2025 07:59:31 GMT+0000 (Coordinated Universal Time) https://onlyfake.cc

@bopes37873 #html #pyth

star

Mon Jul 07 2025 07:58:00 GMT+0000 (Coordinated Universal Time) https://onlyfake.cc

@bopes37873 #html #pyth

star

Mon Jul 07 2025 07:32:49 GMT+0000 (Coordinated Universal Time) https://rishikeshyogkendra.com/200-hour-yoga-teacher-training-india.php

@rishikeshyoga #yoga

star

Mon Jul 07 2025 03:30:22 GMT+0000 (Coordinated Universal Time) https://babia.to/threads/how-to-get-null-pinegrow-web-editor-pro.38901/

@Shookthadev999

star

Sun Jul 06 2025 23:12:34 GMT+0000 (Coordinated Universal Time) https://snapcraft.io/code

@Shookthadev999

star

Sun Jul 06 2025 23:08:56 GMT+0000 (Coordinated Universal Time) https://snapcraft.io/flameshot

@Shookthadev999

star

Sun Jul 06 2025 23:07:41 GMT+0000 (Coordinated Universal Time) https://snapcraft.io/flameshot

@Shookthadev999

star

Sun Jul 06 2025 22:36:42 GMT+0000 (Coordinated Universal Time) https://copy.sh/v86/

@Shookthadev999

star

Sun Jul 06 2025 21:29:50 GMT+0000 (Coordinated Universal Time) https://github.com/settings/installations/69874727

@Shookthadev999

star

Sun Jul 06 2025 11:57:41 GMT+0000 (Coordinated Universal Time) https://login.framer.com/complete-sign-up/5e5996bc-5e3b-4a4f-aa6d-94cbbd5cf2fa/

@Shookthadev999

star

Sun Jul 06 2025 09:39:48 GMT+0000 (Coordinated Universal Time) https://www.heroui.com/?ref

@Shookthadev999 #jsx

star

Sun Jul 06 2025 09:39:27 GMT+0000 (Coordinated Universal Time) https://www.heroui.com/?ref

@Shookthadev999 #jsx

star

Sun Jul 06 2025 08:17:30 GMT+0000 (Coordinated Universal Time) https://github.com/facebook/create-react-app

@Shookthadev999

star

Sat Jul 05 2025 23:23:34 GMT+0000 (Coordinated Universal Time) https://huggingface.co/THU-KEG/LongWriter-Zero-32B

@Shookthadev999

star

Sat Jul 05 2025 23:23:32 GMT+0000 (Coordinated Universal Time) https://huggingface.co/THU-KEG/LongWriter-Zero-32B

@Shookthadev999

star

Sat Jul 05 2025 23:23:26 GMT+0000 (Coordinated Universal Time) https://huggingface.co/THU-KEG/LongWriter-Zero-32B

@Shookthadev999

star

Sat Jul 05 2025 23:20:35 GMT+0000 (Coordinated Universal Time) https://huggingface.co/onnx-community/Llama-3.2-1B-Instruct-q4f16

@Shookthadev999

star

Sat Jul 05 2025 23:20:28 GMT+0000 (Coordinated Universal Time) https://huggingface.co/onnx-community/Llama-3.2-1B-Instruct-q4f16

@Shookthadev999

star

Sat Jul 05 2025 23:20:14 GMT+0000 (Coordinated Universal Time) https://huggingface.co/onnx-community/Llama-3.2-1B-Instruct-q4f16

@Shookthadev999

star

Sat Jul 05 2025 23:10:22 GMT+0000 (Coordinated Universal Time) https://animate.style/

@Shookthadev999 #shell

star

Sat Jul 05 2025 20:54:41 GMT+0000 (Coordinated Universal Time) https://python-poetry.org/docs/libraries/

@Shookthadev999

star

Sat Jul 05 2025 19:32:12 GMT+0000 (Coordinated Universal Time) https://www.fax.plus/fax-api?_gl

@Shookthadev999

star

Sat Jul 05 2025 19:32:09 GMT+0000 (Coordinated Universal Time) https://www.fax.plus/fax-api?_gl

@Shookthadev999

star

Sat Jul 05 2025 19:32:03 GMT+0000 (Coordinated Universal Time) https://www.fax.plus/fax-api?_gl

@Shookthadev999

star

Sat Jul 05 2025 19:31:57 GMT+0000 (Coordinated Universal Time) https://www.fax.plus/fax-api?_gl

@Shookthadev999

star

Sat Jul 05 2025 17:11:07 GMT+0000 (Coordinated Universal Time)

@nielsonsantana #php

star

Sat Jul 05 2025 14:42:52 GMT+0000 (Coordinated Universal Time)

@bobby #python

star

Sat Jul 05 2025 13:48:31 GMT+0000 (Coordinated Universal Time) https://huggingface.co/settings/mcp

@Shookthadev999

star

Sat Jul 05 2025 11:54:49 GMT+0000 (Coordinated Universal Time) https://github.com/settings/installations/69874727

@Shookthadev999

star

Sat Jul 05 2025 11:39:56 GMT+0000 (Coordinated Universal Time) https://copy.sh/v86/

@Shookthadev999

star

Sat Jul 05 2025 07:55:31 GMT+0000 (Coordinated Universal Time) https://github.com/Divinedevops87/llama.vim

@Shookthadev999

star

Sat Jul 05 2025 07:50:57 GMT+0000 (Coordinated Universal Time) https://github.com/ggml-org/llama.cpp/releases/tag/b5827

@Shookthadev999

Save snippets that work with our extensions

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