What do you want to save?
Add Code snippet
New code examples
-
Other 2021-11-18 20:20:16
how to get free ssl certificate from letsencrypt for local
openssl req -x509 -out localhost.crt -keyout localhost.key \ -newkey rsa:2048 -nodes -sha256 \ -subj '/CN=localhost' -extensions EXT -config <( \ printf "[dn]\nCN=localhost\n[req]\ndistinguished_name = dn\n[EXT]\nsubjectAltName=DNS:localhos... Add solution -
Other 2021-11-09 08:20:08
printing hello world without using header file in c
//hello guys here i am going to print hello world without using header file stdio.h int printf(const char* string,...); int main() { printf("hello world"); } /*you must know that a header file just contains the declarations ,so i have declared... Add solution -
Other 2021-11-09 02:07:11
How do I tell which command has the longest manual on my system?
$ find /usr/share/man/ -type f -exec ls -S {} + 2>/dev/null | head | while \ read -r file; do printf "%-40s" "$file"; \ man "$file" 2>/dev/null | wc -lwm; done | sort -nrk 4 Add solution -
Shell/Bash 2021-11-06 13:50:17
how to pull private docker image in helm charts
# values.yaml imageCredentials: name: credentials-name registry: private-docker-registry (eg: https://index.docker.io/v1/) username: user password: pass replicaCount: 1 application: name: votingApp group: app container: image: votingA... Add solution -
Shell/Bash 2021-11-03 09:24:24
self documenting makefile
.PHONY: help help: @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' # All rules with double-hash comments will be automatically displayed in th... Add solution -
C 2021-11-01 23:31:06
c how to encrypt and decrypt
#include <stdio.h> #include <stdlib.h> #include <string.h> #define N 100 int main() { int switcho; do { printf("Criptare random: 1\nCriptare avendo valore: 2\nDecriptare: 3\nSalvati: 4\n\nScegliere: "); scanf("%d&q... Add solution -
C++ 2021-10-01 17:42:06
arduino sprintf float
// On arduino, sprintf does not support formatting floats, but it can be done // with some simple integer formatting: float f = 3.14; sprintf(str, "Float value: %d.%02d", (int)f, (int)(fabsf(f)*100)%100); // str will now be: "Float value... Add solution
Best helpers
Ms.Zizmor
+5
Don Yarber
+5
Mike
+5
Jack Steele
+5
Bossylobster
+5
Tjb1982
+5
Alana
+5
Mythio
+5
Sharp Wit
+5
Rane Chetan
+5
Christie
+5
Androider
+5
Robert Astle
+5
Joshua Burns
+5
Sea shell
+5
Zolani13
+5
Meldie Ching
+5
Nancye S....
+5
Oritatami
+5
FirstLegion
+5