What do you want to save?
Add Code snippet
New code examples
-
C 2021-11-04 01:15:13
prime or composite in c using function
#include<stdio.h> int prime_composite(int num); void main() { int n,ret; printf ("Enter a number: "); scanf ("%d",&n); ret = prime_composite(n); if(ret == 2 ) printf("\nThe number is Prime\... 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 -
TypeScript 2021-10-22 10:18:04
how to get docker stats using shell script
#!/bin/bash # This script is used to complete the output of the docker stats command. # The docker stats command does not compute the total amount of resources (RAM or CPU) # Get the total amount of RAM, assumes there are at least 1024*1024 KiB, therefo... Add solution -
Javascript 2021-10-17 17:17:03
nvm
## Ubuntu curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash ## Set in your .bashrc or .zshrc export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XD... Add solution
Best helpers
Daniel Cook
+5
Czlsws
+5
Shahruz Raad
+5
Horse
+5
Csandreas1
+5
SOUMEN
+5
Vy32
+5
Anugram
+5
ImMathan
+5
Joyo
+5
Huggy Buggy
+5