Skip to content

Instantly share code, notes, and snippets.

Avatar

J. Voigt joyrexus

View GitHub Profile
@dergachev
dergachev / GIF-Screencast-OSX.md
Last active Oct 28, 2020
OS X Screencast to animated GIF
View GIF-Screencast-OSX.md

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

@btoone
btoone / curl.md
Last active Oct 24, 2020
A curl tutorial using GitHub's API
View curl.md

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
View gist:5fc18c659814c078378d
package main
import (
"net/http"
"database/sql"
"fmt"
"log"
"os"
)
@joelambert
joelambert / README
Created Jun 1, 2011
Drop in replacements for setTimeout()/setInterval() that makes use of requestAnimationFrame() where possible for better performance
View README
Drop in replace functions for setTimeout() & setInterval() that
make use of requestAnimationFrame() for performance where available
http://www.joelambert.co.uk
Copyright 2011, Joe Lambert.
Free to use under the MIT license.
http://www.opensource.org/licenses/mit-license.php
@OleksiyRudenko
OleksiyRudenko / collapsable.md
Last active Oct 8, 2020 — forked from joyrexus/README.md
Collapsable markdown
View collapsable.md

collapsable markdown?

See this gist source code for details (pun intended :) )

CLICK ME

yes, even hidden code blocks!

@enjalot
enjalot / cors_server.py
Created Jun 10, 2012
Allow CORS with python simple http server
View cors_server.py
import SimpleHTTPServer
class CORSHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
def send_head(self):
"""Common code for GET and HEAD commands.
This sends the response code and MIME headers.
Return value is either a file object (which has to be copied
to the outputfile by the caller unless the command was HEAD,
and must be closed by the caller under all circumstances), or
@nmerouze
nmerouze / main.go
Last active Aug 27, 2020
Example for "Build Your Own Web Framework in Go" articles
View main.go
package main
import (
"database/sql"
"encoding/json"
"errors"
"fmt"
"log"
"net/http"
"time"
@stevenringo
stevenringo / reinvent-2017-youtube.md
Created Dec 3, 2017
Links to YouTube recordings of AWS re:Invent 2017 sessions
View reinvent-2017-youtube.md

| Title | Description

@mbostock
mbostock / .block
Last active Jun 30, 2020
The Gist to Clone All Gists
View .block
license: gpl-3.0
View GIF-Screencast-OSX.md

OS X Screencast to animated GIF

This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.

Screencapture GIF

Instructions

To capture the video (filesize: 19MB), using the free "QuickTime Player" application:

You can’t perform that action at this time.