Skip to content

Instantly share code, notes, and snippets.

View HiramZednem's full-sized avatar
👻

Hiram Méndez HiramZednem

👻
  • México, Chiapas.
View GitHub Profile
@HiramZednem
HiramZednem / app.css
Last active November 23, 2022 03:57
/* apply a natural box layout model to all elements, but allowing components to change */ and reset the default style of the browsers
html {
box-sizing: border-box;
font-size: 62.5%; /* 1REM = 10px */
}
*, *:before, *:after {
box-sizing: inherit;
}
body {
@HiramZednem
HiramZednem / FileServiceImpl.java
Created November 11, 2022 15:04
aws bucket config
package com.escuelita.demo.services;
import com.amazonaws.auth.AWSCredentials;
import com.amazonaws.auth.AWSStaticCredentialsProvider;
import com.amazonaws.auth.BasicAWSCredentials;
import com.amazonaws.regions.Regions;
import com.amazonaws.services.s3.AmazonS3;
import com.amazonaws.services.s3.AmazonS3ClientBuilder;
import com.amazonaws.services.s3.model.CannedAccessControlList;
import com.amazonaws.services.s3.model.PutObjectRequest;