What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-28 08:30:01
send files via ssh
Syntax: scp <source> <destination> To copy a file from B to A while logged into B: scp /path/to/file username@a:/path/to/destination To copy a file from B to A while logged into A: scp username@b:/path/to/file /path/to/destination Add solution -
Python 2021-08-28 05:22:02
fibonacci sequence in python 2.7
#Python program to generate Fibonacci series until 'n' value n = int(input("Enter the value of 'n': ")) a = 0 b = 1 sum = 0 count = 1 print("Fibonacci Series: ", end = " ") while(count <= n): print(sum, end = " &quo... Add solution -
Other 2021-08-28 05:17:02
word frequency analysis c program
#include <stdbool.h>#include <stdio.h>#include <glib.h> typedef struct word_count_tag { const char* word; size_t count;} word_count; int compare_word_count(const void* p1, const void* p2) { const word_count* w1 = p1; ... Add solution -
Python 2021-08-28 04:51:01
fibonacci series print
# Program to display the Fibonacci sequence up to n-th term nterms = int(input("How many terms? ")) # first two terms n1, n2 = 0, 1 count = 0 # check if the number of terms is valid if nterms <= 0: print("Please enter a positive in... Add solution -
Other 2021-08-28 03:28:02
capturing-video-from-two-cameras-in-opencv-at-once
import cv2 import threading class camThread(threading.Thread): def __init__(self, previewName, camID): threading.Thread.__init__(self) self.previewName = previewName self.camID = camID def run(self): print("St... Add solution -
Shell/Bash 2021-08-28 02:12:02
bash similiar to choice in cmd
#!/bin/sh show_menu(){ normal=`echo "\033[m"` menu=`echo "\033[36m"` #Blue number=`echo "\033[33m"` #yellow bgred=`echo "\033[41m"` fgred=`echo "\033[31m"` printf "\n${menu}***... Add solution -
Shell/Bash 2021-08-28 01:06:01
windows fatal: unable to access SSL certificate problem: unable to get local issuer certificate
# in unix put this in your .bash_profile, while # in windows put it in a batch script that runs at startup or # simply run it before cloning the repo git config --global http.sslVerify false Add solution
Best helpers
Ranking is empty