What do you want to save?
Add Code snippet
New code examples
-
C# 2021-10-02 03:48:06
c# get all inherited classes of a class
//through reflection using System.Reflection; //as a reusable method/function Type[] GetInheritedClasses(Type MyType) { //if you want the abstract classes drop the !TheType.IsAbstract but it is probably to instance so its a good idea to keep it. ret... Add solution -
Other 2021-10-01 02:17:02
Arduino Ultrasonic Buzzer Alarm
/* This code should work to get warning cross the buzzer when something be closer than 0.5 meter Circuit is ultrasonic sensor and buzzer +5v and Arduino uno is used */ // Define pins for ultrasonic and buzzer int const trigPin = 10; int const echoPin =... Add solution -
Java 2021-09-29 23:47:05
how do you implement api
My PROCESS TO IMPLEMENT API First of all 1. Checking API Contract An API is essentially a contract between the client and the server or between two applications. Before any implementation test can begin, it is important to make sure that the contract is c... Add solution -
Python 2021-09-29 05:01:05
python find duplicated zip files
#!/usr/bin/env python # if running in py3, change the shebang, drop the next import for readability (it does no harm in py3) from __future__ import print_function # py2 compatibility from collections import defaultdict import hashlib import os import sy... Add solution -
Other 2021-09-27 10:55:03
symfony xdebug
In the end the following steps are needed: Put the following content into: /etc/php/7.0/mods-available/xdebug.ini zend_extension=xdebug.so xdebug.remote_enable=On xdebug.remote_handler=dbgp xdebug.remote_host=localhost xdebug.remote_port=9021 xdebug.rem... Add solution -
Java 2021-09-26 23:50:05
why python is slower than java
Python is dynamically typed, while Java is statically typed. That's very important when we're talking about speed, because it is actually noticeable in compilation time. Generally speaking, we could say that Python launches faster and runs slower, whil... Add solution
Best helpers
Daniel Cook
+5
Czlsws
+5
Mick Daw
+5
Shahruz Raad
+5
Horse
+5
Csandreas1
+5
SOUMEN
+5
Vy32
+5
Anugram
+5
ImMathan
+5
Joyo
+5
Huggy Buggy
+5