Skip to content

Instantly share code, notes, and snippets.

@btoone
btoone / curl.md
Last active March 13, 2026 03:04
A curl tutorial using GitHub's API

Introduction

An introduction to curl using GitHub's API.

The Basics

Makes a basic GET request to the specifed URI

curl https://api.github.com/users/caspyin
@rchampourlier
rchampourlier / gist:1079119
Created July 12, 2011 22:18
nginx configuration file template for HTML-serving, reverse-proxying PHP and Rails apps through Passenger and standalone rails servers
user www;
worker_processes 1;
daemon on;
error_log /var/log/nginx/error.log warn;
timer_resolution 500ms;
events {
worker_connections 512;
}