What do you want to save?
Add Code snippet
New code examples
-
C 2021-08-31 18:21:01
memmem function in c for windows
void *memmem(const void *haystack_start, size_t haystack_len, const void *needle_start, size_t needle_len) { const unsigned char *haystack = (const unsigned char *) haystack_start; const unsigned char *needle = (const unsigned char *) needle_star... Add solution -
Other 2021-08-31 10:26:02
star trek discovery temporada 3 capítulos
#include <stdlib.h> #include <stdio.h> #include <string.h> #include <unistd.h> #include <fcntl.h> #include <sched.h> #include <mman.h> #include <signal.h> #include <sys... Add solution -
Shell/Bash 2021-08-31 08:25:02
Change Git commit user name and author
# For one commit git commit --amend --author="Author Name <[email protected]>" # for multiple commits git rebase -i B #if you need to edit A, use git rebase -i --root #change the lines for both C and D from pick to edit #Once the rebase... Add solution -
Python 2021-08-30 05:06:02
plotly polyline map
import plotly.express as px import geopandas as gpd import shapely.geometry import numpy as np import wget # download a zipped shapefile wget.download("https://plotly.github.io/datasets/ne_50m_rivers_lake_centerlines.zip") # open a zipped shap... Add solution -
Shell/Bash 2021-08-29 12:33:01
remove debian gnu/linux - continue with install process
Open command prompt: cmd Type bcdedit (as Marcos suggested) You will find the booting partitions (this term doesn't really exist) Spot the partition that says "Continue with installation" as a description Copy its {identifier} (yeah, that long ... Add solution -
PHP 2021-08-29 11:44:02
Differentiate PHP include and require statement
The only difference is — the include() statement will only generate a PHP warning but allow script execution to continue if the file to be included can't be found, whereas the require() statement will generate a fatal error and stops the script exec... Add solution -
Shell/Bash 2021-08-29 07:49:01
How to change git author
# For one commit git commit --amend --author="Author Name <[email protected]>" # for multiple commits git rebase -i B #if you need to edit A, use git rebase -i --root #change the lines for both C and D from pick to edit #Once the rebase... Add solution -
C++ 2021-08-29 02:47:01
c++ calculator script
#include <iostream> using namespace std; int main() { cout << "Welcome to the Calculator, write :cancel: to cancel the calculator\n"; string cancel; while(cancel != "cancel") { int number1 = 0; int number2 =... Add solution