Skip to content

Instantly share code, notes, and snippets.

View madaarya's full-sized avatar
💻
working for good

Mada Aryakusumah madaarya

💻
working for good
  • Indonesia
View GitHub Profile
@MarkBennett
MarkBennett / installing-ruby-2.5.1-on-m1.md
Last active October 6, 2025 06:32
Installing Ruby 2.5 on Mac M1
@basti
basti / README.md
Last active April 7, 2023 16:25
AWS S3 CORS configuration for Rails ActiveStorage

AWS S3 now uses JSON for CORS configuration and cors.json is minimal configuration for Rails 7 direct uploads.

@nfsarmento
nfsarmento / nginx-wordpress.conf
Last active November 27, 2025 07:52
Harden wordpress security nginx
############ WordPress ####################
# Disable logging for favicon and robots.txt
location = /favicon.ico {
try_files /favicon.ico @empty;
access_log off;
log_not_found off;
expires max;
}
server {
listen 80;
server_name www.your-website.com;
rewrite ^(.*) http://your-website.com$1 permanent;
}
server {
listen 80;
server_name your-website.com;