Skip to content

Instantly share code, notes, and snippets.

View Delta456's full-sized avatar
:octocat:
Back to Coding

Swastik Baranwal Delta456

:octocat:
Back to Coding
View GitHub Profile

Contributing

Thank you for your interest and for taking the time to contribute to this project. If you feel insecure about how to start contributing, feel free to ask us on our Discord Server in the #open-source channel.

Code of conduct

Read our Code of Conduct before contributing.

How can I contribute?

@Delta456
Delta456 / CODE_OF_CONDUCT.md
Created September 30, 2024 08:18
Code of Conduct for LambdaTest

Contributor Covenant Code of Conduct

Our Pledge

We as members, contributors, and leaders of this open-source project pledge to make participation in our community and contribution to our project an inclusive experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, gender identity, and expression, sexual identity and orientation, level of experience, education, socio-economic status,

@Delta456
Delta456 / README.md
Last active September 27, 2024 09:11
LambdaTest Hactkoberfest README

LambdaTest Hacktoberfest

Welcome to LambdaTest's edition of Hacktoberfest 👋

We welcome you to contribute to Open Source through LambdaTest this year.

Learn from experts, LT's Spartans and experienced folks.

Win prices, learn to code and much more! 🚀

@Delta456
Delta456 / notes.md
Last active October 4, 2024 10:00
Fundamental of Backend Communications and Protocol

Fundamental of Backend Communications and Protocol

Design Patterns

Request - Response

Client sends a request, then server parses and then processes the request, finally send a response to the client, which parses it and consumes.

Where it is used?

  • Web, HTTP, DNS. SSH
  • RPC (Remote Procedure Call)
@Delta456
Delta456 / networking.md
Created October 11, 2023 17:49
HTTP Networking Notes

HTTP

HTTP stands for Hyper Text Protocol

It is one of the most powerful protocol. HTTP is not the only protocol uses URLs.

Protocol

Protocol is a set of rules, and two computers can follow this instructions. It also tells how to parse this information as something useful.

@Delta456
Delta456 / project.py
Created August 15, 2022 11:56
School Python Project
import sys
import pickle
import time
import webbrowser
import pywhatkit
from datetime import datetime
import pyautogui as pg
now = datetime.now()
@Delta456
Delta456 / banner.go
Created February 7, 2022 06:19
Twitter Banner
package main
import (
"math"
"strings"
"github.com/Delta456/box-cli-maker/v2"
"github.com/gookit/color"
)
import os
fn C.execvp(file charptr, argv &charptr) int
fn main() {
final_editor_cmd := os.file_name(os.args[0])[1..]
if os.args.len < 2 {
eprintln('Usage: `v$final_editor_cmd FILE:LINE: ...`')
exit(1)
}
@Delta456
Delta456 / check_cast_type.v
Created October 17, 2020 14:37
check_cast_type
pub fn (mut c Checker) can_type_cast(from table.Type, to table.Type) bool {
from_type_sym := c.table.get_type_symbol(from)
to_type_sym := c.table.get_type_symbol(to)
// check basic types
if c.check_types(from, to) {
return true
}
if to == table.bool_type || to_type_sym.kind == .none_ || from == table.none_type {
return false
}
@Delta456
Delta456 / print.v
Last active June 5, 2024 19:19
Python Print in V
import os { flush }
struct Print {
sep string = ' '
end string = '\n'
}
fn (p Print) print(args ...string) {
for i, arg in args {
print(arg)