I hereby claim:
- I am Siddhant-K-code on github.
- I am siddhant_khare (https://keybase.io/siddhant_khare) on keybase.
- I have a public key whose fingerprint is F970 F5F2 085C 6892 CFD4 1BFC 4E16 0214 2D86 F9EF
To claim this, I am signing this object:
const owner = "repo-owner"; | |
const repo = "repo-name"; | |
const fileName = "your-workflow-file.yml"; | |
async function sleep(ms: number): Promise<void> { | |
return new Promise((resolve) => setTimeout(resolve, ms)); | |
} | |
async function deleteRuns() { | |
const response = await fetch( |
// npm install ocotokit dotenv | |
// Configure GITHUB_API_KEY with `repo` scope | |
// node main.js | |
// Output fill we saved in {today's date}.md file | |
import { Octokit } from "octokit"; | |
import fs from "fs"; | |
import dotenv from "dotenv"; | |
import util from "util"; |
# Just Accept it | |
:) |
name: Doxygen | |
on: | |
repository_dispatch: | |
push: | |
branches: | |
- master | |
- gh-pages | |
# In that case do the job 'make_and_deploy_doxygen' |
I hereby claim:
To claim this, I am signing this object:
var x = document.querySelectorAll("a"); | |
var myarray = [] | |
for (var i=0; i<x.length; i++){ | |
var nametext = x[i].textContent; | |
var cleantext = nametext.replace(/\s+/g, ' ').trim(); | |
var cleanlink = x[i].href; | |
myarray.push([cleantext,cleanlink]); | |
}; | |
function make_table() { | |
var table = '<table><thead><th>Name</th><th>Links</th></thead><tbody>'; |
#include <bits/stdc++.h> | |
using namespace std; | |
/********************** NOTE *************************** | |
// The lines are solely written for explanation | |
// purpose. They will not compile. Reuse of | |
// same variable names are done to explain. | |
// Do not mix the above line with the current line. | |
********************************************************/ |
It is a well-known fact that behind every good comet is a UFO. These UFOs often come to collect loyal supporters from here on Earth. Unfortunately, they only have room to pick up one group of followers on each trip. They do, however, let the groups know ahead of time which will be picked up for each comet by a clever scheme: they pick a name for the comet which, along with the name of the group, can be used to determine if it is a particular group's turn to go (who do you think names the comets?). The details of the matching scheme are given below; your job is to write a program which takes the names of a group and a comet and then determines whether the group should go with the UFO behind that comet.
Both the name of the group and the name of the comet are converted into a number in the following manner: the final number is just the product of all the letters in the name, where "A" is 1 and "Z" is 26. For instance, the group "SIDDHANT" would be 19 * 9 * 4 * 4 * 8 * 1 *14 * 20 = 6128640. If the group's numbe
Got the idea from this tweet.
We can represent the sum of the first n
odd numbers as a tree where each row has a number of items equal to the corresponding odd number:
1 = 2·1 - 1
, 1
item in the middle3 = 2·2 - 1
, 1
item in the middle and 1 = 2 - 1
item on each of the two lateral sides (branches)5 = 2·3 - 1
, 1
item in the middle and 2 = 3 - 1
items on each of the two lateral sides (branches)Color Matching Game | |
-------------------- | |
A [Pen](https://codepen.io/siddhant-k-code/pen/povwRWm) by [Siddhant Khare](https://codepen.io/siddhant-k-code) on [CodePen](https://codepen.io). | |
[License](https://codepen.io/siddhant-k-code/pen/povwRWm/license). |