Skip to content

Instantly share code, notes, and snippets.

View singhkunal2050's full-sized avatar
🎯
Focusing

Kunal SIngh singhkunal2050

🎯
Focusing
View GitHub Profile
@singhkunal2050
singhkunal2050 / testing-whisper-audio-to-transcript.ipynb
Created February 11, 2024 09:54
testing-whisper-audio-to-transcript.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
// Given an integer k and a list of integers, count the number of distinct valid pairs of integers (a, b) in the list for which a + b = k
// Input: numbers = [0, -1, -2, 1, 2, 2, 2, 2, 3, 4, 5] , k = 2
// Output: [(0, 2), (-1, 3), (-2, 4)]
// Note: Two pairs of integers (a, b) and (c, d) are considered distinct if at least one element of (a, b) does not also belong to (c, d).
Assignment: E-commerce Product Listing Page
Objective: The goal of this assignment is to evaluate the candidate's proficiency in HTML, CSS, and basic JavaScript, as well as their ability to use Git and host a website on GitHub Pages.
Instructions:
HTML/CSS: Create an E-commerce product listing page with the following sections:
Product Listings: Display at least 5 sample products with details like product name, image, price, and a "Buy Now" button.
var client = ShopifyBuy.buildClient({
domain: "yourdomain.myshopify.com",
storefrontAccessToken: "ccccasaff694f5f274f11ca7a6712zass",
});
function addProducttoLocalStorage(lineItem) {
if (!localStorage.lineItems) localStorage.setItem("lineItems", []);
let templineItems = [...lineItem].flat();
localStorage.lineItems = JSON.stringify(templineItems);
render();
https://code.labstack.com/csharp
1> write a console program in c# to create delegate which display 1 to 100 odd number
using System;
public class Code
{
public static void Main(string[] args)
{

Advertisement :)

  • pica - high quality and fast image resize in browser.
  • babelfish - developer friendly i18n with plurals support and easy syntax.

You will like those projects!

@singhkunal2050
singhkunal2050 / brython.html
Created April 22, 2020 06:54 — forked from bradtraversy/brython.html
Python in the browser with Brython
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdnjs.cloudflare.com/ajax/libs/brython/3.8.8/brython.js" integrity="sha256-rA89wPrTJJQFWJaZveKW8jpdmC3t5F9rRkPyBjz8G04=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/brython/3.8.8/brython_stdlib.js" integrity="sha256-Gnrw9tIjrsXcZSCh/wos5Jrpn0bNVNFJuNJI9d71TDs=" crossorigin="anonymous"></script>