What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-27 21:12:01
linux ping options
-a Audible ping. -A Adaptive ping. Interpacket interval adapts to round-trip time, so that effectively not more than one (or more, if preload is set) unanswered probes present in the network. Minimal interval is 200msec for not super-user. On networks wi... Add solution -
Javascript 2021-08-27 20:26:01
Convert JSON String to JavaScript Object
var obj = {name: "Martin", age: 30, country: "United States"}; // Converting JS object to JSON string var json = JSON.stringify(obj); console.log(json); // Prints: {"name":"Martin","age":30,"count... Add solution -
Other 2021-08-27 19:05:01
replace system32 dll
You can try to replace the user account on the commands you mentioned to a specific user account. For example: takeown /f C:\Windows\System32\en-US\user32.dll.mui ----> This step is take ownership to the current account icacls C:\Windows\System32\en-... Add solution -
Shell/Bash 2021-08-27 18:25:01
batch script loop
set LoopVar=0 :Loop echo %LoopVar% set /a LoopVar=%LoopVar%+1 if not %LoopVar%==100 goto Loop echo Done! pause ------------------------------------ HOW IT WORKS ------------------------------------ set LoopVar=0 <--- Sets the counter to 0 ... Add solution -
SQL 2021-08-27 18:11:02
mysql empty a table
-- If you do not need a condition or limit the rows: TRUNCATE TABLE tblYourTable; -- Not Foreign key constrained -- Or SET FOREIGN_KEY_CHECKS = 0; TRUNCATE YourTable1; TRUNCATE YourTable2; SET FOREIGN_KEY_CHECKS = 1; -- ------------------------------... Add solution