Skip to content

Instantly share code, notes, and snippets.

View tinhvqbk's full-sized avatar
🎯
Focusing

Kyle Tình Vũ tinhvqbk

🎯
Focusing
  • Got It, Inc.
  • Hanoi, VN
View GitHub Profile
@tinhvqbk
tinhvqbk / put-object-on-aws-s3.php
Created October 29, 2020 03:30 — forked from keithweaver/put-object-on-aws-s3.php
Upload an image/object to an AWS S3 Bucket using PHP
<?php
// Installed the need packages with Composer by running:
// $ composer require aws/aws-sdk-php
$filePath = "https://example.com/test.png";
require 'vendor/autoload.php';
$bucketName = 'YOUR_BUCKET_NAME';
$filePath = './YOUR_FILE_NAME.png';
@tinhvqbk
tinhvqbk / swiperinit.html
Created April 5, 2017 11:24 — forked from AminulBD/swiperinit.html
Swiper Initialization with data attribute and Animate.css integrate
<div id="content-carousel" class="content-carousel-widget" data-carousel="swiper">
<!--
You can use: data-items="5" for total items display in single page
data-autoplay="true" or "false" for autoplay.
data-loop="true" or "false" for looping the carousel
data-effect="fade" or "cube" for slide changing effects
data-direction="horizontal" or "vertical" for sliding direction
data-initlal="3" for for first active slide
data-center="true" or "false" for centerize slider
-->