Skip to content

Instantly share code, notes, and snippets.

Avatar

Krisna Wijaya krisnaw

View GitHub Profile
@krisnaw
krisnaw / timezones_by_country_complete.php
Last active May 1, 2019
List of timezones by country complete with time offset for php
View timezones_by_country_complete.php
<?php
/**
* Created by PhpStorm.
* User: krisna
* Date: 2019-05-01
* Time: 10:17
*/
$timezones = array(
@krisnaw
krisnaw / ImageUploadController.php
Last active Jul 14, 2020
How to use Amazon S3 Presigned POSTs on Laravel + Vue JS
View ImageUploadController.php
<?php
namespace App\Http\Controllers;
use Aws\S3\PostObjectV4;
use Aws\S3\S3Client;
use Illuminate\Http\Request;
class ImageUploadController extends Controller
{
@krisnaw
krisnaw / SassMeister-input.scss
Created Apr 3, 2015
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.4.12)
// Compass (v1.0.3)
// ----
.homepage-hero{
background:url("http://foundation.zurb.com/assets/css/../img/marquee-stars.svg")
repeat scroll 0 0 #074E68;
height: 650px;
}
View FloatLabelLayout.java
/*
* Copyright (C) 2014 Chris Banes
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
You can’t perform that action at this time.