Skip to content

Instantly share code, notes, and snippets.

View daveallie's full-sized avatar
🚘
skkkkrrrt

Dave Allie daveallie

🚘
skkkkrrrt
View GitHub Profile
@daveallie
daveallie / index.mdx
Created January 16, 2022 05:44
Sample blog post

title: Test post date: 2022-01-16 update_date: 2022-01-16 author: Dave Allie slug: test-post published: true description: Some description tags:

  • my-tag
@daveallie
daveallie / codeship_improvements.css
Last active November 24, 2017 01:44
Codeship Improvements
strong.build-details-primary::first-letter {
color: #f00;
}
.build-details-time, .build-details-time + span, time.build-details-secondary {
float: right;
}
.build-img {
width: 60px;
@daveallie
daveallie / realsync_cmd
Last active January 16, 2018 02:06
Realsync with command overrides
#!/usr/bin/perl -w
use Cwd qw(getcwd abs_path);
use strict;
use File::Basename;
use File::Path qw(mkpath rmtree);
use File::Spec;
use Text::ParseWords;
use IPC::Open2;
use IO::Handle;
use Digest::MD5 'md5_hex';

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@daveallie
daveallie / download.rb
Last active June 2, 2016 01:52
Ruby file segment downloader
#!/usr/bin/env ruby
require 'httparty'
require 'parallel'
require 'optparse'
require 'curses'
PART_CHAR = "\u2588"
def parse_options
function evaluate(evalString)
m = match(r"(.*?)\((.*)\)(.*)", evalString)
if m != nothing
evalString = "$(m.captures[1])$(evaluate(m.captures[2]))$(m.captures[3])"
end
# Brackets are dealt with
# Add
m = match(r"(.*)\+(.*)", evalString)
if m != nothing
@daveallie
daveallie / README.md
Last active March 15, 2017 22:24 — forked from agnoster/README.md
My ZSH Theme

agnoster.zsh-theme

A ZSH theme optimized for people who use:

  • Solarized
  • Git
  • Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)

For Mac users, I highly recommend iTerm 2 + Solarized Dark

import java.util.*;
public class CompGeom {
public static void main(String[] args) {
List<Point> points = new ArrayList<Point>();
// points.add(new Point(5, 4));
// points.add(new Point(4, 2));
// points.add(new Point(3, 3));
// points.add(new Point(6, 1));
// points.add(new Point(7, 4));