which google-chrome
/usr/bin/google-chrome
- хорошоwhich chromium-browser
/usr/bin/chromium-browser
- хорошоhomedir = getenv('HOME')
options.add_argument('--user-data-dir={}'.format(homedir))
options.add_argument('--remote-debugging-port=9222')
docker run jfloff/alpine-python
docker-compose.yml
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>?.?.?.RELEASE</version>
<relativePath/>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter</artifactId>
</dependency>
...
...
org/springframework/boot/loader/jarmode/TestJarMode.class
5174 Fri Feb 01 00:00:00 EST 1980 org/springframework/boot/loader/util/SystemPropertyUtils.class
0 Sun Jan 23 13:31:18 EST 2022 BOOT-INF/
0 Sun Jan 23 13:31:18 EST 2022 BOOT-INF/classes/
0 Sun Jan 23 13:30:42 EST 2022 BOOT-INF/classes/example/
0 Sun Jan 23 13:31:14 EST 2022 META-INF/maven/
0 Sun Jan 23 13:31:14 EST 2022 META-INF/maven/example/
@SpringBootApplication
public static void main(String[] args) {
SpringApplication.run(Example.class, args);
@RestController
public class PersonController {
@Autowired
private PersonService service;
@RequestMapping("/persons")
@ResponseBody
@Entity
@Table(name = "ROLE")
@Where(clause = "RECORD_IS_DELETED = 0")
public class Role extends AbstractEntity {
update-alternatives: ошибка: alternative path /usr/bin/python3.10 doesn't exist
which python3.10
update-alternatives
sergueik@sergueik71:~/src/powershell_selenium/python$ python3 chromium_ex.py
navigated to https://qna.habr.com/
page: <html lang="ru" class=" "><head><script type="text/javascript" async="" src="https://cdn-plus.roxot-panel.com/wrapper/js/common-engine.js?v=s-8d77fb6d-0958-4edf-94fa-b0c71ebed0f9" data-roxot-inited="true"></script><script type="text/javascript" async="" src="https://cdn-plus.roxot-panel.com/roxot-wrapper/js/roxot-manager.js?pid=c427193e-c45c-4b31-b9de-0d5bc41115fd"></script>
<base href="https://qna.habr.com/">
<title>Интересные вопросы — Хабр Q&A</title><meta charset="utf-8">
...