Skip to content

Instantly share code, notes, and snippets.

---------------------------------------------------------------------------------- live log sessionstart ----------------------------------------------------------------------------------
'['2023-06-26 11:09:22'] [1][139662476048192] [INFO] [cspfw.pytest.plugins.session.plugin.SessionPlugin:13]: Starting a new session with session id: 20230626_110919_724413009'
=================================================================================== test session starts ===================================================================================
platform linux -- Python 3.8.14, pytest-7.4.0, pluggy-1.2.0
Test order randomisation NOT enabled. Enable with --random-order or --random-order-bucket=<bucket_type>
rootdir: /usr/app
configfile: pyproject.toml
plugins: anyio-3.7.0, repeat-0.9.1, random-order-1.1.0, finer-verdicts-1.0.6.post1, datadir-1.4.1
collected 498 items / 497 deselected / 1 selected
hiluser@gotsva1624:~/ctule$ docker run --rm --user 1001 -v /home/hiluser/ctule/baseline_installer/_swdl_working/hpa:/csp_vbfs -e TEMPLATE_PATH=/instructions/hpa.json.template artcsp-docker-lts.ara-artifactory.volvocars.biz/swut:6.11.12-csp.10 download_custom_files -s /csp_vbfs -ip 169.254.4.10 -ec -pt SPA2 -odp SGA 017 FFFFFFFFFF -odp HPA 000 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF -l -vl
download_custom_files -s /csp_vbfs -ip 169.254.4.10 -ec -pt SPA2 -odp SGA 017 FFFFFFFFFF -odp HPA 000 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF -l -vl
2023-04-24 12:04:30,477 [INFO] cli_handler - Performing vehicle readout
2023-04-24 12:04:30,479 [INFO] one_dad_library - Using readout instruction from siig
2023-04-24 12:04:51,145 [INFO] swdl - Using provided installation instruction at instructions/hpa.json
2023-04-24 12:04:51,155 [INFO] swdl - Executing installation instruction
2023-04-24 12:04:52,673 [INFO] cli_handler - 63fdd17bc6744a6b000076b7 --- Started
2023-04-24 12:04:
sudo service docker status
dpkg -l | grep -i docker
sudo apt-get purge -y docker-engine docker docker.io docker-ce docker-ce-cli docker-compose-plugin
sudo apt-get autoremove -y --purge docker-engine docker docker.io docker-ce docker-compose-plugin
dpkg -l | grep -i docker
sudo apt-get autoremove -y --purge docker-engine docker docker.io docker-ce docker-compose-plugin
dpkg -l | grep -i docker
sudo apt-get purge -y docker-engine docker docker.io docker-ce docker-ce-cli docker-compose-plugin
sudo rm -rf /var/lib/docker /etc/docker
@thu2004
thu2004 / aws_devops_prof.md
Last active April 26, 2024 06:20
How I pass AWS DevOps Professional Certification exam on the first attempt!!

How I pass AWS DevOps Professional Certification exam on the first attempt!!

There are many excellence posts about this subject so I will not repeat them instead I list those at the end of this post.

I will give you which courses I took and briefly describe how I use those courses to prepare for my exam.

Exam Readiness: AWS Certified DevOps Engineer – Professional

I started with this free course to get myself an orientation of what to expect for this exam.

https://www.aws.training/Details/eLearning?id=34146

inventory-db-chitl.czguqk6waijm.eu-west-1.rds.amazonaws.com
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
# Alternativ 1
#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Feature: Register an event sender
Background: No event sender exist
Given used subscriptions does not exist
And used app instances does not exist
And used event senders does not exist
$ErrorActionPreference = "Continue"
function Get-ScriptPath { Split-Path $myInvocation.ScriptName }
. (Join-Path (Get-ScriptPath) automation_lib\automation_lib.ps1)
. (Join-Path (Get-ScriptPath) 0_setup_global_data.ps1)
Configuration DSC_TroubleShot
{
param(
@thu2004
thu2004 / gist:02e50abbe06bdb81c6f1
Last active December 31, 2015 21:19
Chinese Links
#EXTM3U
#EXTINF:0,HNWS-HD 湖南卫视高清
rtsp://58.200.131.2/JSWS-HD
#EXTINF:0,Hollywood movie channel,
rtsp://c.itvitv.com/hlw.ueidhefgecuyh
#EXTINF:0,Hong Kong etm
rtsp://c.itvitv.com/etm.jhfuowamedr
#EXTINF:0,Hong Kong hkm3
rtsp://c.itvitv.com/hkm3.husjadsuh
#EXTINF:0,Hong Kong HMC
Selendroid.prototype.pinchClose = function (startX, startY, endX, endY, duration,
percent, steps, elId, cb) {
var command;
var fromPointObject = {'x' : startX, 'y' : startY};
var toPointObject = {'x' : endX, 'y' : endY};
var moveX = (endX - startX)/4
var moveY = (endY - startY)/4
if (elId) {
@thu2004
thu2004 / gist:108139e452daade230b7
Last active August 29, 2015 14:10
Automate Android app with Appium - Selendroid - Python
from selenium import webdriver
from selenium.webdriver.common.touch_actions import TouchActions
from time import sleep
desired_caps = {}
desired_caps['platformName'] = 'Android'
desired_caps['platformVersion'] = '4.1'
desired_caps['deviceName'] = 'Android'