-
Coding exercises: These may involve solving programming problems using PHP or other relevant languages, implementing algorithms, or working with data structures.
-
API design and implementation: You might be asked to design and implement APIs to meet specific requirements or integrate with existing systems.
-
Database queries: You could be given tasks that involve writing SQL queries to retrieve or manipulate data in a database.
-
Framework-specific tasks: You may have tasks to work with Laravel.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # name this file as "startup.sh" and call it from "startup command" as "/home/startup.sh" | |
| # check out my YouTube video "https://youtu.be/-PGhVFsOnGA" | |
| cp /home/default /etc/nginx/sites-enabled/default | |
| cp /home/php.ini /usr/local/etc/php/conf.d/php.ini | |
| # install support for webp file conversion | |
| apt-get update --allow-releaseinfo-change && apt-get install -y libfreetype6-dev \ | |
| libjpeg62-turbo-dev \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| server { | |
| # adjusted nginx.conf to make Laravel 9 and Laravel 10 apps with PHP 8.0, 8.1 and 8.2 features runnable on Azure App Service | |
| # @see https://laravel.com/docs/10.x/deployment | |
| # @see https://laravel.com/docs/9.x/deployment | |
| listen 8080; | |
| listen [::]:8080; | |
| root /home/site/wwwroot/public; | |
| index index.php; | |
| server_name example.com www.example.com; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // C++ program to show segment tree operations like construction, query | |
| // and update | |
| #include <bits/stdc++.h> | |
| using namespace std; | |
| // A utility function to get the middle index from corner indexes. | |
| int getMid(int s, int e) { return s + (e -s)/2; } | |
| /* A recursive function to get the sum of values in the given range | |
| of the array. The following are parameters for this function. |
Picking the right architecture = Picking the right battles + Managing trade-offs
- Clarify and agree on the scope of the system
- User cases (description of sequences of events that, taken together, lead to a system doing something useful)
- Who is going to use it?
- How are they going to use it?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # vi: ft=dosini | |
| [user] | |
| name = Pavan Kumar Sunkara | |
| email = [email protected] | |
| username = pksunkara | |
| [core] | |
| editor = nvim | |
| whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
| pager = delta | |
| [column] |