I hereby claim:
- I am calebfenton on github.
- I am calebfenton (https://keybase.io/calebfenton) on keybase.
- I have a public key ASDh0fF0_SgjgXzA-R6d7ZDTW8E2PdMF8lIbbqzV8G4vvgo
To claim this, I am signing this object:
| import sys | |
| with open(sys.argv[1], 'r') as f: | |
| lines = f.readlines() | |
| for line in lines: | |
| if line.startswith('#'): | |
| continue | |
| parts = line.strip().split('\t') | |
| chem = parts[len(parts) - 1] | |
| sys.stdout.write(chem) |
| import org.apache.hadoop.fs.{FileStatus, FileSystem, Path} | |
| import org.apache.hadoop.io.SequenceFile | |
| import org.apache.hadoop.io.SequenceFile.{Metadata, Reader, Writer} | |
| import org.apache.hadoop.io.compress.{DefaultCodec, SnappyCodec} | |
| import org.apache.hadoop.conf.Configuration | |
| import org.apache.spark.SparkContext | |
| def migrateSnappy(fs: FileSystem, path: String): Unit = { | |
| val snappyPath = new Path(path) | |
| val oldPath = new Path(path.replace(".snappy", "")) |
| # Limitations: | |
| # 1. Only math allowed is addition. | |
| # 2. No Ruby API calls. | |
| # 3. Inputs are natural numbers. | |
| require 'benchmark' | |
| def min_max(a, b) | |
| smaller = a | |
| larger = b |
I hereby claim:
To claim this, I am signing this object:
| require 'citrus' | |
| Citrus.load 'boolean' | |
| m = Boolean.parse 'false or true' | |
| puts m.value # > true | |
| m = Boolean.parse 'true and (!true && True) || FALSE' | |
| puts m.value # > false |
| apple.laf.JRSUIConstants | |
| apple.laf.JRSUIControl$BufferState | |
| com.apple.concurrent.Dispatch$Priority | |
| com.apple.concurrent.LibDispatchNative | |
| com.apple.eawt.event.GestureUtilities | |
| com.apple.eawt.FullScreenUtilities | |
| com.apple.eawt.QuitStrategy | |
| com.apple.laf.AquaButtonBorder$1 | |
| com.apple.laf.AquaButtonCheckBoxUI$1 | |
| com.apple.laf.AquaButtonExtendedTypes$1 |
| package com.isciurus.oauth_poc; | |
| import java.io.IOException; | |
| import java.text.DateFormat; | |
| import java.util.Date; | |
| import com.google.android.gms.auth.GoogleAuthException; | |
| import com.google.android.gms.auth.GoogleAuthUtil; | |
| import com.google.android.gms.auth.UserRecoverableAuthException; | |
| import android.accounts.AccountManager; | |
| import android.app.Activity; |