What do you want to save?
Add Code snippet
New code examples
-
C# 2022-03-11 17:25:25
f reachable queue in c#
Freachable Queue Freachable what? You might ask. Freachable (pronounced F-reachable) is one of CLR Garbage Collector internal structures that is used in a finalization part of garbage collection. You might have heard about the Finalization queue where ... Add solution -
Shell/Bash 2022-01-31 20:10:51
clear teams cache powershell
#Clears cache for all users Get-ChildItem "C:\Users\*\AppData\Roaming\Microsoft\Teams\*" -directory | Where name -in ('application cache','blob_storage','databases','GPUcache','IndexedDB','Local Storage','tmp') | ForEach{Remove-Item $_.FullName ... Add solution -
Javascript 2022-01-26 06:46:38
Error: A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.
Error: A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information. follow steps : 1. Open Dev tools 2. Go to Application section 3. Clear the ... Add solution -
Javascript 2021-11-12 12:36:14
local storage check max size
//run this in dev console to test how much local storage you have try { // Test up to 20 MB for (var i = 250; i <= 20000; i += 250) { localStorage.setItem('test', new Array((i * 1024) + 1).join('a')); } } catch (e) { localStorage.removeItem('test... Add solution -
Javascript 2021-11-08 20:46:14
localsstorage array append element
function addEntry() { // Parse any JSON previously stored in allEntries var existingEntries = JSON.parse(localStorage.getItem("allEntries")); if(existingEntries == null) existingEntries = []; var entryTitle = document.getElementB... Add solution -
Other 2021-10-24 09:19:13
retrieving from local storage and converting into class instance
// Create some Point instances let p1 = new Point(1,2); // Store them in local storage localStorage.setItem("p1", JSON.stringify(p1)); // Retrieve the data into new variables let p1Data = JSON.parse(localStorage.getItem("p1")); // c... Add solution
Best helpers
Jean Luis
+5
Terry3497
+5
Aown Ali
+5
SunnyHills
+5
Rocky DeHart
+5
Numeri
+5
Martinako
+5
Eve noonan
+5
Cynthia
+5