From https://codesandbox.io/s/poker-m6olm?file=/src/index.js:0-2400
Use for texas poker
#!/bin/env bash | |
# Dependencies: tesseract-ocr flameshot imagemagick xclip | |
#Name: OCR Picture | |
#Fuction: take a screenshot and OCR the letters in the picture | |
#Path: /home/Username/... | |
#you can only scan one character at a time | |
SCR="/home/Username/pictures/SCR" |
// installBinary installs the daprd, placement or dashboard binaries and associated files inside the default dapr bin directory. | |
func installBinary(version, binaryFilePrefix, githubRepo string, info initInfo) error { | |
var ( | |
err error | |
filepath string | |
) | |
dir := defaultDaprBinPath() | |
if isAirGapInit { | |
filepath = path_filepath.Join(info.fromDir, *info.bundleDet.BinarySubDir, binaryName(binaryFilePrefix)) |
Placeholder |
default: help | |
##@ Main targets | |
install: update-tools ## Install all tools and builds binaries. | |
bins: ## Rebuild binaries (used by Dockerfile). | |
all: update-tools clean proto bins check test ## Install all tools, recompile proto files, run all possible checks and tests (long but comprehensive). | |
ci-build: update-tools shell-check check proto mocks gomodtidy ensure-no-changes ## Used by Buildkite. |
func equal(x, y map[string]int) bool { | |
if len(x) != len(y) { | |
return false | |
} | |
for k, xv := range x { | |
if yv, ok := y[k]; !ok || yv != xv { | |
return false | |
} | |
} | |
return true |
// This is a basic Flutter widget test. | |
// | |
// To perform an interaction with a widget in your test, use the WidgetTester | |
// utility that Flutter provides. For example, you can send tap and scroll | |
// gestures. You can also use WidgetTester to find child widgets in the widget | |
// tree, read text, and verify that the values of widget properties are correct. | |
import 'package:flutter/foundation.dart'; | |
import 'package:flutter/gestures.dart'; | |
import 'package:flutter/material.dart'; |
From https://codesandbox.io/s/poker-m6olm?file=/src/index.js:0-2400
Use for texas poker
package visitor | |
import ( | |
"context" | |
"errors" | |
"github.com/silverswords/pulse/pkg/message/retry" | |
"github.com/silverswords/pulse/pkg/message/timingwheel" | |
"log" | |
"time" | |
) |
package maxopenfile | |
import ( | |
"log" | |
"syscall" | |
) | |
func MaxOpenFiles() { | |
var rLimit syscall.Rlimit |
package sshproxy | |
import ( | |
"bytes" | |
"encoding/binary" | |
"fmt" | |
"golang.org/x/crypto/ssh" | |
"io" | |
"io/ioutil" | |
"log" |