Skip to content

Instantly share code, notes, and snippets.

View argrento's full-sized avatar
🍺
Working from home

Kirill Snezhko argrento

🍺
Working from home
View GitHub Profile
@argrento
argrento / opencl.txt
Created March 23, 2022 16:12
OpenCL calls
HOOK clGetPlatformIDs_hook
HOOK clGetDeviceIDs_hook
HOOK clGetPlatformInfo_hook
HOOK clGetPlatformInfo_hook
HOOK clCreateBuffer_hook
HOOK clCreateBuffer_hook
HOOK clCreateBuffer_hook
HOOK clCreateBuffer_hook
HOOK clCreateBuffer_hook
HOOK clCreateBuffer_hook
⇒ west flash --runner jlink --device NRF52832_XXAA
-- west flash: rebuilding
ninja: no work to do.
-- west flash: using runner jlink
WARNING: Runner jlink is not configured for use with nrf52832_mdk, this may not work
-- runners.jlink: Flashing file: /home/argz/Development/zephyrproject/zephyr/samples/basic/blinky/build/zephyr/zephyr.bin
SEGGER J-Link Commander V6.54c (Compiled Nov 7 2019 17:05:53)
DLL version V6.54c, compiled Nov 7 2019 17:05:41
underwater
robust
currently
play
prominent
roles
in
a
number
of
underwater
robots
currently
play
a
prominent
roles
in
a
number
/
/bin
/bin/getopt
/bin/setarch
/bin/dd
/bin/cp
/bin/df
/bin/ed
/bin/ip
/bin/ln
This file has been truncated, but you can view the full file.
arm_mon=enable dsp_sw_mon=enable osd=8bit osd=tv_full rtsp_autostop=disable rec_error_auto_ctl=disable atime=4 dcf_itm=enable
YDXJv22_1.5.12_build-20170809022523_git-b74efd19_r20
%.@!
CCb_K
`]M7
TJTI
PP"TI
P," #
P>Mnk
@argrento
argrento / rviz-error
Created March 8, 2017 11:24
[Mac OS X] RViz crash report
Process: rviz [58040]
Path: /opt/ros/*/rviz
Identifier: rviz
Version: 0
Code Type: X86-64 (Native)
Parent Process: zsh [57273]
Responsible: iTerm2 [47140]
User ID: 501
Date/Time: 2017-03-08 14:16:58.540 +0300
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
import numpy as np
import matplotlib.pyplot as plt
def pseudoinverse (A):
U, S, V = np.linalg.svd(A)
S = np.diag(1/S)
S_z=np.zeros((V[1].size,U[1].size))
S_z[:S[0].size,:S[1].size] = S
return V.T.dot(S_z.dot(U.T))