Skip to content

Instantly share code, notes, and snippets.

View DanitoGH's full-sized avatar

Daniel .A Boateng DanitoGH

View GitHub Profile
@DanitoGH
DanitoGH / index.js
Created December 22, 2020 00:05 — forked from antoinejaussoin/index.js
Card Component rewritten with Styled Components
import React from 'react';
import styled from 'styled-components';
const Container = styled.div`
display: flex;
width: 100px;
height: 150px;
border: 3px solid ${props => props.color};
border-radius: 15px;
justify-content: space-around;
@DanitoGH
DanitoGH / s3-upload-via-form.php
Created November 13, 2020 00:46 — forked from keithweaver/s3-upload-via-form.php
Upload image using form submission to AWS S3 with PHP
<?php
// This file demonstrates file upload to an S3 bucket. This is for using file upload via a
// file compared to just having the link. If you are doing it via link, refer to this:
// https://gist.github.com/keithweaver/08c1ab13b0cc47d0b8528f4bc318b49a
//
// You must setup your bucket to have the proper permissions. To learn how to do this
// refer to:
// https://github.com/keithweaver/python-aws-s3
// https://www.youtube.com/watch?v=v33Kl-Kx30o
@DanitoGH
DanitoGH / README.markdown
Created April 24, 2020 13:26 — forked from marijn/README.markdown
List of nationalities in YAML, CSV and TXT format

List of nationalities

It's time someone compiled a list of nationalities to use within a web application. This gist attempts to make a first move at that.

List of countries

I've also compiled a list of countries