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
#!/usr/bin/env just | |
default: | |
just -l | |
# Update this git repository | |
update: | |
git fetch --depth 1 && git reset --hard origin/master | |
# Find available commands |
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
#!/usr/bin/env just | |
default: | |
just -l | |
# Update this git repository | |
update: | |
git fetch --depth 1 && git reset --hard origin/master | |
# Find available commands |
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 cats.Monoid | |
import cats.implicits._ | |
import scala.collection.immutable.Stream | |
import com.cra.figaro.language.{ Constant, Element, Apply, Chain, Atomic } | |
import com.cra.figaro.algorithm.factored.{ VariableElimination } | |
import com.cra.figaro.algorithm.sampling.Importance | |
import com.cra.figaro.algorithm.{ ProbQueryAlgorithm } | |
import com.cra.figaro.library.atomic.discrete.FromRange |
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
Closed* | |
report anomaly -> Opened | |
Opened | |
close -> Closed | |
Ilmoita muu tilanne* | |
Initial* | |
Asiakkaalle on vastattu toisessa keskustelussa -> Report specific anomaly | |
Tilaisuus on jo raportoitu toisessa keskustelussa -> Report specific anomaly |
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
/* @flow */ | |
import { | |
type Tagged, // eslint-disable-line import/named | |
tagged | |
} from './tagged'; | |
// I can create tagged values... | |
const taggedString: Tagged<string> = tagged('asdf'); | |
// ...and those values can be used as the type that was provided as the argument to `Tagged`: |
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
circleci@bf4cc848203d:~/venuu$ rustc --version | |
rustc 1.25.0 (84203cac6 2018-03-25) | |
circleci@bf4cc848203d:~/venuu$ cargo --version | |
cargo 0.26.0 (41480f5cc 2018-02-26) | |
circleci@bf4cc848203d:~/venuu$ gem install hypothesis-specs -v '0.0.9' | |
Fetching: thor-0.20.0.gem (100%) | |
Successfully installed thor-0.20.0 | |
Fetching: tomlrb-1.2.6.gem (100%) | |
Successfully installed tomlrb-1.2.6 | |
Fetching: helix_runtime-0.7.3.gem (100%) |
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
# frozen_string_literal: true | |
require 'hypothesis' | |
require_dependency 'nuugeo' | |
RSpec.describe Nuugeo::Viewport::Union do | |
include Hypothesis | |
include Hypothesis::Possibilities | |
def union(left, right) | |
described_class.call(left, right) |
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
const I = x => x; | |
const K = x => y => x; | |
const A = f => x => f(x); | |
const T = x => f => f(x); | |
const W = f => x => f(x)(x); | |
const C = f => y => x => f(x)(y); | |
const B = f => g => x => f(g(x)); | |
const S = f => g => x => f(x)(g(x)); | |
const P = f => g => x => y => f(g(x))(g(y)); | |
const Y = f => (g => g(g))(g => f(x => g(g)(x))); |
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
# In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env | |
# variable pointing GPG to the gpg-agent socket. This little script, which must be sourced | |
# in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start | |
# gpg-agent or set up the GPG_AGENT_INFO variable if it's already running. | |
# Add the following to your shell init to set up gpg-agent automatically for every shell | |
if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then | |
source ~/.gnupg/.gpg-agent-info | |
export GPG_AGENT_INFO | |
else |
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
# In order for gpg to find gpg-agent, gpg-agent must be running, and there must be an env | |
# variable pointing GPG to the gpg-agent socket. This little script, which must be sourced | |
# in your shell's init script (ie, .bash_profile, .zshrc, whatever), will either start | |
# gpg-agent or set up the GPG_AGENT_INFO variable if it's already running. | |
# Add the following to your shell init to set up gpg-agent automatically for every shell | |
if [ -f ~/.gnupg/.gpg-agent-info ] && [ -n "$(pgrep gpg-agent)" ]; then | |
source ~/.gnupg/.gpg-agent-info | |
export GPG_AGENT_INFO | |
else |
NewerOlder