autostart

【扯淡篇】SDOI2018丶一轮游丶记

ぐ巨炮叔叔 提交于 2020-04-28 12:16:48
——某不知名蒟蒻的SDOI2018 R1退役场游记&&OI生涯总结 <embed src="http://isure.stream.qqmusic.qq.com/C100003UVA2P0pPRyz.m4a?fromtag=32" autostart="true" loop="true" hidden="true"></embed> 真的是混不下去了. 进队是不可能的, 进队是不可能进队的. 这辈子不可能进队的. 刷题又不会刷 就是靠打表找规律这种东西 才能维持的了苟过一轮这样子.. 去学文化课大概会像回家一样, 班里各各都是学霸, 说话又好听, 我会喜欢那里的. <span class="heimu" title="你知道的太多了">然而内心十分痛苦与煎熬.jpg</span> 本来看到自己这波惨状是不想写游记了的, 但逃是不能逃的, 总还是要直面这段经历的. 不过这次也确实暴露出了自己技不如人的一面, 平时缺少的努力也无处遁形. 无论找什么借口, 都掩盖不了自己的努力不足. "菜是原罪" Day -1 和Day-2一样的在打板子. 发现自己学的东西很少, 但是板子还是没完全背过(事后证明背过也没卵用..) 收拾东西回家, 学校莫名奇妙的要求换宿舍, 还没把我们宿舍安排好(据说是把我们一屋子竞赛生忘了...), 好一阵折腾, 最后安(fa)排(pei)到了一楼的最角落.

ogg_for_oracle11gr2单项_双向同步部署

生来就可爱ヽ(ⅴ<●) 提交于 2020-04-27 21:40:01
--ogg同步基于表,会忽略目标端view的trigger和view对应的表的dbms_scheduler,若目标端view的关联trigger中有向其他非此视图关联的表操作则会忽略,所以只能同步到view而不能同步到表中 --配置view同步时只需要配view对应的表 --表名test.dep_ogg改变,不需要重新对标add trandata 2.1创建ogg操作系统用户: useradd -u 1003 -g oinstall -G dba ogg passwd ogg --源端开启归档,若归档路径不设置则pump进程启动报错 su - oracle mkdir archivelog sqlplus / as sysdba alter system set log_archive_dest_1='location=/home/oracle/archivelog'; shutdown immediate; startup mount; alter database archivelog; alter database open; alter system switch logfile; / archive log list; exit 2.2修改ogg操作系统用户环境变量,并链接oracle用户环境变量,修改实例名为jvm,配置任意目录登陆 vi /home/ogg/.bash

Ubuntu16.04部署supervisor

痴心易碎 提交于 2020-04-06 07:37:35
Ubuntu16.04部署supervisor 安装supervisor: apt-get install -y supervisor 启动supervisor: systemctl start supervisor 设置开机自启动: systemctl enable supervisor 编辑配置文件: 实例: supervisor 配置文件 编辑配置文件: vim /etc/supervisor/supervisord.conf 添加:(开启supervisor网页功能) [inet_http_server] port=0.0.0.0:9001 username=user password=123 添加进程配置文件 cd /etc/supervisor/conf.d/ zookeeper为例: vim zk.conf --------------------------------------------------------- [program:zk] command = /usr/zookeeper-3.4.10/bin/zkServer.sh start-foreground environmen=JAVA_HOME="/usr/jdk1.8" user = root autostart = true autorestart = true startsecs = 5

Springboot-源码之装配tomcat

本小妞迷上赌 提交于 2020-03-04 22:53:46
Ctrl+N 搜索 AbstractApplicationContext 里面的onRefresh()方法 protected void onRefresh() throws BeansException { } 然后找到实现类ServletWebServerApplicationContext protected void onRefresh() { super.onRefresh(); try { // this.createWebServer(); } catch (Throwable var2) { throw new ApplicationContextException("Unable to start web server", var2); } } private void createWebServer() { WebServer webServer = this.webServer; ServletContext servletContext = this.getServletContext(); if(webServer == null && servletContext == null) { // ServletWebServerFactory ex = this.getWebServerFactory(); //工厂获取webServer的 this

IPv4 与 IPv6 的比较

你说的曾经没有我的故事 提交于 2020-03-01 13:49:06
米扑博客分享总结了一篇博客: IPv4 与 IPv6 的比较 IPv4 地址长度:32位 地址数量:2^32(约4×10^9) IPv4 头结构 IPv6 地址长度:128位 地址数量:2^128(约3.4×10^38) IPv6 头结构 IPv6 与 IPv4 头部对比 IPv4 与 IPv6 的比较 描述 IPv4 IPv6 IP头部 长度为 32 位( 4 个字节 ) 地址由网络和主机部分组成,这取决于地址类。根据地址的前几位,可定义各种地址类: A、B、C、D 或 E 。IPv4 地址的总数为 4 294 967 296。 IPv4 地址的文本格式为 nnn.nnn.nnn.nnn,其中 0<=nnn<=255,而每个 n 都是十进制数。可省略前导零。最大打印字符数为 15 个,不计掩码。 长度为 128 位( 16 个字节 ) 基本体系结构的网络数字为 64 位,主机数字为 64 位。通常,IPv6 地址(或其部分)的主机部分将派生自 MAC 地址或其他接口标识。 根据子网前缀,IPv6 的体系结构比 IPv4 的体系结构更复杂。 IPv6 地址的数目比 IPv4 地址的数目大 1028(79 228 162 514 264 337 593 543 950 336)倍。IPv6 地址的文本格式为 xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx

vscode php调试

房东的猫 提交于 2020-02-28 02:46:44
​1、vsc插件 安装PHP Debug 插件PHP Extension Pack 2.vs code设置 ... ... "php.validate.executablePath" : "D:/BtSoft/WebSoft/php/7.1/php.exe" , } } 3.配置xdebug 创建一个 test.php ,创建一条语句 phpinfo() ,然后将得到的信息粘贴到XDebug官网 XDebug installation wizard 这个页面中。这个页面会分析好你的PHP环境 下载XDebug.dll 复制到{phproot}/ext/ 在{phproot}/php.ini中 [XDebug] zend_extension = "D:\BtSoft\WebSoft\php\7.1\ext\php_xdebug-2.9.1-7.1-vc14-nts.dll" xdebug.auto_trace=on xdebug.collect_params=on xdebug.collect_return=on xdebug.remote_enable = on xdebug.remote_handler = dbgp xdebug.remote_host = localhost # 设置端口号,默认是9000,此处因为本地环境端口冲突故设置为9001(在vscode配置中需要用到

In Eclipse, how to close the open files(editors) when exiting without auto-load in next startup

痴心易碎 提交于 2020-01-25 19:23:21
问题 a problem troubled me for several days. Would like to find the answer here... Thanks ahead! I developed a plugin in Eclipse. When it starts up, it will open the files (with specific editors we developed) left at the last exiting. I wonder whether I can disable this auto-starting in code? BTW, I have tried the option "Window->Preferences->General->Editors->Close editors automatically", however, with useless result. Thanks for your advices! 回答1: Have you tried the 'Restore editor state on

In Eclipse, how to close the open files(editors) when exiting without auto-load in next startup

和自甴很熟 提交于 2020-01-25 19:22:48
问题 a problem troubled me for several days. Would like to find the answer here... Thanks ahead! I developed a plugin in Eclipse. When it starts up, it will open the files (with specific editors we developed) left at the last exiting. I wonder whether I can disable this auto-starting in code? BTW, I have tried the option "Window->Preferences->General->Editors->Close editors automatically", however, with useless result. Thanks for your advices! 回答1: Have you tried the 'Restore editor state on

In Eclipse, how to close the open files(editors) when exiting without auto-load in next startup

天大地大妈咪最大 提交于 2020-01-25 19:22:05
问题 a problem troubled me for several days. Would like to find the answer here... Thanks ahead! I developed a plugin in Eclipse. When it starts up, it will open the files (with specific editors we developed) left at the last exiting. I wonder whether I can disable this auto-starting in code? BTW, I have tried the option "Window->Preferences->General->Editors->Close editors automatically", however, with useless result. Thanks for your advices! 回答1: Have you tried the 'Restore editor state on

How to launch a native server application (ELF) on a rooted Android at/after boot?

自古美人都是妖i 提交于 2020-01-24 21:14:25
问题 I have a rooted Android tablet. I've copied my native server application (Linux ARM ELF) to /data/tmp and it runs. There is only one thing missing: I want to launch the server when the tablet boots up. There are several circumstances, which makes the mission easier : the device is already rooted, I can copy anything to it, no installer required, the mission is completed, when the autostart is once set up, my server program requires no settings, no files, no libs, no root right, nothing at all