Skip to content

Instantly share code, notes, and snippets.

View rowan-m's full-sized avatar
🐢
I'll get to it eventually.

Rowan Merewood rowan-m

🐢
I'll get to it eventually.
View GitHub Profile
@strangerintheq
strangerintheq / README.md
Last active January 24, 2022 18:34
Render full screen triangle in WebGL 2

A minimalistic method for rendering a triangle in WebGL 2 that covers the screen with no buffer inputs.

Usable for post effects or something similar to https://shadertoy.com

All vertex and texture coordinate information are generated in vertex shader from the built-in gl_VertexID variable

@PaulKinlan
PaulKinlan / getdeviceart.sh
Last active May 26, 2022 11:20
Screen Record for Android
#! /bin/bash
mkdir -p ./backgrounds
function get_google_device_art {
local device=$1
# Get the Google Device backgrounds
curl "https://developer.android.com/distribute/marketing-tools/device-art-resources/$1/port_back.png" > "./backgrounds/$1_port_back.png"
curl "https://developer.android.com/distribute/marketing-tools/device-art-resources/$1/port_fore.png" > "./backgrounds/$1_port_fore.png"
@rock3r
rock3r / giffify.py
Last active January 14, 2022 09:00
Giffify - easily create optimised GIFs from a video
#!/usr/bin/python
# License for any modification to the original (linked below):
# ----------------------------------------------------------------------------
# "THE BEER-WARE LICENSE" (Revision 42):
# Sebastiano Poggi and Daniele Conti wrote this file. As long as you retain
# this notice you can do whatever you want with this stuff. If we meet some day,
# and you think this stuff is worth it, you can buy us a beer in return.
import argparse, sys, subprocess, tempfile

Hypermedia API design session

Proposed/ran by Andreas Schmidt, Nokia

Based off his design around the Nokia Places API

Notes

  • Picked JSON, no support for XML
  • Added ?accept=application/json to the URL in the browser for a raw response