全文検索:
- 2021.04.15 GAS hangoutLinkを取得 @50_dialy:2021:04
- = 取得スクリプト ===== <code> function myFunction() { var calendarId = "primary"; var now = new Date(); var twoHoursFromNow = new Date(now.getTime() + (2 * 60 * 60 * 1000)); var events = CalendarApp.getEvents(now, twoHoursFromN
- 2022.10.01 Nextcloud @50_dialy:2022:10
- OW restart: always volumes: - ./db:/var/lib/mysql environment: - MYSQL_ROOT_PAS... restart: always volumes: - ./nextcloud:/var/www/html environment: - MYSQL_HOST=db ... restart: always volumes: - ./nextcloud:/var/www/html:ro environment: - VIRTUAL_HOST... restart: always volumes: - ./nextcloud:/var/www/html entrypoint: /cron.sh depends_on:
- 2017.11.13 GlusterFS 3.12 @50_dialy:2017:11
- sterFS 3.12だと、NFSが起動できなかった。 ログには、下記のようなメッセージ /var/log/glusterfs/glusterd.log [2017-11-13 00:46:03... /usr/lib64/glusterfs/3.12.9/xlator/nfs/server.so /var/lib/glusterd/nfs /var/lib/glusterd/nfs/nfs-server.vol /var/lib/glusterd/nfs/run /var/lib/glusterd/nfs/run/nfs.pid </code> {
- 2021.04.29 Docker dokuwiki linuxserver @50_dialy:2021:04
- olumes: - ./config:/config # - /tmpfs:/var/caceh/nginx #ports: # - 80:80 # - 4... /nginx/nginx.conf> http { fastcgi_cache_path /var/caceh/nginx levels=1:2 keys_zone=cache-zone:30m m... # With php5-fpm: #fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.ph... data、conf、tplのコピー <code> rsync hoge@hogehoge.com:/var/www/html/dokuwiki/data/ config/dokuwiki/data/ rsy
- 2021.06.22 Unknown: Input variables exceeded 1000 @50_dialy:2021:06
- ====== 2021.06.22 Unknown: Input variables exceeded 1000 ====== 引数が多すぎるとエラーが出る。 ===== エラー ===== PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0 ===== 対応 ===== <code|/etc/php.ini> max_input_vars = 2000 </code> /etc/init.d/httpd reload {{ta
- 2022.05.26 Kubernetes Podで名前解決できない @50_dialy:2022:05
- k delete flannel.1; \ rm -rfv /etc/cni ; rm -rvf /var/lib/cni/ ; rm -rvf /var/run/flannel ; \ rm -rfv /etc/containerd/config.toml ; \ systemctl restart cont... k delete flannel.1; \ rm -rfv /etc/cni ; rm -rvf /var/lib/cni/ ; rm -rvf /var/run/flannel ; \ rm -rfv /etc/containerd/config.toml ; \ systemctl restart cont
- 2023.06.01 Python importパッケージ化 @50_dialy:2023:06
- $ cat ./main.py from subdir1 import * print(mod1.var1) print(mod2.var2) </code> ■実行結果 ちゃんとmod1.pyのvar1 と mod2.pyのvar2 が読み込まれる。 <code> $ python3 main.py Hello World! </code> {{tag>日記 python}}
- 2024.03.06 VBA Selenium OnClick @50_dialy:2024:03
- うになっていて普通にクリックできない。。。 <code> <a href="#" onclick="var a=function(){return doPaging('next', true);};var b=function(){if(typeof jsfcljs == 'function'){jsfcljs... ttps://hogehoge.com" Driver.Wait 1000 OnClick = "var a=function(){return doPaging('next', true);};var b=function(){if(typeof jsfcljs == 'function'){jsfcljs
- 2014.09.25 Bash脆弱性 @50_dialy:2014:09
- n:x:2:2:daemon:/sbin:/sbin/nologin adm:x:3:4:adm:/var/adm:/sbin/nologin lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin sync:x:5:0:sync:/sbin:/bin/sync shutdown:x:... alt:x:7:0:halt:/sbin:/sbin/halt mail:x:8:12:mail:/var/spool/mail:/sbin/nologin ・ ・ ・ ・ </code> {{tag>日
- 2023.01.02 GAS Parser @50_dialy:2023:01
- ]).iterate() 例: <code> url = "https://fl8.jp/"; var response = UrlFetchApp.fetch(url); var content = response.getContentText(); var text = Parser.data(content).from('<script id="__NEXT_DATA__"
- 2024.05.02 Amazon Linux 2023 Zabbix @50_dialy:2024:05
- nstall </code> ==== ログフォルダ用意 ==== <code> mkdir /var/log/zabbix chown zabbix:zabbix /var/log/zabbix </code> ==== conf修正 ==== <code> # cat /usr/local/etc/zabbix_agentd.conf | grep -v -e ^# -e ^$ LogFile=/var/log/zabbix/zabbix_agentd.log Server=XXX.XXX.XXX.X
- 2016.10.06 うるう秒対策 @50_dialy:2016:10
- pdを修正 <key>-x</key>を付ける OPTIONS="-u ntp:ntp -p /var/run/ntpd.pid -g -I 172.16.XX.XX" ↓ OPTIONS="-x -u ntp:ntp -p /var/run/ntpd.pid -g -I 172.16.XX.XX" {{tag>日記}}
- 2017.04.10 MySQL 5.7.17 + Galera3 @50_dialy:2017:04
- [ OK ] # tail /var/log/mysqld.log 2017-04-10T08:38:25.799325Z 0 [Not... s of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x0 Attem
- 2023.02.05 Ubuntu ディスクサイズ変更 @50_dialy:2023:02
- -------------------------------------- vda /var/lib/libvirt/images/vm001.qcow2 # cd /var/lib/libvirt/images/ # qemu-img resize -f qcow2 vm001.qcow2
- 2023.12.14 React-adminとDjangoの連携 @50_dialy:2023:12
- NO | PRI | NULL | auto_increment | | name | varchar(200) | NO | | NULL | ... content-type: application/json content-length: 41 vary: Accept, Cookie, origin allow: GET, PUT, PATCH,