Skip to content

Instantly share code, notes, and snippets.

@Nilpo
Nilpo / Using Git to Manage a Live Web Site.md
Last active April 26, 2024 19:09
Using Git to Manage a Live Web Site

Using Git to Manage a Live Web Site

Overview

As a freelancer, I build a lot of web sites. That's a lot of code changes to track. Thankfully, a Git-enabled workflow with proper branching makes short work of project tracking. I can easily see development features in branches as well as a snapshot of the sites' production code. A nice addition to that workflow is that ability to use Git to push updates to any of the various sites I work on while committing changes.

Contents

@hubgit
hubgit / OAuthClient.php
Created August 14, 2014 12:33
PHP OAuth 1.0 client using cURL
<?php
class OAuthClient {
/** @var OAuth */
public $oauth;
/** @var cURL */
public $curl;
function __construct(array $config) {