This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Logback: the reliable, generic, fast and flexible logging framework. | |
| * Copyright (C) 1999-2015, QOS.ch. All rights reserved. | |
| * | |
| * This program and the accompanying materials are dual-licensed under | |
| * either the terms of the Eclipse Public License v1.0 as published by | |
| * the Eclipse Foundation | |
| * | |
| * or (per the licensee's choosing) | |
| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "fmt" | |
| "bufio" | |
| "os" | |
| ) | |
| type Comparable interface { | |
| Less(other Comparable) bool |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Tjournal.ru | |
| Cnews.ru | |
| Hi-Tech@Mail.Ru | |
| 3dnews.ru | |
| Roem.ru | |
| Tdaily.ru | |
| Hi-News.ru | |
| Habrahabr.ru | |
| D-russia.ru | |
| Securitylab.ru |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import scala.math.random | |
| // case class Point(x: Int, y: Int) | |
| import scala.util.{Try, Success, Failure} | |
| import scala.collection.mutable.ArrayBuffer | |
| val input = for (i <- 0 to 40) yield (random, random) | |
| var data = input ++: ArrayBuffer[(Double, Double)]() | |
| // val input = List((1,2), (1,3), (1,125), (1,)) | |
| data = data.sortBy(x => (x._1, x._2)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker ps -a | grep ago | awk '{print $1}' | xargs docker stop | |
| docker ps -a | grep ago | awk '{print $1}' | xargs docker rm | |
| docker images | grep one | awk '{print $3}' | xargs docker rmi | |
| docker images -a | grep one | awk '{print $3}' | xargs docker rmi | |
| docker ps -a | awk '{print $1}' | xargs docker stop | |
| docker ps -a | awk '{print $1}' | xargs docker rm | |
| docker images | awk '{print $3}' | xargs docker rmi | |
| docker images -a | awk '{print $3}' | xargs docker rmi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package ru.megafon.rxjava.test; | |
| import com.google.common.util.concurrent.*; | |
| import rx.Observable; | |
| import java.util.concurrent.*; | |
| public class Main { | |
| public static void main(String[] args) throws InterruptedException { | |
| ListeningExecutorService pool = MoreExecutors.listeningDecorator(Executors.newFixedThreadPool(20)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.microsoft.hackaton; | |
| import java.io.IOException; | |
| import java.nio.charset.Charset; | |
| import java.util.StringTokenizer; | |
| import org.apache.hadoop.conf.Configuration; | |
| import org.apache.hadoop.fs.Path; | |
| import org.apache.hadoop.io.LongWritable; | |
| import org.apache.hadoop.io.Text; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {---------------------------------------------------------------------------- | |
| __ __ __ __ ____ ___ _______________________________________________ | |
| || || || || || || ||__ Hugs 98: The Nottingham and Yale Haskell system | |
| ||___|| ||__|| ||__|| __|| Copyright (c) 1994-1999 | |
| ||---|| ___|| World Wide Web: http://haskell.org/hugs | |
| || || Report bugs to: hugs-bugs@haskell.org | |
| || || Version: February 1999_______________________________________________ | |
| This is the Hugs 98 Standard Prelude, based very closely on the Standard | |
| Prelude for Haskell 98. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Stop(f: Double) { | |
| } |
NewerOlder