An open API service indexing awesome lists of open source software.

https://github.com/hungthai1401/til

Things I've learned and/or things I want to remember. Notes, links, advice, example code, etc.
https://github.com/hungthai1401/til

hacktoberfest hacktoberfest2021 til

Last synced: 12 months ago
JSON representation

Things I've learned and/or things I want to remember. Notes, links, advice, example code, etc.

Awesome Lists containing this project

README

          

![CLI](./screenshots/cli.png)

This is inspired by https://github.com/narze/til

## All Entries

### AWS

- [Allow public read access to an S3 Bucket](./entries/AWS/2022_02_11_allow_public_read_access_to_an_s3_bucket.md) - 2022-02-11

### Database

- [Case-sensitive in FIND_IN_SET on MySQL](./entries/Database/2023_04_09_case-sensitive_in_find_in_set_on_mysql.md) - 2023-04-09

### Devops

- [Setup Graylog](./entries/Devops/2022_06_15_setup_graylog.md) - 2022-06-15

### Docker

- [Run cronjob along with php-fpm](./entries/Docker/2021_09_08_run_cronjob_along_with_php-fpm.md) - 2021-09-08
- [Install a specific nodejs version using n](./entries/Docker/2021_09_10_install_a_specific_nodejs_version_using_n.md) - 2021-09-10
- [Connect to MySQL server Docker container](./entries/Docker/2021_09_18_connect_to_mysql_server_docker_container.md) - 2021-09-18

### Elasticsearch

- [Multi search API](./entries/Elasticsearch/2021_09_04_multi_search_api.md) - 2021-09-04

### Git

- [Use Git commit-msg hook to validate commit message](./entries/Git/2021_09_03_use_git_commit-msg_hook_to_validate_commit_message.md) - 2021-09-03
- [Multi SSH Keys settings for different github accounts](./entries/Git/2021_09_04_multi_ssh_keys_settings_for_different_github_accounts.md) - 2021-09-04
- [Rename both a Git local and remote branch name](./entries/Git/2022_02_14_rename_both_a_git_local_and_remote_branch_name.md) - 2022-02-14

### Go

- [Format a date or time in Golang](./entries/Go/2021_09_05_format_date_or_time_in_golang.md) - 2021-09-05

### Javascript

- [Build CLI with NodeJs](./entries/Javascript/2021_09_02_build_cli_with_nodejs.md) - 2021-09-02
- [Get all directories within directory with NodeJs](./entries/Javascript/2021_09_03_get_all_directories_within_directory_with_nodejs.md) - 2021-09-03
- [Load Third-Party scripts dynamically in Javascript](./entries/Javascript/2021_09_19_load_third-party_scripts_dynamically_in_javascript.md) - 2021-09-19
- [Change environment variables at runtime with Vue CLI](./entries/Javascript/2022_03_30_change_environment_variables_at_runtime_with_vue_cli.md) - 2022-03-30
- [Deploy Next.js app with minimize downtime](./entries/Javascript/2022_04_14_deploy_next.js_app_with_minimize_downtime.md) - 2022-04-14

### Linux

- [Find and kill process locking port](./entries/Linux/2021_09_04_find_and_kill_process_locking_port.md) - 2021-09-04
- [Count all files inside a folder, its subfolders and all](./entries/Linux/2021_09_18_count_all_files_inside_a_folder,_its_subfolders_and_all.md) - 2021-09-18
- [Copy a file to clipboard on macOS](./entries/Linux/2022_02_21_copy_a_file_to_clipboard_on_macos.md) - 2022-02-21
- [File permissions in Linux](./entries/Linux/2023_01_31_file_permissions_in_linux.md) - 2023-01-31

### Others

- [Chaining requests in Postman](./entries/Others/2023_02_02_chaining_requests_in_postman.md) - 2023-02-02

### PHP

- [Detect N+1 query in Laravel](./entries/PHP/2020_06_03_detect_n+1_query_in_laravel.md) - 2020-06-03
- [Use index or force index in Laravel](./entries/PHP/2020_06_04_use_index_or_force_index_in_laravel.md) - 2020-06-04
- [Check the relationship has been loaded in Laravel](./entries/PHP/2020_06_08_check_the_relationship_has_been_loaded_in_laravel.md) - 2020-06-08
- [Use isset() instead of strlen() in PHP](./entries/PHP/2020_06_15_use_isset_instead_of_strlen_in_php.md) - 2020-06-15
- [Batch processing of requests with Elasticsearch PHP client](./entries/PHP/2021_09_04_batch_processing_of_requests_with_elasticsearch_php_client.md) - 2021-09-04
- [Laravel artisan everywhere](./entries/PHP/2021_09_05_laravel_artisan_everywhere.md) - 2021-09-05
- [Destroy all sessions in Laravel](./entries/PHP/2021_09_11_destroy_all_sessions_in_laravel.md) - 2021-09-11
- [Get the language code from a country code in PHP](./entries/PHP/2021_09_12_get_the_language_code_from_a_country_code_in_php.md) - 2021-09-12
- [Upload file to AWS s3 with temporary credentials created by AssumeRole of AWS STS in Laravel](./entries/PHP/2021_09_23_upload_file_to_aws_s3_with_temporary_credentials_created_by_assumerole_of_aws_sts_in_laravel.md) - 2021-09-23
- [Relationship with composite keys in Laravel](./entries/PHP/2021_10_27_relationship_with_composite_keys_in_laravel.md) - 2021-10-27
- [Enable the logger with Elasticsearch PHP Client](./entries/PHP/2021_11_11_enable_the_logger_with_elasticsearch_php_client.md) - 2021-11-11
- [The attributes are not casted correctly when using SQL Server in Laravel](./entries/PHP/2021_12_21_the_attributes_are_not_casted_correctly_when_using_sql_server_in_laravel.md) - 2021-12-21
- [Use form request manually in Laravel](./entries/PHP/2022_02_11_use_form_request_manually_in_laravel.md) - 2022-02-11
- [Determine whether a listener should be queued in Laravel](./entries/PHP/2022_02_28_determine_whether_a_listener_should_be_queued_in_laravel.md) - 2022-02-28
- [Handling a CLI command’s exit signals in Laravel](./entries/PHP/2022_02_28_handling_a_cli_command’s_exit_signals_in_laravel.md) - 2022-02-28
- [Deployer with multi PHP version](./entries/PHP/2022_07_17_deployer_with_multi_php_version.md) - 2022-07-17
- [Solve PHPRedis with 'read error on connection' exception](./entries/PHP/2022_07_29_solve_phpredis_with_'read_error_on_connection'_exception.md) - 2022-07-29
- [Solve Content Too Large when using Laravel Octane with OpenSwoole](./entries/PHP/2023_02_27_solve_content_too_large_when_using_laravel_octane_with_openswoole.md) - 2023-02-27
- [Xdebug on macOS](./entries/PHP/2023_06_21_xdebug_on_macos.md) - 2023-06-21

### Regular Expression

- [Match whitespaced but not newlines](./entries/Regular%20Expression/2021_09_21_match_whitespaced_but_not_newlines.md) - 2021-09-21
- [Match special countries letters](./entries/Regular%20Expression/2021_09_23_match_special_country_letters.md) - 2021-09-23

### Web server

- [Nginx configuration for Next.js app](./entries/Web%20server/2022_03_09_nginx_configuration_for_next.js_app.md) - 2022-03-09
- [Using nginx as an API gateway](./entries/Web%20server/2022_04_20_using_nginx_as_an_api_gateway.md) - 2022-04-20
- [HTTP Basic Authentication in Nginx](./entries/Web%20server/2022_04_29_http_basic_authentication_in_nginx.md) - 2022-04-29
- [Remove the path with a nginx proxy_pass](./entries/Web%20server/2022_09_14_remove_the_path_with_a_nginx_proxy_pass.md) - 2022-09-14

## CLI Usage

- `yarn install`
- `yarn link`
- `til`
- `til --action="new"` Create new entry
- `til --action="compile"` Compile summary & rebuild README