I hereby claim:
- I am pashields on github.
- I am pashields (https://keybase.io/pashields) on keybase.
- I have a public key ASDJHh9CYZxvc4-qCYrgFXlI4dwAWw89uEqjLnb9WnAZ9go
To claim this, I am signing this object:
#import "MapperConfig.h" | |
@interface MapperConfig (PListReader) | |
- (void)importFromPList:(NSString*)pListName; | |
@end | |
@implementation MapperConfig (PListReader) | |
- (void)importFromPList:(NSString*)pListName { | |
NSString *path = [[NSBundle mainBundle] pathForResource:pListName ofType:@"plist"]; | |
NSDictionary *mappings = [[NSDictionary alloc] initWithContentsOfFile:path]; |
#import "MapperConfig.h" | |
@interface MapperConfig (PListReader) | |
- (void)importFromPList:(NSString*)pListName; | |
@end | |
@implementation MapperConfig (PListReader) | |
- (void)importFromPList:(NSString*)pListName { | |
NSString *path = [[NSBundle mainBundle] pathForResource:pListName ofType:@"plist"]; | |
NSDictionary *mappings = [[NSDictionary alloc] initWithContentsOfFile:path]; |
AdOS API | |
======== | |
The AdOS api allows you to bulk request image based ads via a json-based interface. | |
Request Format | |
-------------- | |
The basic format of a request is: GET http://engine.adzerk.net/api/v1?request={ url encoded request data } | |
The request data should be an array of placement objects. A placement object can contain the following fields | |
* divName [String] an arbitrary unique id for the placement |
debug> repl | |
Press Ctrl + C to leave debug repl | |
> this.start | |
Wed Dec 31 1969 19:00:00 GMT-0500 (EST) | |
> this.start.valueOf() | |
'NaN' | |
> |
private static final String[] = {"a", "b", "c"}; | |
public String toDelimitedString(Model record) { | |
StringBuilder b = new StringBuilder(); | |
// Add n-1 fields with delim | |
for (int i=0; i<fields.length-1; i++) { // With guava or commons colls could use iter here | |
b.append(record.get(fields[i])); | |
b.append(delim); | |
} |
(ns line-compare.core | |
(:require [cheshire.core :refer :all] | |
[clojure.set :refer :all] | |
[clojure.java.io :refer :all])) | |
(defn read-file | |
[file] | |
(with-open [rdr (reader file)] | |
(set (parsed-seq rdr)))) |
futureAd = Ad.fromJSON JSON.parse adJson | |
# Haha. Dear future person or alien fixing this test in 2286, | |
# Sorry. I hoped you all would have given up on javascript | |
# by now. In that way, I blame this on you. Enjoy your legal weed. | |
futureAd.flight.startDate = new Date(9999999999999) | |
module.exports.futureAd = futureAd |
(2.7)λ pashields server → λ git setuppy-fixmes → python setup.py sdist | |
running sdist | |
running egg_info | |
creating ga4gh.egg-info | |
writing requirements to ga4gh.egg-info/requires.txt | |
writing ga4gh.egg-info/PKG-INFO | |
writing top-level names to ga4gh.egg-info/top_level.txt | |
writing dependency_links to ga4gh.egg-info/dependency_links.txt | |
writing entry points to ga4gh.egg-info/entry_points.txt | |
writing manifest file 'ga4gh.egg-info/SOURCES.txt' |
import java.util.logging.Logger | |
object Test { | |
val logger = Logger.getLogger("Test Logger") | |
def main(args: Array[String]): Unit = { | |
logger.info(sys.env.get("SPARK_ENV_VAR").toString) | |
logger.info(sys.env.get("NOT_SPARK_ENV_VAR").toString) | |
} | |
} |
I hereby claim:
To claim this, I am signing this object: