What do you want to save?
Add Code snippet
New code examples
-
BASIC 2021-09-24 22:14:02
visual basic excel comma separated list from cells
' NOTE: This is for MS Excel specifically '=============================================================================== '>> MakeCommaSeparatedList(Optional rValues As Range) '======================================================================... Add solution -
Python 2021-09-24 18:46:03
numpy array storing in file by python
# long arrays can be stored in csv files far more efficiently import numpy as np import csv # uploading arrays in a csv file arr1 = [i for i in range(500)] arr2 = [i for i in range(1000)] arr3 = [i for i in range(2000)] # you can write('w') or append('a'... Add solution -
TypeScript 2021-09-24 11:36:03
heroku fatal: could not read from remote repository. please make sure you have the correct access rights and the repository exists.
I had the exact same error (on windows 7) and the cause was different. I solved it in a different way so I thought I'd add the cause and solution here for others. Even though the error seemed to point to heroku really the error was saying "Heroku ca... Add solution -
Java 2021-09-24 09:07:02
api process flow
I HAVE FOUR DIFFERENT PROCESS TO IMPLEMENT 1. Checking API contract 2. Creating test cases 3. Executing test cases 4. Implementing different test flows 1. Checking API Contract An API is essentially a contract between the client and the server or betwee... Add solution -
Python 2021-09-22 20:30:02
compute value based on condition of existing column dataframe
# create a list of our conditions conditions = [ (df['likes_count'] <= 2), (df['likes_count'] > 2) & (df['likes_count'] <= 9), (df['likes_count'] > 9) & (df['likes_count'] <= 15), (df['likes_count'] > 15) ] #... Add solution -
VBA 2021-09-21 21:35:01
excel vba how to get the old value of a changed cell
'Place the following in the CODE MODULE of a WORKSHEET 'to track the last value for every cell in the used range: Option Explicit Private r As Range Private Const d = "||" Public Function ValueLast(r As Range) On Error Resume Next Va... Add solution