This animated bar chart is adapted from Mike Bostock's sample bar chart to allow redrawing and animated transitions.
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
use btleplug::api::bleuuid::uuid_from_u16; | |
use btleplug::api::{Central, CentralEvent, Manager as _, Peripheral as _, ScanFilter, WriteType}; | |
use btleplug::platform::{Adapter, Manager, Peripheral}; | |
use clap::Command; | |
use futures::stream::StreamExt; | |
use std::error::Error; | |
use std::fmt::Debug; | |
use std::time::{SystemTime, UNIX_EPOCH}; | |
fn cli() -> Command { |
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 "bundler/inline" | |
gemfile(true) do | |
source "https://rubygems.org" | |
git_source(:github) { |repo| "https://github.com/#{repo}.git" } | |
gem "activerecord", "= 7.1.2" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
version: '3' | |
services: | |
zookeeper: | |
image: confluentinc/cp-zookeeper:latest | |
environment: | |
ZOOKEEPER_CLIENT_PORT: 2181 | |
ZOOKEEPER_TICK_TIME: 2000 | |
ports: | |
- 22181:2181 |
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Rails server", | |
"type": "Ruby", | |
"request": "launch", | |
"cwd": "${workspaceRoot}", | |
"program": "${workspaceRoot}/bin/rails", | |
"args": [ |
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
# /etc/danted.conf | |
logoutput: syslog /var/log/sockd.log | |
internal: eth0 port = 1080 | |
external: eth0 | |
clientmethod: none | |
socksmethod: username |
I hereby claim:
- I am 4ndv on github.
- I am andv (https://keybase.io/andv) on keybase.
- I have a public key whose fingerprint is C088 3A2D 3142 A491 8E43 653D B1AC B827 B4AC F1EF
To claim this, I am signing this object: