What do you want to save?
Add Code snippet
New code examples
-
VBA 2021-09-30 15:49:05
Can we use multiple for command in VBA
Sub quarterlyAverage() Dim breakStatus As Integer breakStatus = 0 For i = 2 To 21 newRange = Range(Cells(i, 2), Cells(i, 5)) For j = 2 To 5 Cells(i, j).Select If Cells(i, j) = 0 Then breakStatus = 1 Exit For Else breakStatus ... Add solution -
SQL 2021-09-30 05:51:04
check if string contains substring sql
Declare @mainString nvarchar(100)='Amit Kumar Yadav' ---Check here @mainString contains Amit or not, if it contains then retrun greater than 0 then print Find otherwise Not Find if CHARINDEX('Amit',@mainString) > 0 begin select 'Find' As Re... Add solution -
Html 2021-09-30 03:35:02
dynamic checkbox list in html
const DynamicCheckboxes = { checkboxes: document.querySelectorAll('.table td input[type="checkbox"]'), selectAllTarget: document.querySelector('.js-select-all'), clearBtn: document.querySelector('.js-clear'), initialize() { this.sh... Add solution -
Python 2021-09-29 05:48:04
Search bar using python
#Open website import os import time import webbrowser import sys os.system('clear') print("Hi i am Like Google but a bit crazy one") Name = input("So what should i call you: ") print("Hi", Name, "my name is Seainte"... Add solution -
Python 2021-09-29 03:53:04
apply numba to itertools import product
@nb.njit(nb.int32[:,:](nb.int32[:])) def cproduct_idx(sizes: np.ndarray): """Generates ids tuples for a cartesian product""" assert len(sizes) >= 2 tuples_count = np.prod(sizes) tuples = np.zeros((tuples_c... Add solution