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
var bittrex = require('./node.bittrex.api.js'); | |
bittrex.options({ | |
'apikey': '', | |
'apisecret': '', | |
'stream': false, | |
'verbose': false, | |
'cleartext': false | |
}); |
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.yuri.java8.time; | |
import org.joda.time.format.DateTimeFormat; | |
import org.joda.time.format.DateTimeFormatter; | |
import java.util.concurrent.ExecutorService; | |
import java.util.concurrent.Executors; | |
/** | |
* Created by yuri.zelikov on 1/11/2016. |
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 me.reader | |
/** | |
* Created by yuri.zelikov on 1/6/2016. | |
*/ | |
case class Reader[C, A](g: C => A) { | |
def apply(c: C) = g(c) | |
def map[B](f: A => B): Reader[C, B] = { c: C => |
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
Verifying that +vega113 is my blockchain ID. https://onename.com/vega113 |
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
#!/bin/bash | |
# | |
# | |
# | |
# Start on runlevels 3, 4 and 5. Start late, kill early. | |
# chkconfig: 345 95 05 | |
# | |
# | |
#!/bin/bash |
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
public static String getTitle(WaveId waveId, WaveletId waveletId, WaveMap waveMap, | |
ConversationUtil conversationUtil) { | |
String title = ""; | |
WaveViewData wave = | |
AbstractSearchProviderImpl.buildWaveViewData(waveId, Lists.newArrayList(waveletId), | |
SolrSearchProviderImpl.matchesFunction, waveMap); | |
OpBasedWavelet wavelet = OpBasedWavelet.createReadOnly(wave.getWavelet(waveletId)); | |
if (WaveletBasedConversation.waveletHasConversation(wavelet)) { |
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
implicit class FutureCompanionOps(f: Future.type) extends AnyVal { | |
def userInput(message: String): Future[String] = Future { | |
readLine(message) | |
} | |
} | |
class FutureCompanionOps(f: Future.type) extends AnyVal { | |
def userInput(message: String): Future[String] = Future { | |
readLine(message) |
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 quickcheck | |
import common._ | |
import org.scalacheck._ | |
import Arbitrary._ | |
import Gen._ | |
import Prop._ | |
abstract class QuickCheckHeap extends Properties("Heap") with IntHeap { |
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 recfun | |
import common._ | |
object Main { | |
def main(args: Array[String]) { | |
println("Pascal's Triangle") | |
for (row <- 0 to 10) { | |
for (col <- 0 to row) | |
print(pascal(col, row) + " ") | |
println() |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<Module> | |
<ModulePrefs title="View Hits" width="72" height="25"> | |
<Require feature="wave" /> | |
</ModulePrefs> | |
<Content type="html"> | |
<![CDATA[ | |
<div> |