This gist shows how to create a GIF screencast using only free OS X tools: QuickTime, ffmpeg, and gifsicle.
To capture the video (filesize: 19MB), using the free "QuickTime Player" application:
#!/bin/bash | |
# | |
# This script will create a 'backend.md' and 'frontend.md' containing | |
# all the source code in the current directory. You can then upload these | |
# files to a custom GPT. It's setup for my golang project but you can easily | |
# modify it to suit your needs. | |
# | |
# This script requires 'fd' to be installed. | |
set -e |
### Keybase proof | |
I hereby claim: | |
* I am jeffrydegrande on github. | |
* I am jeffrydegrande (https://keybase.io/jeffrydegrande) on keybase. | |
* I have a public key ASC9re1jba9Z2-1xxMdMlXTUUKywabAddib3Zz_IyAPSBgo | |
To claim this, I am signing this object: |
time cargo run --release | |
Running `target/release/actors` | |
145, Lyric | |
3, Utai | |
4 Real | |
4Shore | |
4Sure | |
4th Ba5e | |
4Tune |
polyMergeVertex -d 0.001 -ch 0; |
#include "SDL.h" | |
#define SCREEN_WIDTH 640 | |
#define SCREEN_HEIGHT 480 | |
#define SPRITE_SIZE 32 | |
SDL_Texture *loadTexture(SDL_Renderer *renderer, const char *filename, int colorkey) { | |
SDL_Surface *bmp = SDL_LoadBMP(filename); |
#!/bin/bash | |
export DEBIAN_FRONTEND=noninteractive | |
wget -q -O - http://apt.hellobits.com/hellobits.key | apt-key add - | |
echo "deb http://apt.hellobits.com/ precise main" > /etc/apt/sources.list.d/hellobits.list | |
apt-get update | |
apt-get install -y build-essential \ | |
git \ |
LuckyLady is a company I founded together with my wife. She offers spiritual advice and counseling through a number of web properties and a custom CRM I develop and maintain. http://www.raizesespirituais.com.br
Objetiva is a consulting company I co-founded. We help startups through their first cycles of product development or when their product has gone down the tube because someone made a mess. At this point we've frozen activities because both my co-founder and myself have burned out on the consulting business. I'm currently still working with one of our clients but it's more an on the side thing. http://www.objetiva.co/?locale=en
class Ajax | |
@getJSON: (url, event)-> | |
$.getJSON url, (data)-> | |
Event.trigger(event, data) |
class Router | |
@prefix = "something" | |
@path: (url)-> @prefix + url | |
@pathWithArgs: (url, args)-> @prefix + url + @serialize(args) | |
@serialize = (obj, prefix) -> | |
str = [] | |
for p, v of obj | |
k = if prefix then prefix + "[" + p + "]" else p | |
if typeof v == "object" | |
str.push(serialize(v, k)) |