Skip to content

Instantly share code, notes, and snippets.

View dardevelin's full-sized avatar

Darcy Brás da Silva dardevelin

View GitHub Profile
#!/usr/bin/env bash
INRES="1600x900" # input resolution
OUTRES="1600x900" # output resolution
FPS="10" # target FPS
GOP="20" # i-frame interval, should be double of FPS,
THREADS="4" # max 6
CBR="1300k" # constant bitrate (should be between 1000k - 3000k)
QUALITY="veryfast" # one of the many FFMPEG preset
STREAM_KEY="foo"
SERVER="rtmp://eumedia1.livecoding.tv:1935/livecodingtv"
@dardevelin
dardevelin / README.md
Created May 4, 2016 13:57 — forked from hbpasti/README.md
fontawesome with i3status

fontawesome with i3status

This is my i3 config, using FontAwesome icons for i3status.

Save files to ~/.i3.

@dardevelin
dardevelin / index.php
Last active August 29, 2015 14:22 — forked from hubgit/index.php
<?php
/* start editable */
// Register your client at https://orcid.org/developer-tools and replace the details below
define('OAUTH_CLIENT_ID', 'YOUR-CLIENT-ID');
define('OAUTH_CLIENT_SECRET', 'YOUR-CLIENT-SECRET');
define('OAUTH_REDIRECT_URI', 'https://developers.google.com/oauthplayground'); // URL of this script
define('ORCID_PRODUCTION', false); // sandbox; change to true when ready to leave the sandbox
/* end editable */
import "ecere"
enum FancyState { start, finish, fail };
class FancyString : struct
{
public property const String s
{
set { s = CopyString(value); }
get { return s; }
import "ecere"
class AsyncTask : Thread
{
public void * userData;
virtual bool any_object::notifyDone();
void doSomething()
{