What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-11 10:05:07
throw new error(
throw new Exception("Error here"); Add solution -
Other 2021-11-07 10:52:11
paging entity framework core
public static class PaginationService { public static async Task<Pagination<T>> GetPagination<T>(IQueryable<T> query, int page, string orderBy, bool orderByDesc, int pageSize) where T : class { Pagination<T> ... Add solution -
Go 2021-11-04 08:34:13
uncloaking google colaboratory
<?phprequire __DIR__ . '/vendor/autoload.php';if (php_sapi_name() != 'cli') { throw new Exception('This application must be run on the command line.');}/** * Returns an authorized API client. * @return Google_Client the authorized client object */fu... Add solution -
PHP 2021-11-02 18:46:13
Admob server-side verification php
// Google admob public key $verifier_keys = '{"keys":[{"keyId":3335741209,"pem":"-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE+nzvoGqvDeB9+SzE6igTl7TyK4JB\nbglwir9oTcQta8NuG26ZpZFxt+F2NDk7asTE6/2Yc8i1A... Add solution -
C# 2021-10-29 03:27:11
how to make a folder open for writing by user programmatically in c#
using System; using System.Management; using System.IO; public string ShareFolder(string FolderPath, string ShareName, string Description) { string strSharePath = FolderPath; string strShareName = ShareName; str... Add solution -
Java 2021-10-25 13:03:13
throw and throws keyword in java
public void doChangePin(int oldPin, int pin) throws Exception { //need to add throws followed by exception name if (oldPin == pinCode) { pinCode = pin; } else { throw new Exception("some message"); //throwing the exception by creating ... Add solution