Web_programming
1.14K subscribers
354 photos
14 videos
125 files
1.23K links
Sharif web programming
If you have any questions, please feel free to ask(@yumcoder)
Download Telegram
Forwarded from Arsalan Firoozi
👎5👍2
خروجی این برنامه چیست و هدفش چیست؟ منظورم این است این قطعه کد می‌خواهد چه چیزی را آموزش دهد یا تست کند؟
👎7👍3
https://go.dev/doc/tutorial/fuzz

تست Fuzzing در golang


Fuzzing is a type of automated testing which continuously manipulates inputs to a program to find bugs. Go fuzzing uses coverage guidance to intelligently walk through the code being fuzzed to find and report failures to the user. Since it can reach edge cases which humans often miss, fuzz testing can be particularly valuable for finding security exploits and vulnerabilities.
👍7👎5
https://www.uber.com/en-CA/blog/ubers-next-gen-push-platform-on-grpc/

Essential reading for individuals interested in large-scale and distributed systems 👆
👎6👍4
When you need to pass data between a new tab that you open in a browser and the parent tab (the one that opened the new tab), you can use a combination of techniques, such as:
- URL Parameters
- localStorage or sessionStorage
- window.opener
-window.postMessage
👍8👎6
Nested List Comprehension in python
👎16👍5
🚀 Sync Airflow DAGs from Git and deploy in one click! The popular Git sync tool is now available as a standalone docker image - just run it and your DAGs auto-sync. 🐳
https://github.com/data-burst/airflow-git-sync
👍5👎3
Has anyone had experience with Edge Network and Edge Runtime and would like to share their own experience?
👎4👍2😱1
package main

import (
"fmt"
"time"
)

func main() {
ch := make(chan int)

// Start a goroutine to receive data from the channel
go func() {
data := <-ch
fmt.Println("Received data:", data)
}()

// Sleep for a while to simulate some delay
time.Sleep(2 * time.Second)

// Send data to the channel
ch <- 42

fmt.Println("Main goroutine exiting...")
}

what’s the problem of this code?
👎5
Twitter Cards are a set of metadata tags that you can add to your web pages to enhance how your content appears when shared on Twitter. Similar to Open Graph tags, Twitter Cards provide structured information about your web pages, allowing you to control the way your content is displayed in Twitter's timeline and tweets.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Twitter Card meta tags -->
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Your Page Title">
<meta name="twitter:description" content="A brief description of your page content.">
<meta name="twitter:image" content="https://example.com/your-image.jpg">
<!-- Other Twitter Card meta tags can be added as needed -->
<title>Your Page Title</title>
</head>
<body>
<!-- Your web page content goes here -->
</body>
</html>
👎4