I hereby claim:
- I am haarts on github.
- I am haarts (https://keybase.io/haarts) on keybase.
- I have a public key ASA55JuywI25AAxHvndx2p0bNN_HRUkgK3aVUOKFp9D7wQo
To claim this, I am signing this object:
colorscheme zenburn | |
add-highlighter global/ number-lines -relative | |
add-highlighter global/ show-matching | |
hook global WinSetOption filetype=python %{ | |
hook window InsertChar \t -group python-indent %{ exec -draft h@ } | |
} | |
hook global WinSetOption filetype=git-commit %{ | |
autowrap-enable |
2415: symbol=_ZNSbIwSt11char_traitsIwESaIwEE4_Rep11_S_max_sizeE; lookup in file=libffmpeg.so [0] | |
2415: symbol=_ZNSbIwSt11char_traitsIwESaIwEE4_Rep11_S_max_sizeE; lookup in file=/usr/lib/x86_64-linux-gnu/libasound.so.2 [0] | |
2415: symbol=_ZNSbIwSt11char_traitsIwESaIwEE4_Rep11_S_max_sizeE; lookup in file=/usr/lib/x86_64-linux-gnu/libcups.so.2 [0] | |
2415: symbol=_ZNSbIwSt11char_traitsIwESaIwEE4_Rep11_S_max_sizeE; lookup in file=/lib/x86_64-linux-gnu/librt.so.1 [0] | |
2415: symbol=_ZNSbIwSt11char_traitsIwESaIwEE4_Rep11_S_max_sizeE; lookup in file=/lib/x86_64-linux-gnu/libdl.so.2 [0] | |
2415: symbol=_ZNSbIwSt11char_traitsIwESaIwEE4_Rep11_S_max_sizeE; lookup in file=/lib/x86_64-linux-gnu/libexpat.so.1 [0] | |
2415: symbol=_ZNSbIwSt11char_traitsIwESaIwEE4_Rep11_S_max_sizeE; lookup in file=/usr/lib/x86_64-linux-gnu/libstdc++.so.6 [0] | |
2415: symbol=_ZN12v8_inspector8protocol8Debugger3API6Paused10ReasonEnum3XHRE; lookup in file=libnode.so [0] | |
2415: symbol=_ZN12v8_inspector |
require 'yaml' | |
require 'net/http' | |
require 'json' | |
url = 'https://pub.dev/api/packages/' | |
local_spec = YAML.load_file('pubspec.yaml') | |
local_spec["dependencies"].each do |lib, version| | |
if !version.is_a? String | |
next | |
end |
var fail = true; | |
int sheep() { | |
if (fail) { | |
fail = false; | |
throw Exception("boom!"); | |
} | |
return 1; | |
} |
I hereby claim:
To claim this, I am signing this object:
class Unique<T> extends StreamTransformerBase<T, T> { | |
final int memory; | |
const Unique({this.memory = 10}); | |
Stream<T> bind(Stream<T> stream) => Stream<T>.eventTransformed( | |
stream, (EventSink sink) => UniqueSink<T>(sink, memory: memory)); | |
} | |
class UniqueSink<T> implements EventSink<T> { | |
final EventSink<T> _output; | |
final Set<T> _seen = {}; |
abstract class Currency { | |
const Currency(this.precision, this.currencyCode); | |
final int precision; | |
final String currencyCode; | |
static List<Currency> all() { | |
return [Chf(), Xbt()]; | |
} | |
} |
FROM docker.io/crystallang/crystal:1.0.0 | |
RUN apt update && apt install -y curl gpg postgresql-client tmux | |
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - | |
RUN curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | tee /usr/share/keyrings/yarnkey.gpg >/dev/null | |
RUN echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | tee /etc/apt/sources.list.d/yarn.list | |
RUN apt update && \ |
require "dotenv" | |
require "redis" | |
require "db" | |
require "pg" | |
require "log" | |
module Producer | |
VERSION = "0.1.0" | |
Dotenv.load? "env" | |
Log.setup_from_env(default_level: :debug) |