This file contains 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 com.google.inject.AbstractModule | |
object ApplicationModule extends AbstractModule with JobSyntax { | |
override def configure(): Unit = { | |
install(job[MyJob].named("my")) | |
install(job[OtherJob].named("other")) | |
} | |
} |
This file contains 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 example | |
import java.net.InetSocketAddress | |
import java.nio.ByteBuffer | |
import java.nio.channels.SocketChannel | |
import java.nio.charset.Charset | |
import java.util | |
import com.mongodb.ServerAddress | |
import com.mongodb.connection.{AsyncCompletionHandler, SocketSettings, SslSettings, Stream, StreamFactory, StreamFactoryFactory} |
This file contains 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
#include <iostream> | |
#include <iomanip> | |
#include <string> | |
#include <vector> | |
#include <array> | |
#include <algorithm> | |
struct Prefix { | |
std::string& source; | |
int offset; |
This file contains 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
#include <cstdio> | |
#include <string> | |
#include <tuple> | |
template <class T, class... Args> | |
class Deserializer { | |
}; | |
template <> |
This file contains 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
private def setsDifferences[A](a: SortedSet[A], b: SortedSet[A]): (Iterable[A], Iterable[A]) = { | |
require(a.ordering == b.ordering, "Sets must use same ordering") | |
val ordering = a.ordering | |
@tailrec | |
def interLoop(accA: List[A], a: SortedSet[A], b: SortedSet[A], accB: List[A]): (List[A], List[A]) = { | |
(a.headOption, b.headOption) match { | |
case (Some(elemA), Some(elemB)) => | |
ordering.compare(elemA, elemB) match { | |
case result if result == 0 => interLoop(accA, a.tail, b.tail, accB) | |
case result if result > 0 => interLoop(accA, a, b.tail, elemB::accB) |
This file contains 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
src/ | |
├── main | |
│ ├── assets | |
│ │ ├── images | |
│ │ ├── javascripts | |
│ │ └── stylesheets | |
│ │ └── base.css | |
│ ├── resources | |
│ │ └── application.conf | |
│ ├── scala |
This file contains 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
include <libstuff/bolt_commons.scad> | |
use <libstuff/imbus.scad> | |
module sbr16_rail(length){ | |
echo("SRB16x" + length); | |
rotate([90,0,90]){ | |
linear_extrude(length){ | |
import("16-rail.dxf"); | |
} | |
} |
This file contains 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
Feature: Rankings | |
Ranking allow comunity to know who and how much working for comunity. | |
Background: | |
Given: User is logged in | |
Scenario: Rankings for week is default | |
When: User click rankings button | |
Then: There should be table in front | |
And: Time range should be one week |
This file contains 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
UMAR_W_BUTACH | |
.LIB L1DO5.LIB | |
*.MODEL MOS NMOS(LEVEL=2) | |
.PARAM Ugs 0 | |
M1 2 1 0 0 LEVEL1 W=25u L=2u | |
V2 2 0 0 | |
V1 1 0 {Ugs} |
This file contains 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
% m-plik skrytpowy: rozwiazanie_zadania_3.m | |
% | |
% Laboratorium: Cyfrowe Przetwarzanie Sygnałów; | |
% Katedra Elektroniki, WIEiT, AGH; | |
% | |
% Opracowanie: Przemyslaw Koerohoda,, 12/05/2015; | |
clc; clear; close all; | |
fp=11025; fg=1000; |
NewerOlder