Skip to content

Instantly share code, notes, and snippets.

View iraizo's full-sized avatar
🖤

raizo iraizo

🖤
View GitHub Profile
! 2023-07-05 https://www.wowhead.com
www.wowhead.com##.premium-promo-row
www.wowhead.com###main-contents > .zaf-unit-wrapper
#!/bin/sh
screencapture -i /tmp/ocr.png && tesseract -l eng /tmp/ocr.png stdout | pbcopy
@iraizo
iraizo / keybase.md
Last active July 9, 2021 22:30
keybase.md

Keybase proof

I hereby claim:

  • I am iraizo on github.
  • I am raizo (https://keybase.io/raizo) on keybase.
  • I have a public key ASDfuS4GILwaL14DsOl8dbP1cl8XarzxPoAr3gEf9R-5cQo

To claim this, I am signing this object:

@iraizo
iraizo / boxplot visualizer rust
Created March 4, 2021 20:28
This calculates and visualizes boxplots in rust, i needed this to do some homework because it is tedious to do it yourself.
use plotly::box_plot::{BoxMean, BoxPoints};
use plotly::common::{ErrorData, ErrorType, Line, Marker, Mode, Orientation, Title};
use plotly::histogram::{Bins, Cumulative, HistFunc, HistNorm};
use plotly::layout::{Axis, BarMode, BoxMode, Layout, Margin};
use plotly::{Bar, BoxPlot, Histogram, NamedColor, Plot, Rgb, Rgba, Scatter};
use rand_distr::{Distribution, Normal, Uniform};
fn main() {
let mut y0: Vec<f64> = Vec::new();
let mut y1: Vec<f64> = Vec::new();
C++ 3 hrs 30 mins ███████▏░░░░░░░░░░░░░ 34.5%
CMake 2 hrs 30 mins █████▏░░░░░░░░░░░░░░░ 24.5%
TypeScript 1 hr 49 mins ███▊░░░░░░░░░░░░░░░░░ 17.9%
Other 37 mins █▎░░░░░░░░░░░░░░░░░░░ 6.2%
Python 34 mins █▏░░░░░░░░░░░░░░░░░░░ 5.6%