What do you want to save?
Add Code snippet
New code examples in category C
-
Phoenix Logan 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 -
Phoenix Logan 2022-02-19 11:40:08
int open file in c
#include <unistd.h> #include <fcntl.h> int main() { int filedesc = open("testfile.txt", O_WRONLY | O_APPEND); if(filedesc < 0) return 1; if(write(filedesc,"This will be output to testfile.txt\n", ... Add solution -
Awgiedawgie 2022-02-19 08:00:01
yt derived field
import yt from yt.units import dimensions def _pressure(field, data): return (data.ds.gamma - 1.0) * \ data["density"] * data["thermal_energy"] yt.add_field(("gas","pressure"), function=_pressure, un... Add solution -
Awgiedawgie 2022-02-18 06:35:08
arduino serial print integer
int x = 10; Serial.print(x); Add solution -
Best helpers
Tushar Diwan
+5
Pinakin
+5
I-love-php
+5
Naman
+5
Sinow
+5
Saforrest
+5
Mastersulm
+5
Adam Clowes
+5
RiCo
+5
Any Mouse
+5
Richard D
+5