Skip to content

Instantly share code, notes, and snippets.

View jcurbo's full-sized avatar

James Curbo jcurbo

View GitHub Profile
@jcurbo
jcurbo / skycam.py
Created November 12, 2017 02:19
Quick and dirty picamera script for skycam
from picamera import PiCamera
from time import sleep
from fractions import Fraction
from datetime import datetime
from os import makedirs
import argparse
parser = argparse.ArgumentParser()
parser.add_argument("--iso", type=int, default=800, help="ISO to use")
parser.add_argument("--shutter", type=int, default=6000000, help="shutter speed in microseconds")

Keybase proof

I hereby claim:

  • I am jcurbo on github.
  • I am jcurbo (https://keybase.io/jcurbo) on keybase.
  • I have a public key ASAEnXSosdjPFg1P0kpozz_CrB5JZswoaYGods_gjEWgCQo

To claim this, I am signing this object:

@jcurbo
jcurbo / tabbar-tweak.el
Last active December 27, 2015 07:08 — forked from 3demax/tabbar-tweak.el
;; This are setting for nice tabbar items
;; to have an idea of what it looks like http://imgur.com/b0SNN
;; inspired by Amit Patel screenshot http://www.emacswiki.org/pics/static/NyanModeWithCustomBackground.png
;; Had to make some changes to make it work in Emacs 24.3.1. - james
;; Tabbar
(require 'tabbar)
;; Tabbar settings
(set-face-attribute
@jcurbo
jcurbo / gist:4515302
Created January 12, 2013 00:41
Slight mod of the plugin available here: http://blog.wuzzeb.org/posts/2012-06-26-bibtex-and-gitit.html to allow it to work with this ACM reference: http://doi.acm.org/10.1145/340855.340961 The original chokes on the underscore in 'issue_date'.
{-
Copyright (C) 2012 John Lenz <lenz@math.uic.edu>
All rights reserved.
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:
Redistributions of source code must retain the above copyright notice, this list
of conditions and the following disclaimer. Redistributions in binary form must
reproduce the above copyright notice, this list of conditions and the following