Kata issue: https://www.codewars.com/kata/5d653190d94b3b0021ec8f2b/discuss#5f7dc7dd51f6bc00336ea781
I get max call stack for this solution:
function productSum(a, m) {
return calc(a, m, 0, 0, 1) % (1e9 + 7);
}| [13:15:10.281] Running build in Washington, D.C., USA (East) – iad1 | |
| [13:15:10.442] Cloning github.com/alexkubica/chimp.fun (Branch: main, Commit: f348206) | |
| [13:15:10.976] Cloning completed: 533.258ms | |
| [13:15:13.390] Restored build cache | |
| [13:15:13.493] Running "vercel build" | |
| [13:15:13.992] Vercel CLI 37.1.2 | |
| [13:15:14.395] Installing dependencies... | |
| [13:15:16.165] | |
| [13:15:16.166] added 12 packages, and removed 6 packages in 2s | |
| [13:15:16.166] |
| // go to https://warpcast.com/alexk/following, replace alexk with you fname | |
| // scroll down to load following list | |
| // open console by right clicking the page and going to inspect mode, select Console tab | |
| // copy paste the following code and hit enter | |
| // you might get rate limited so refresh and try again after a few minutes | |
| (() => { | |
| // Function to unfollow with delay | |
| let index = 0; | |
| const intervalId = setInterval(() => { | |
| const buttons = Array.from(document.querySelectorAll('button')); |
| # remap prefix from 'C-b' to 'C-a' | |
| unbind C-b | |
| set-option -g prefix C-a | |
| bind C-a send-prefix | |
| # reload config file (change file location to your the tmux.conf you want to use) | |
| bind r source-file ~/.tmux.conf\; display-message "Config reloaded" | |
| # Enable mouse mode (tmux 2.1 and above) | |
| set -g mouse on |
| import { createAdminApiClient } from '@shopify/admin-api-client'; | |
| import { readFile, statSync } from 'node:fs'; | |
| import * as https from 'https'; | |
| import * as path from 'path'; | |
| import axios from 'axios'; | |
| import * as FormData from 'form-data'; | |
| import { createTypeReferenceDirectiveResolutionCache } from 'typescript'; | |
| // Go to Settings->Apps and sales channels->Develop apps->Create an app |
| const script = document.createElement("script") | |
| script.type = "module" | |
| script.innerHTML =` | |
| import { | |
| EthereumClient, | |
| w3mConnectors, | |
| w3mProvider, | |
| WagmiCore, | |
| WagmiCoreChains, | |
| WagmiCoreConnectors |
| ### Keybase proof | |
| I hereby claim: | |
| * I am alexkubica on github. | |
| * I am kubichuchi (https://keybase.io/kubichuchi) on keybase. | |
| * I have a public key ASCK98IrvJuvnDLJP-kz9JiT1BdbfFCs6xJrxLiU3JuyAwo | |
| To claim this, I am signing this object: |
Kata issue: https://www.codewars.com/kata/5d653190d94b3b0021ec8f2b/discuss#5f7dc7dd51f6bc00336ea781
I get max call stack for this solution:
function productSum(a, m) {
return calc(a, m, 0, 0, 1) % (1e9 + 7);
}| const _ = require('lodash'); | |
| const users = { | |
| 1: { | |
| id: 1, | |
| name: "alex", | |
| teamdIds: [ | |
| 10, 20 | |
| ] | |
| }, |
| :: use this file to run your own startup commands | |
| :: use in front of the command to prevent printing the command | |
| :: uncomment this to have the ssh agent load when cmder starts | |
| call "%GIT_INSTALL_ROOT%/cmd/start-ssh-agent.cmd" /k exit | |
| :: change the next 2 lines to add or load different ssh keys | |
| ssh-add "%USERPROFILE%/.ssh/github" | |
| ssh-add "%USERPROFILE%/.ssh/gitlab" | |
| :: uncomment the next two lines to use pageant as the ssh authentication agent |
| import gql from 'graphql-tag'; | |
| import { | |
| GET_LIST, | |
| GET_ONE, | |
| GET_MANY, | |
| CREATE, | |
| UPDATE, | |
| DELETE | |
| } from 'react-admin'; | |
| import buildGraphQLProvider from 'ra-data-graphql'; |