반응형

https://learn.microsoft.com/ko-kr/windows/wsl/tutorials/wsl-vscode

 

WSL에서 VS Code 사용 시작

Linux용 Windows 하위 시스템 사용하여 코드를 작성하고 디버그하도록 VS Code를 설정하는 방법을 알아봅니다.

learn.microsoft.com

 

https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack

 

Remote Development - Visual Studio Marketplace

Extension for Visual Studio Code - An extension pack that lets you open any folder in a container, on a remote machine, or in WSL and take advantage of VS Code's full feature set.

marketplace.visualstudio.com

sudo apt-get update
sudo apt-get install wget ca-certificates
code .

반응형
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
sudo apt-get update && \
  sudo apt-get install -y dotnet-sdk-6.0
sudo apt-get update && \
  sudo apt-get install -y aspnetcore-runtime-6.0
반응형

vi /etc/profile

# Perforce Settings
export P4JOURNAL=/var/log/perforce/journal
export P4LOG=/var/log/perforce/p4err
export P4PORT=newp4:1666
export P4ROOT=/srv/repository/perforce
export P4USER=aaa
#############################################

추가 후

WSL 재 시작

'프로그래밍' 카테고리의 다른 글

Linux용 Windows 하위 시스템 Visual Studio Code 사용 시작  (0) 2022.10.20
Ubuntu Install the .NET SDK  (0) 2022.10.20
WSL 브릿지 모드  (0) 2022.10.20
Perforce Install in Ubuntu  (0) 2022.10.20
트랜잭션 문제  (0) 2022.10.18
반응형

가상 스위치를 신규로 만듦

오류가 난다면 어댑터가 다른 가상 어댑터에 연결된 것이니

이더넷의 하이퍼-v 확장 가능 가상 스위치를 언 체크 후 진행

완료 되었다면

wsl에 가서

vi /home/.wslconfig 실행

[WSL2]
networkingMode = bridged
vmSwitch = switch

컴퓨터 재 시작

 

ip 대역 확인

 

'프로그래밍' 카테고리의 다른 글

Ubuntu Install the .NET SDK  (0) 2022.10.20
ubuntu perfoce 설정  (0) 2022.10.20
Perforce Install in Ubuntu  (0) 2022.10.20
트랜잭션 문제  (0) 2022.10.18
게임 전투 데이터 AI 치터 판별 팁  (0) 2022.10.17
반응형

Add the Perforce packaging key to your APT keyring. For example,
wget -qO - https://package.perforce.com/perforce.pubkey | sudo apt-key add -

Add the Perforce repository to your APT configuration.
Create a file called /etc/apt/sources.list.d/perforce.list with the following line:

deb http://package.perforce.com/apt/ubuntu {distro} release

Where {distro} is replaced by one of the following: precise, trusty, xenial, bionic, or focal.

Run apt-get update
Install the package by running sudo apt-get install helix-p4d

'프로그래밍' 카테고리의 다른 글

ubuntu perfoce 설정  (0) 2022.10.20
WSL 브릿지 모드  (0) 2022.10.20
트랜잭션 문제  (0) 2022.10.18
게임 전투 데이터 AI 치터 판별 팁  (0) 2022.10.17
Detect anomalies in product sales with ML.NET  (0) 2022.10.14
반응형

DDT4ALL 수정할 수 있는 목록 테스트 전

Doorlock  

DOORLOCK RENAULT FLUENCE MEGANE CLIO ARKANA KOLEOS DUSTER DDT4ALL FUNCTIONS  
GLASSHATCH\_CF – translation sunroof glass  
LONG\_PRESS\_TM\_CF – translation duration of pressing  
CRASH\_DETECTION\_CF – accident detection. Activation of an alarm by the ABS unit during sudden braking.  
PLANT\_LOCK\_WITH\_SPEED\_CF – Automatic closing of central lock. The doors can be closed automatically after the vehicle starts moving.  
AUTO\_RELOCK\_TIMEOUT\_CF (min) – Change the timeout for automatic re-closing of the central lock By default, if you opened the central lock with a key, but after that did not open any of the doors within 2 minutes, then CEBKS will close the central lock again automatically. Change the value to the desired one in minutes, or disable it altogether by setting the value to 0.  
ANTI\_HIJACK\_CF – Anti-theft mode. When the button is pressed, opening with free hands is partially disabled. It closes itself, and to open it you need to press the button on the map. The first press opens the driver’s door, the second opens all the others. When activated, opening with free hands is disabled. It closes itself and to open it you need to press the button on the map.  
BTN\_TAILGATE\_OPENING\_CF – maybe in some configurations there is a trunk opening button in the cabin  
RKE\_BTN\_TAILGATE\_OPENING\_CF – When you press a button on the key card, if the car was closed, the trunk lid opens and you can simply raise it without pressing the button on the trunk itself.  
SEPARATED\_TAILGATE\_OPENING\_CF – separate opening of the trunk lid. Opening the trunk without opening the central lock.  
KNOB\_CF –when you press the close button, do not close  
HIGH\_LOCK\_WITH\_SPEED\_CF – Enables the door locking from the outside when the speed is 7 km / h, and if you stop at a traffic light, then no one will get in to you from the outside until you open it from the inside with a handle, a button on the panel or map.  
SUPERLOCK\_CF – When the closing button is pressed twice, it locks the rear doors from the inside, i.e. passengers will not get out on their own, or if thieves break the glass, the doors will not be opened with an internal handle either  
CHILD\_LOCK\_CF – activates a button on the driver’s door to lock the rear doors and windows from the inside. Children in the back will not be able to open doors and windows.  
GLASSHATCH\_CF – translation of sunroof glass  
HANDS\_FREE\_CF – If the parameter is off, then when the car starts, it will ask to insert a “Free hands” card into the corresponding slot  
RKE\_BACK\_DOORS\_CF –  
FUEL WAC LOCKING DELAY TM CF (min) – Sets the specified delay interval for blocking the fuel tank flap.  
CAR\_BODY\_TYPE\_E\_CF – translation of the car body type  
POWER\_SLIDING\_DOORS\_CF – translation of sliding doors  
CHILD\_LOCK\_SWITCH\_REVERSE\_CF – Reversible operation of the CHILD\_LOCK\_CF mode  
BATT\_TAILGATE\_OPENING\_CF – translation of opening the trunk lid  

External lights  

External lights RENAULT FLUENCE MEGANE CLIO ARKANA KOLEOS DUSTER DDT4ALL FUNCTIONS  
DUAL\_BULBS\_CF – Double bulbs. When activated, the dipped beam will not turn off when the main beam is turned on. If not activated when switching to the far one, the near one goes out, and the far one lights up. When you turn off the far one, the near one turns on again.  
VEHICLE\_RECOGNITION\_TP –  
LIGHT\_SENSOR\_FITTED\_AND\_USED\_CF – installation and use of the light sensor  
DRL\_ACTIVE\_CF – activation of DRL  
SHIFT\_UP\_HEADLAMPS\_CF – Reminder to the driver that the manual transmission can be shifted to a higher gear, of course, to save fuel. It turns on when acceleration has stopped in the current gear and it is pointless to thresh with engine speed further.  
RR\_FOG\_LAMP\_CF – rear PTF.  
AHL\_CONFIG\_BY\_USER\_CF – In some, the configuration includes the System Visio function, which is designed to monitor lanes and warn about crossing the line in time and also to automatically switch from far to near and vice versa. For full activation, you still need to activate two items in the tidy: Presence AHL and Presence LDW.  
BATTERY\_SAVE\_CF – Battery saving. check. something has to do with the mode of saving the battery charge, or this is when the car is not closed for 15 minutes, the radio tape recorder and everything else works, or when closed, the left light goes out.  
FR\_FOG\_LAMP\_CF – front PTF.  
AUTO\_LIGHT\_CF – Auto light, with a light sensor.  
SWISS\_CF – Swiss light, check what is this, the same as Canadian? when you turn on the handbrake and N the near turns off or PTF instead of the near? check  
SCANDINAVIAN\_RUNNING\_LIGHT\_CF- Auto on and off low beam and dimensions with the establishment of a car.  
FOLLOW\_ME\_HOME\_CF – turning on the dipped headlights for 30-120 seconds after closing the car – after stopping the internal combustion engine, pull the dimmer towards you (including the far one), adjust the glow time by moving the lever towards you 30-60-120.  
REMOTE\_LIGHTING\_CF – remote control of lighting, when you press the key fob button, the light turns on for a while.  
LIGHT\_SENSOR\_CF – Light sensor sensitivity SOUTH / NORTH  
AUTO\_LIGHT\_SENSITIVITY\_CF – Light sensor sensitivity HIGH / LOW  

Flasher  

FLASHER lights RENAULT FLUENCE MEGANE CLIO ARKANA KOLEOS DUSTER DDT4ALL FUNCTIONS  
HAZARD\_WITH\_BRAKE\_CF – warning during heavy braking  
HAZARD\_WITH\_CRASH\_CF – warning in case of an accident  
OVERLOAD\_BY\_SMART\_CF –  
TPULSE\_CF – Polite (impulse) turn signals – short (without fixation) movement of the turn signal lever – triple blinking of lamps.  
PC\_SIGNALISATION\_CF  

Front wiper  

FRONT WIPER lights RENAULT FLUENCE MEGANE CLIO ARKANA KOLEOS DUSTER DDT4ALL FUNCTIONS  
FRONT\_WIPER\_CF – The presence of the front brushes  
AUTO\_WIPE\_CF – The automatic mode of the brushes (most likely the presence of a rain sensor)  
FRONT\_DROP\_WIPE\_CF – Additional wiping down after washing. The wiper makes 3 passes. After the 3rd pass and a delay of 3 seconds, another final brush pass is performed.  
SWITCH\_HI2LO\_LO2INT\_CF – When the machine stops, the brushes change speed from fast to slow  
HEADLAMP\_WASHER\_CF – Headlamp washer is present.  
DUAL\_WIPING\_MOTOR\_CF – translation: double wiper motor.  
GO\_TO\_SERVICE\_POSITION\_TM\_TP (ms) – Time to switch to service mode (when the switch is turned off to the stop, pull the brushes vertically up to the stop)  

SES Function  

SES functions RENAULT FLUENCE MEGANE CLIO ARKANA KOLEOS DUSTER DDT4ALL FUNCTIONS  
CF\_VSC\_WAC\_Buzzer\_inhibited – After automatic closing of the car with a smart key, the central locking system will lock everything, and there will be a sound signal. sans (without), avec ©  
CF\_VSC\_HandFreeLockByDoorHandle – Opening doors when the hand is brought to the touch sensor in the door.  
CF\_VSC\_WAC – Central lock is blocked when you leave the car, if you have a smart card  
CF\_VSC\_HandFreeUnLock – Activation of the hands-free function.  
VSC\_Timeout\_Learning\_Key – translation: learning timeout key  
IMMO\_Timeout\_REWORK\_MODE\_TM\_CF (min) – translation: Immo waiting mode for TM MB  
alteration VSC\_WARNING\_BATTERY\_LEVEL\_IDENTIFIER – Notification on the dashboard about a dead battery in the key card.  
CF\_VSC\_WAC\_NB\_RF\_FRAME\_LOST (time) – translation: Servant card function authorization  
LockUnlockByButtonCF – Unlock lock using the BF button. Use on door handle optical sensor to unlock Use on door handle optical sensor to unlock  
CF\_VSC\_AVEC\_DEMARRAGE\_ML – CF VSC WITH START ML. Actif is active. Inactif inactive  
CF\_VSC\_WAC\_BACKUP  
CF\_VSC\_SANS\_Locking\_des\_Badges – No icon lock.  
CF\_VSC\_Driver\_Right – steering wheel location? conduite a droite right-hand traffic, conduite a gauche – left hand drive  
CF\_VSC\_CAR\_BODY\_AND\_THATCHAM – BODY AND THATCH  
CF\_VSC\_WITH\_SERVANT\_IDENTIFER – WITH SERVICE ID  

Window Control  

WINDOW control functions RENAULT FLUENCE MEGANE CLIO ARKANA KOLEOS DUSTER DDT4ALL FUNCTIONS  
AUTO\_WINDOW\_CLOSING\_CF – Automatic closing of all windows when you double-click on the key fob button, only impulse windows work.  
LVE\_CF – Operation of the rear power windows  
FRONT\_PASSENGER\_WLAP\_ECU\_CF –  
REAR\_PASSENGER\_WLAP\_ECU\_CF –  

CF\_VSC\_WAC\_NB\_CHECK\_LOOP (time)  

Perimetric Alarm  

Perimetric Alarm control functions RENAULT FLUENCE MEGANE CLIO ARKANA KOLEOS DUSTER DDT4ALL FUNCTIONS  
Perimetric\_alarm\_CF – SETTING ON the alarm  
GLASSHATCH\_CF –  

External Lights  

External lights control functions RENAULT FLUENCE MEGANE CLIO ARKANA KOLEOS DUSTER DDT4ALL FUNCTIONS  
DUAL\_BULBS\_CF – Dual bulbs presented  
DRL\_ACTIVE\_VF – USING the DRL for the daily light  
AUTO\_LIGHT\_VF – If is presented the sensor  
SCANDINAVIAN\_RUNNING\_LIGHT – ALL THE TIME the lights are on  
FOLLOW\_ME\_HOME\_CF – FOLLOW AND WELCOME home lights  
LIGHT\_SENSOR\_CF – Position of sensor light  
AUTO\_LIGHT\_SENSITIVITY\_TP – CHANGE the sensitivity of the light sensor

'차량 코딩' 카테고리의 다른 글

클리오 에코 엠비언트 코딩  (0) 2024.07.22
클리오 IGS OFF  (0) 2022.10.11
DDT4ALL 구동  (0) 2022.10.11
DDT4ALL 다운  (0) 2022.10.11
ELM327 어댑터 구매  (0) 2022.10.11
반응형

 

50,000 mh 3.7v 배터리 3개를 직렬로 연결하여 차량 블박을 구동해 보았다.

 

이러면 555ah로 승압도 필요 없고 대충 4일을 버틸 수 있다.

 

근데 발란스 문제가 좀 있다.

 

배터리마다 보호회로가 있어서 ㅠㅠ

 

 

2023년 최신 버전 링크

 

https://ini64.tistory.com/128

반응형
세션 1
start transaction;
select * from Account where AccountId = 1 for update;
세션 2
select * from Account where AccountId = 1 for update;

세션 1이 실행되고 세션 2가 실행된다면 어찌 될까?

정답은 멈추거나 타임아웃

세션 1
start transaction;
select * from Account where AccountId = 1;
세션 2
select * from Account where AccountId = 1;

세션 1이 실행되고 세션 2가 실행된다면 어찌 될까?

정답은 Level에 따라 값 잘 가져옴

'프로그래밍' 카테고리의 다른 글

WSL 브릿지 모드  (0) 2022.10.20
Perforce Install in Ubuntu  (0) 2022.10.20
게임 전투 데이터 AI 치터 판별 팁  (0) 2022.10.17
Detect anomalies in product sales with ML.NET  (0) 2022.10.14
jetbrains fleet  (0) 2022.10.13
반응형
  • 알고리즘
    • 변칙 검색이 좋음
  • Input
    • 파티 전체를 하나의 row 넣고 판단하는 게 좋음
    • 필드는 많은 게 좋음
      • 지금 테스트 중인 데이터의 경우 120개 필드로 구성했음

'프로그래밍' 카테고리의 다른 글

Perforce Install in Ubuntu  (0) 2022.10.20
트랜잭션 문제  (0) 2022.10.18
Detect anomalies in product sales with ML.NET  (0) 2022.10.14
jetbrains fleet  (0) 2022.10.13
Golang How to check if a map contains a key  (0) 2022.10.12
반응형

보조배터리 병렬 실패 후 

 

이런저런 고민을 해보았다.

 

그러다가 이렇게 된 거 그냥 직렬로 좋을 듯하여 아래처럼 계획 수립

 

 

요러면 대충 481Wh로 3일가량 버틸 수 있는 전기가 나온다.

 

테스트 시작

+ Recent posts