I hereby claim:
- I am urza on github.
- I am urza (https://keybase.io/urza) on keybase.
- I have a public key ASCUoz08ZGxMJNvNxTgW_sdlLYyFkcHdkQpVq3V_ULE2_Ao
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
(;GM[1]SZ[9]KM[7]RU[Chinese]RE[B+F] | |
PB[Nainoa (1637)] | |
PW[shushuho (1828)] | |
;B[ef];W[cd];B[gf];W[ec];B[cg];W[gd];B[be];W[bd];B[ad];W[ac];B[ae];W[ce];B[bf];W[cf];B[bg];W[cc];B[he];W[hd];B[id];W[ic];B[ie];W[ge];B[hf];W[gc];B[fe];W[fg];B[ff];W[dg];B[df];W[dh];B[ch];W[gh];B[eg];W[eh];B[gg];W[fh];B[hh];W[hi];B[ig];W[fd];B[ed];W[dd];B[ee];W[de];B[ih];W[];B[bb];W[bc];B[hb];W[hc];B[fb];W[fc];B[db];W[dc];B[eb];W[gb];B[ga];W[cb];B[ca];W[ab];B[ba];W[da];B[ea];W[ha];B[ia];W[ib];B[aa]) | |
When GrinPro.io miner starts mining it also starts listening on http://0.0.0.0:5777
The port can be changed by argument "api-port" at startup e.g. ./GrinProMiner api-port=6666
Four zeroes in the listening IP address means, that it can be accessed also from other computers on the network, not just localhost.
So it may look something like http://192.168.1.113:5777 depending on your IP address.
The root URL returns simple HTML dasboard with basic info about the miner.
Command line arguments for GrinPro.io miner. | |
General format is: arg1=value1 arg2=value2 etc. | |
Example: | |
Linux: ./GrinProMiner configpath=/absolute/path/to/directory api-port=3333 | |
Windows: GrinProMiner.exe configpath=C:\absolute\path\to\directory api-port=3333 | |
"configpath" Defines directory where to save or load config.xml file from. | |
Example: | |
Linux: ./GrinProMiner configpath=/absolute/path/to/directory | |
Windows: GrinProMiner.exe configpath=C:\absolute\path\to\directory |
// needs C# 9.0 or newer (top level statements) | |
// will utilize 100 % CPU and print elapsed seconds when finished | |
// Ryzen 5900x - cca 150 seconds | |
// you can also use int.MaxValue / 100 for shorter run | |
using System; | |
using System.Threading.Tasks; | |
var d = DateTime.Now; | |
Parallel.For(0, int.MaxValue, _ => new Random() ); |
private void btnWordStatsParallelInTask_Click(object sender, RoutedEventArgs e) | |
{ | |
/* | |
10 nejcastejsich slov v kazdem souboru - paralelně | |
*/ | |
txbResultsInfo.Text = ""; | |
Stopwatch w = new Stopwatch(); | |
w.Start(); | |
Mouse.OverrideCursor = System.Windows.Input.Cursors.Wait; |
private async void btnWordStatsParallelInTaskWithProgress_Click(object sender, RoutedEventArgs e) | |
{ | |
txbResultsInfo.Text = ""; | |
IProgress<string> progress = new Progress<string>(message => | |
{ | |
txbResultsInfo.Text += message; | |
}); | |
await Task.Run(() => Parallel.ForEach(_files, (file) => |
calmness and composure, especially in a difficult situation. "she accepted both the good and the bad with equanimity"
Equanimity (Latin: æquanimitas, having an even mind) is a state of psychological stability and composure which is undisturbed by experience of or exposure to emotions, pain, or other phenomena that may cause others to lose the balance of their mind.
Neither a thought nor an emotion, it is rather the steady conscious realization of reality's transience. It is the ground for wisdom and freedom and the protector of compassion and love. While some may think of equanimity as dry neutrality or cool aloofness, mature equanimity produces a radiance and warmth of being. The Buddha described a mind filled with equanimity as "abundant, exalted, immeasurable, without hostility and without ill-will."
#!/bin/bash | |
# Usage: yt-whisper URL [OUTPUT_FILENAME_TEMPLATE [LANGUAGE]] | |
# If OUTPUT_FILENAME_TEMPLATE is empty, output is yt-whisper-video | |
# If LANGAUGE is empty, it is set to "auto" | |
# General settings (paths) for whisper.cpp | |
# Note - this uses whisper.cpp, not official whisper. Get it at | |
# https://github.com/ggerganov/whisper.cpp | |
# You will have to adjust these |
#!/bin/bash
lightning-cli listpeers | jq -r '.peers[] | select(.channels != null) | .id' | while read -r id; do
channel_info=$(lightning-cli listpeers "$id" | jq -r ".peers[0].channels[] | {id: \"${id}\", short_channel_id: .short_channel_id}")
alias=$(lightning-cli listnodes "$id" | jq -r ".nodes[0].alias")
echo "$channel_info" | jq --arg alias "$alias" '. + {alias: $alias}'