A curated collection of my personal tech bookmarks, offering a stable repository for valuable links rarely updated. This is an effort to cleanup my personal notes and put things together at one place so that it might help someone.
Please Note:
I do not actively maintain these information, so it's very likely that some of the information might be outdated or not relevant.
- Awesome-go.com
- https://github.com/avelino/awesome-go
- how-to-deploy-golang-to-production-step-by-step
- Some links realted to Go project directory structure
- https://phptherightway.com/
- https://www.php-fig.org/
- DesignPatternsPHP
- awesome-php
- https://thephpleague.com/
- Fun topic about php
- Cross Site Scripting Prevention Cheat Sheet
https://github.com/docker/awesome-compose
- Amazon States Language
- The Ultimate Guide to AWS Step Functions
- Install a web server on your EC2 instance
The following are some common data structures that tend to come up often in questions. If you haven’t used them in a while, practice beforehand. You should be familiar with when to use each one and their pros and cons. You will need to explain the complexity of your algorithm (big O).
Arrays and Strings
Queues and Lists
Linked Lists
Trees / Tries
Hash maps / Hash sets
Graphs
- Leetcode problems all
- visualising data structures and algorithms through animation
- projecteuler problems archives
- https://www.codechef.com/cptutorial
- https://github.com/mission-peace/interview/wiki
- https://app.codility.com/demo/take-sample-test
- https://github.com/Algorithm-archive/Learn-Data_Structure-Algorithm-by-PHP
- https://www.geeksforgeeks.org/must-do-coding-questions-for-companies-like-amazon-microsoft-adobe/
- https://www.geeksforgeeks.org/experienced-interview-experiences-company-wise/
- https://www.interviewbit.com/google-interview-questions/
- https://techdevguide.withgoogle.com/paths/data-structures-and-algorithms/
- https://techdevguide.withgoogle.com/paths/interview/
- https://techdevguide.withgoogle.com/resources/topics/made-by-google/?no-filter=true#!
- https://levelup.gitconnected.com/my-google-interview-experience-33dc45e1a671
-
SSH to the server
ssh -i abc.pem [email protected]
-
SCP zip file to remote server
scp file.zip -i test.pem [email protected]:~/
-
Know the runtime based on pid
ps -eo pid,lstart,etime | grep 10176
-
Find larger files on the machine sorted
find /var/www/html/* -type f -printf "%S\t%p\n" | sort -nr | head -10
-
Compress the pdf file using Ghost Script https://gist.github.com/guifromrio/6390547
gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dPDFSTOPONERROR -sOutputFile=8ebab172800656df73f7cb444a0e74e5dc98a64a 8ebab172800656df73f7cb444a0e74e5dc98a64a
- Get MySQL database size
SELECT table_schema as db, table_name AS tab, round(((data_length + index_length) / 1024 / 1024), 2) as size_mb FROM information_schema.TABLES where table_schema = "your-database-name" ORDER BY (data_length + index_length) DESC;