Skip to content

Instantly share code, notes, and snippets.

View rbdixon's full-sized avatar

Brad Dixon rbdixon

  • Carve Systems
  • Atlanta, GA
View GitHub Profile
@rbdixon
rbdixon / gist:54575
Created January 29, 2009 15:21
My public key for ssh
ssh-rsa AAAAB3NzaC1yc2EAAAAFAKDD8CcAAACBAJnaX2L2o5nf8ha/gG0kMW9PyPMIDQcdV6+pOLaDuu3PzvN2JU7eXR3DfSQta6tj2pQ2x//KruXkI9ejG3lMYPijkt1LQgKT/a2UFJ+wlzPbjcAz1jaScSBGBwt6HuZCUeYkgGB4v5prL5bbeW8iUqE1zghON4HqU6nBLm4pEqEt cardno:000100000A96
@rbdixon
rbdixon / gist:67102
Created February 19, 2009 20:23
My public key block for the OpenPGP card
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.6 (GNU/Linux)
mQGiBERJMSwRBACAzylmzfn3/bcrbjqI6aIt1vVIlw/blnhmhTS8jawHixTis4qX
O1365tUli7uQEo4xThpZi/VyhWZNiSr5oRaxcfwk2jU2CEdCvug17CAa26W01xyY
3ugqgaJPJNed1qICJGmWHZwN4a1+LRGhb741OtZ8RUKp4cUo5gjZIfBg2wCgybrm
oqhNWx8S84kc/z1IGldLUeUD/19av8gQPL3qbqalEzLTT47cZUQ7fq5AjoE7DL1r
MZhUZUBs+3Qmqj+8AsSDfgAWoZ7n0Z0OCdra5DtLeR6PCv9F8+ObGFpm/drgj4BM
MvWfpJAQYMAK4CMg38/q7hg0VEjL8qKXZqlEQaiYBupEznj9CDGjBlKzb2jFd06i
OXMnA/9m9+Nbc5nvZxrZVxaAEnYHU/kpep8P4LdDuW3ekT3RnrKLyMkVrIcEwEkd
@rbdixon
rbdixon / hello.c
Created January 13, 2012 14:31
Hello
#include <stdio.h>
int main(void) {
printf("Hello world.\n");
return 0;
}
checking build system type... x86_64-apple-darwin13.0.0
checking host system type... x86_64-apple-darwin13.0.0
checking target system type... x86_64-apple-darwin13.0.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /opt/boxen/homebrew/Library/ENV/4.3/sed
checking for gawk... no
checking for mawk... no
checking for nawk... no
@rbdixon
rbdixon / server.R
Created August 28, 2014 19:01
Attempt to get rCharts Highcharts to fill container
require(rCharts)
sample=data.frame(
k = c("a", "b", "c"),
v = c(1,2,3)
)
renderChartFit <- function(expr, env = parent.frame(), quoted = FALSE) {
func <- shiny::exprToFunction(expr, env, quoted)
function() {
@rbdixon
rbdixon / reuse.json
Last active August 29, 2015 14:17
Can't reuse reusable parameters
{
"swagger": "2.0",
"info": {
"version": "1.0.9-abcd",
"title": "Swagger Sample API",
"description": "A sample API that uses a petstore as an example to demonstrate features in the swagger-2.0 specification",
"termsOfService": "http://helloreverb.com/terms/",
"contact": {
"name": "wordnik api team",
"url": "http://developer.wordnik.com"
2015-07-16 11:17:15 -0400
./configure
--prefix=/opt/boxen/homebrew/Cellar/r/3.2.1_1
--with-libintl-prefix=/opt/boxen/homebrew/opt/gettext
--enable-memory-profiling
--enable-R-framework
--with-cairo
--with-aqua
--with-blas=-framework Accelerate
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#
# FROM dplyr join.r
#
inner_geo_join <- function(x, y, by = NULL, within = 0, ...) {
UseMethod("inner_geo_join")
}
left_geo_join <- function(x, y, by = NULL, within = 0, ...) {
UseMethod("left_geo_join")