Skip to content

Instantly share code, notes, and snippets.

209.170.241.165
@rromanchuk
rromanchuk / fps_test_1.txt
Last active April 4, 2020 18:57
4096x2304 test_flight_c4.fdr X-Plane 11.50b1
FRAMERATE TEST: time=92.7, frames=8463, fps=91.30
GPU LOAD: time=92.7, wait=8.2, load=8.8%
# frozen_string_literal: true
class ApplicationController < ActionController::Base
def index
MyService.async_call(current_user)
end
end
@rromanchuk
rromanchuk / README.md
Last active May 10, 2024 03:28
Building ffmpeg with x265 NEON arm64 cpu acceleration support (Ubuntu LTS, t4g, a1 ec2 family)
@rromanchuk
rromanchuk / install_xelatex_on_mac.txt
Created April 17, 2022 06:25 — forked from peterhurford/install_xelatex_on_mac.txt
How to install latex and xelatex on Mac so that Jupyter "Download as PDF" will work
brew install pandoc
brew tap homebrew/cask
brew cask install basictex
eval "$(/usr/libexec/path_helper)"
# Update $PATH to include `/usr/local/texlive/2020basic/bin/x86_64-darwin`
sudo tlmgr update --self
sudo tlmgr install texliveonfly
sudo tlmgr install xelatex
sudo tlmgr install adjustbox
sudo tlmgr install tcolorbox
apt_smoothing_pix=8
road_level=3
road_banking_limit=0.5
lane_width=5.0
max_levelled_segs=150000
water_simplification=0.0
min_area=0.001
max_area=1000.0
clean_bad_geometries=True
mesh_zl=20
@rromanchuk
rromanchuk / aircraftreports.csv
Created September 3, 2022 09:01
Example CSV of report_type PIREP
We can make this file beautiful and searchable if this error is corrected: It looks like row 6 should actually have 45 columns, instead of 11 in line 5.
2022-09-01T05:55:03Z,2022-09-01T05:47:00Z,,,,,,,AT75,34.759,-96.5863,21000,,,,,,,,MOD,,,,,,,,,,,,,,,,,,,,,,,PIREP,1F0 UA /OV KADH120005 /TM 0547 /FL210 /TP AT75 /TB MOD /RM ZFW AWC-WEB,
2022-09-01T05:40:03Z,2022-09-01T05:36:00Z,,,,,,,BE20,61.1785,-150.408,2000,,,,,,,,MOD,,,,,,,,,,,,,,,,,,,,,,,PIREP,ANC UA /OV TED255013/TM 0536/FL020/TP BE20/TB MOD TURB/RM DURD ON FINAL,
2022-09-01T05:51:06Z,2022-09-01T05:21:00Z,,,,,,,A321,22.7747,-74.6372,33000,,,,,,,CHOP,LGT-MOD,,,,,,,,,,,,,,,,,,,,,,,PIREP,MBPV UA /OV PVN305145/TM 0521/FL330/TP A321/TB LGT-MOD CHOP/RM MBPV,
2022-09-01T05:20:12Z,2022-09-01T04:59:00Z,,,,,,,BE20,63.1301,-150.1371,25000,,,,,,,,,,,,,,,,,RIME,MOD,,,,,,,,,-25,,,,PIREP,TKA UA /OV TKA340050/TM 0459/FL250/TP BE20/TA M25/IC MOD RIME/RM ZAN,
2022-09-01T05:29:12Z,2022-09-01T04:57:00Z,,,,,,,A20N,33.5139,-94.0732,36000,SCT,36000,,,,,CAT,LGT,,,,,,,,,,,,,,,,,,,,,,,PIREP,TXK UA /OV TXK/TM 0457/FL360/TP A20N/SK SCT360/TB LGT CAT/RM ZFW AWC-WEB/,
2022-09-01T05:00:04Z,2022-09-01T04:50:00Z,,,,,,,A321,33.6639,-98.
@rromanchuk
rromanchuk / mlat.sh
Created February 1, 2023 01:37
Test mlat multi-server stream with forked client /usr/local/bin/mlat.sh
#!/bin/bash
if [[ "$MLAT_MARKER" == "no" ]]; then
PRIVACY="--privacy"
fi
exec /usr/local/share/adsbexchange/venv/bin/mlat-client-fork \
--input-type $INPUT_TYPE --no-udp \
--input-connect $INPUT \
$PRIVACY \
--server $MLATSERVER \
--mirror_server feed.adsb.lol:31090
from clearml import Task, OutputModel
import os
cwd = os.getcwd()
print(cwd)
dataset_path = cwd
print(dataset_path)
@rromanchuk
rromanchuk / ts_850.x12
Created December 27, 2023 20:57
[Tractor Supply Co] 850 DTC Purchase Order
ISA*00* *00* *08*6120930010 *01*064193840ZZ *190627*1537*U*00401*000000008*0*P*>~
GS*PO*6120930010*064193840ZZ*20190627*15372942*000000005*X*004010~
ST*850*0001~
BEG*00*DS*9003025779**20190627~
REF*CO*3003012333~
REF*IA*800410~
FOB*TP~
CSH*N~
ITD*05******60*****NET 60~
DTM*010*20190627~