duplicates = multiple editions
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
A Classical Introduction to Modern Number Theory, Kenneth Ireland Michael Rosen
| #!/bin/bash | |
| set -e | |
| echo "checking out OpenBLAS..." | |
| git clone https://github.com/xianyi/OpenBLAS.git | |
| cd OpenBLAS | |
| git checkout v0.2.15 | |
| echo "installing newer binutils..." |
| import scala.reflect.ClassTag | |
| import scala.util.{Either, Left, Right} | |
| import spray.json._ | |
| object JsonLens { | |
| class Json(val value: Option[JsValue]) { | |
| def /(name: String): Json = Json(value.flatMap(_.asJsObject.fields.get(name))) | |
| def -(name: String): Json = Json(value.map(obj => JsObject(obj.asJsObject.fields - name))) | |
| def apply(index: Int): Json = { |
| import botocore | |
| import boto3 | |
| import functools | |
| import time | |
| DEFAULT_BACKOFF_COEFF = 50.0 | |
| DEFAULT_MAX_ATTEMPTS = 4 | |
| MAX_BATCH_SIZE = 25 | |
| RETRYABLE_ERRORS = [ |
| package spray.json.examples | |
| import java.util.concurrent.TimeUnit | |
| import scala.collection.JavaConverters._ | |
| import scala.util.{Try, Success, Failure} | |
| import com.codahale.metrics._ | |
| import spray.json._ |
| package main | |
| import ( | |
| "archive/zip" | |
| "fmt" | |
| "io/ioutil" | |
| ) | |
| type myCloser interface { | |
| Close() error |
A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."
| func openbrowser(url string) { | |
| var err error | |
| switch runtime.GOOS { | |
| case "linux": | |
| err = exec.Command("xdg-open", url).Start() | |
| case "windows": | |
| err = exec.Command("rundll32", "url.dll,FileProtocolHandler", url).Start() | |
| case "darwin": | |
| err = exec.Command("open", url).Start() |
| package com.twitter.scalding.sources | |
| import cascading.tuple.Fields | |
| import cascading.tap.Tap; | |
| import org.elasticsearch.hadoop.cascading.EsTap | |
| import com.twitter.scalding._ | |
| abstract class ElasticsearchSource extends Source { |