What do you want to save?
Add Code snippet
New code examples
-
VBA 2022-02-20 21:10:39
how do you get data from excel
How do you do test using excel files in Java? I use Apache POI libraries to read and write from excel file, I add the Apache POI dependencies to my pom file. In order to connect I use following classes. -FileInputStream from Java. it is used to create ... Add solution -
C 2022-02-19 19:25:05
esp32 dhcp server
WiFiServer server(80); static const char *ap_ssid = "ESP32-001"; static const char *ap_pass = "temp_pass"; void setup() { Serial.begin(115200); WiFi.softAP(ap_ssid, ap_pass); Serial.print("Access point running. IP address... Add solution -
Java 2022-02-18 23:30:11
JsonArray get first Object
private static int FIRST_ELEMENT = 0; public static void main(String[] args) { JSONArray json = new JSONArray("[{\"Hello1\":\"1\"},{\"Hello2\":\"2\"}]"); if (json.length() > 0) { Syste... Add solution -
Java 2022-02-16 00:35:25
how to ask user for his location in android
public class MainActivity extends AppCompatActivity { //'LocationManager' manages location tracking /*'LocationListener' gives us updates about whenever the device moves, it gives us updates on all those */ LocationManager locationManager; ... Add solution -
Java 2022-02-15 14:50:19
how to print the map in java
import java.util.HashMap; import java.util.Iterator; import java.util.Map; import java.util.stream.Stream; class MapUtil { // Program to print all keys present in the Map using keySet() in Java public... Add solution -
SQL 2022-02-13 23:00:36
how to retrieve data from a sql server database in c#
public Person SomeMethod(string fName) { var con = ConfigurationManager.ConnectionStrings["Yourconnection"].ToString(); Person matchingPerson = new Person(); using (SqlConnection myConnection = new S... Add solution