What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-10-24 04:40:09
grep cheat sheet
#!/bin/sh #http://www.thegeekstuff.com/2011/01/advanced-regular-expressions-in-grep-command-with-10-examples-%E2%80%93-part-ii/ # GENERAL # print lines begining with range of letters grep ^[A-D] table.txt # REGEX # search for word which has any single... Add solution -
Shell/Bash 2021-10-23 10:17:15
add to path to PATH
FOR MAC: 1º - Open Finder 2º - Choose Go > Go to folder 3º - Go to ~/Library/ 4º - Look for hidden files: Cmd + Shift + . (dot) 5º - Depending on the shell you use, the file can be .bash_profile, or .bashrc, or .zshrc, ... Add solution -
Other 2021-10-21 15:46:19
tailwind 2 on rails 6
Step 1 # Tailwind 2 For rails 6. (currently working 2021/03/13) Step 2 # Create a new rails app Step 3 # Run the following: yarn add tailwindcss@npm:@tailwindcss/postcss7-compat @tailwindcss/postcss7-compat postcss@^7 autoprefixer@^9 Step 4 # Go to 'ap... Add solution -
Other 2021-10-21 00:36:04
code review
We are code reviewing to find out whether any bug can be found earlier before testing starts General purpose of Code Review Meeting: - Early Bug Detection - Finding better solutions - Mentoring Juniors / Knowledge Transfer - Team Cohesion - Complia... Add solution -
TypeScript 2021-10-20 23:03:10
how to handle redirects for react app page not found on netlify
//got to your root folder and instead of using _redirects file create a file called netlify.toml //paste this code below in the file: [[redirects]] from = "/*" to = "/index.html" status = 200 //save and run npm run build //deplo... Add solution -
Java 2021-10-20 21:49:06
Read File from Sprinboot
Using ResourceUtil @Override public void run(String... args) throws Exception { File file = ResourceUtils.getFile("classpath:data.txt"); if(file.exists()) { byte[] fileData = Files.readAllBytes(file.toPath()); String fileContent = ne... Add solution
Best helpers
Huggy Buggy
+5
Joyo
+5
ImMathan
+5
Anugram
+5
Vy32
+5
Daniel Cook
+5
SOUMEN
+5
Florian Huit
+5
Csandreas1
+5
B_archer
+5
Horse
+5
Shahruz Raad
+5
Mick Daw
+5
Czlsws
+5