Skip to content

Instantly share code, notes, and snippets.

View keithtzeng's full-sized avatar

Keith Tzeng keithtzeng

  • Quanta Computer Inc.
View GitHub Profile
@keithtzeng
keithtzeng / S3.php
Created August 8, 2022 03:20 — forked from marcoarment/S3.php
A simple PHP class to perform basic operations against Amazon S3 and compatible services.
<?php
/*
A simple PHP class to perform basic operations against Amazon S3 and compatible
services. Requires modern PHP (7+, probably) with curl, dom, and iconv modules.
Copyright 2022 Marco Arment. Released under the MIT license:
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
@keithtzeng
keithtzeng / GitConfigHttpProxy.md
Created February 7, 2020 05:39 — forked from evantoli/GitConfigHttpProxy.md
Configure Git to use a proxy

Configure Git to use a proxy

In Brief

You may need to configure a proxy server if you're having trouble cloning or fetching from a remote repository or getting an error like unable to access '...' Couldn't resolve host '...'.

Consider something like: