Skip to content

Instantly share code, notes, and snippets.

View frankcash's full-sized avatar
🗻
Moving tons of data.

Frank Cash frankcash

🗻
Moving tons of data.
View GitHub Profile
@frankcash
frankcash / keybase.md
Created December 28, 2014 21:56
keybase.md

Keybase proof

I hereby claim:

  • I am frankcash on github.
  • I am frankcash (https://keybase.io/frankcash) on keybase.
  • I have a public key whose fingerprint is DF13 A48C 5EDA DF78 4978 71D4 65FA 483C 4996 A724

To claim this, I am signing this object:

@frankcash
frankcash / .vimrc
Last active September 19, 2016 23:36
Frank's .dotfiles
set nocompatible " be iMproved, required
filetype off " required
set backspace=indent,eol,start
set mouse=a
set autoindent
set tabstop=2
set shiftwidth=2
set nofoldenable
set noshowmode
set nowrap
@frankcash
frankcash / learnYouAPerlForGreatGood
Created December 17, 2014 00:10
How to learn "PERL"
use strict;
use warnings;
use LWP::Simple;
my $url = 'https://www.python.org/';
my $content = get $url or die "Unable to get $url\n";
print $content;
@frankcash
frankcash / Error
Last active August 29, 2015 14:07
Getting an error for "<- param"
No instance for (scotty-0.5.0:Web.Scotty.Action.Parsable t0)
arising from a use of `param'
The type variable `t0' is ambiguous
Possible fix: add a type signature that fixes these type variable(s)
Note: there are several potential instances:
instance scotty-0.5.0:Web.Scotty.Action.Parsable ()
-- Defined in `scotty-0.5.0:Web.Scotty.Action'
instance scotty-0.5.0:Web.Scotty.Action.Parsable Bool
-- Defined in `scotty-0.5.0:Web.Scotty.Action'
instance scotty-0.5.0:Web.Scotty.Action.Parsable
public class ZippyZoop {
public static void zippyZoop(String fileName, String zipName){
try{
byte[] buffer = new byte[1024];
FileOutputStream fos = new FileOutputStream(zipName);
ZipOutputStream zos = new ZipOutputStream(fos);
File srcFile = new File(fileName);