- Visual Studio Code Hot Keys
Search Search for file in your space Windows CTRL + P Mac command + P
- HTML SEO
Title Description Social Media Tags Viewport metadata <meta name=”viewport” content=”width=device-width, initial-scale=1″/>
- MySQL Event
MySQL Events or scheduled events are tasks that execute according to a specified schedule. They are stored in the database and executed at one or more intervals. For example, you can create an event that optimizes a table by backfilling data from another table the database that runs at 1:00 AM…
- MySQL Index
An index is a data structure such as B-Tree that improves the speed of data retrieval on a table at the cost of additional writes and storage to maintain it. Indexes are a type of lookup table that is used to improve the performance of SELECT queries. Without an index, MySQL performs lookups by…
- Linux prepend content to a file
Prepend content to a file Use sed with -i option. You can also specify the line to which the content will prepend to. sed -i ” ‘1s/^/package home;/” Home.java Prepend content to multiple files Here I need to add a package to 200 java files. To do this manual would be tedios. for f […]