What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-08-27 06:50:02
Find a vowel at the begining and end with regular expression
// ^ => first item matches: // () => stores matching value captured within // [aeiou] => matches any of the characters in the brackets // . => matches any character: // + => for 1 or more occurrances (this ensures str length > 3) // \1 ... Add solution -
Shell/Bash 2021-08-27 06:06:02
install youtube-dl windows
1. install chocolate on your computer --- 1. open powershell using 'RUN AS ADMINISTRATOR' --- 2. Paste the 'follow' and 'run' Set-ExecutionPolicy Bypass -Scope Process -Force; ` iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.... Add solution -
Shell/Bash 2021-08-27 05:56:02
check lines of code added removed by a specific user
# its grossly long. but run this on linux in the root of your project :D git log --shortstat --pretty="%cE" | sed 's/\(.*\)@.*/\1/' | grep -v "^$" | awk 'BEGIN { line=""; } !/^ / { if (line=="" || !match(line, $0)) ... Add solution -
Shell/Bash 2021-08-27 02:51:01
fslmaths dilation
# FSL: fsl dilate or fsl erode: # Kernel operations (set BEFORE filtering operation if desired): # -kernel 3D : 3x3x3 box centered on target voxel (set as default kernel) # -kernel 2D : 3x3x1 box centered on target voxel # Spatial Filtering operations:... Add solution -
Shell/Bash 2021-08-26 23:09:02
upload react project to github
Make sure you have already created a repo in github. In "package.json" file of project add - "homepage": "https://username.github.io/reponame" Run Install - "yarn add gh-pages" In "package.json/scripts" ad... Add solution
Best helpers
Ranking is empty