This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For this example, have 'blackmagic' running already. No command line params | |
# are needed. | |
!killall openocd | |
!orbtrace -p vtref,3.3 -e vtref,on -T 4 | |
!openocd -f board.ocd & | |
file ofiles/simple.elf | |
target extended-remote localhost:3333 | |
set mem inaccessible-by-default off | |
monitor swd | |
att 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source [find interface/cmsis-dap.cfg] | |
cmsis_dap_vid_pid 0x1209 0x3443 | |
transport select swd | |
source [find target/stm32h7x_dual_bank.cfg] | |
if { [info exists _TARGETNAME] == 0 } { | |
set _TARGETNAME stm32h7x.cpu0 | |
} | |
adapter speed 1000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"Id": "3d64e1cb47f0eaacec474956f66119257eb3ef62825a513c585336344532fd3d", | |
"Created": "2024-05-27T19:35:11.609988937+03:00", | |
"Path": "/usr/bin/entrypoint", | |
"Args": [ | |
"--verbose", | |
"--name", | |
"oleks", | |
"--user", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ stat /run/host/etc/shadow | |
+ stat -c %u /run/host/etc/shadow | |
+ [ 65534 = 0 ] | |
+ [ -n ] | |
+ printf distrobox: Installing basic packages...\n | |
distrobox: Installing basic packages... | |
+ basename bash | |
+ shell_pkg=bash | |
+ [ bash = ash ] | |
+ missing_packages=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
May 26 21:34:04 tailscaled[1877]: Accept: TCP{:3390 > :61062} 40 ok out | |
May 26 21:34:08 gnome-remote-desktop-daemon[2420]: [21:34:08:88] [2420:0000e186] [ERROR][com.freerdp.core.transport] - [transport_read_layer]: BIO_read returned a system error 104: Connection reset by peer | |
May 26 21:34:08 gnome-remote-desktop-daemon[2420]: [21:34:08:88] [2420:0000e186] [ERROR][com.freerdp.core.peer] - [transport_read_layer]: ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0002000D] | |
May 26 21:34:08 gnome-remote-desktop-daemon[2420]: [21:34:08:88] [2420:0000e186] [ERROR][com.freerdp.core.nla] - [nla_server_recv_stream]: nla_recv() error: -1 | |
May 26 21:34:08 gnome-remote-desktop-daemon[2420]: [21:34:08:88] [2420:0000e186] [ERROR][com.freerdp.core.transport] - [transport_accept_nla]: client authentication failure | |
May 26 21:34:08 gnome-remote-desktop-daemon[2420]: [21:34:08:88] [2420:0000e186] [ERROR][com.freerdp.core.peer] - [peer_recv_callback_internal]: CONNECTION_STATE_NEGO - rdp_server_accept_nego() fail | |
May 26 21:34:08 gnom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
May 19 18:28:17 gnome-remote-de[1438]: Initialize RDP session | |
May 19 18:28:26 gnome-remote-desktop-daemon[1438]: [18:28:26:16] [1438:00000f66] [ERROR][com.freerdp.core.tpkt] - [tpkt_ensure_stream_consumed_]: [rdp_read_info_packet] Received invalid TPKT header length 736, 222 bytes too long! | |
May 19 18:28:26 gnome-remote-de[1438]: [RDP] Connect-Time Autodetect: Updating state from NONE to MEASURE_BW_1 | |
May 19 18:28:26 gnome-remote-de[1438]: [RDP] Connect-Time Autodetect: Updating state from MEASURE_BW_1 to AWAIT_BW_RESULT_1 | |
May 19 18:28:26 gnome-remote-de[1438]: [RDP] Connect-Time Autodetect: BW Measure Phase 1: time delta: 17ms, byte count: 16328 => 960KB/s | |
May 19 18:28:26 gnome-remote-de[1438]: [RDP] Connect-Time Autodetect: Updating state from AWAIT_BW_RESULT_1 to MEASURE_BW_2 | |
May 19 18:28:26 gnome-remote-de[1438]: [RDP] Connect-Time Autodetect: Updating state from MEASURE_BW_2 to AWAIT_BW_RESULT_2 | |
May 19 18:28:26 gnome-remote-de[1438]: [RDP] Connect-Time Autodetect: BW Measure Phase 2: time delta: 22ms, byte |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
== ExecutablePath ================================= | |
/usr/bin/gnome-shell | |
== Package ================================= | |
gnome-shell 46.0-0ubuntu5.1 | |
== ProblemType ================================= | |
Crash | |
== Title ================================= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//solved with this functions | |
function StringToWideStringEx(const S: string; CodePage: Word): WideString; | |
var InputLength, | |
OutputLength: Integer; | |
begin | |
InputLength := Length(S); | |
OutputLength := MultiByteToWideChar(CodePage, 0, PChar(S), InputLength, nil, 0); | |
SetLength(Result, OutputLength); | |
MultiByteToWideChar(CodePage, 0, PChar(S), InputLength, PWideChar(Result), OutputLength); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#why this code raise <type 'exceptions.SyntaxError'>: invalid syntax (main.py, line 15) ? | |
#problem is only on production. dev_appserver works ok | |
def main(): | |
def singleton(cls): | |
instances = {} | |
def getinstance(): | |
if cls not in instances: | |
instances[cls] = cls() |