2022-08-01ãã1ã¶æéã®è¨äºä¸è¦§
Exim4 ãè¨å®ãã¦ã¦æ°ã¥ãããã ãã©ã Exim4ã®ã¹ãã¼ããªã¬ã¼ã¯ããå¤é¨ã¢ãã¬ã¹ããåæã«ãªã£ã¦ãã¦ããã¼ã«ã«ãã¹ãã¸ã¯åããªãããã ã 詳細è¨å®ãããããåããªãã¨ãããªããã exim4 ã®ã¹ãã¼ããªã¬ã¼ã¯ 127.0.0.1:12345 ã®ããã«ãåä¸ãã¹ãã¸ã¯â¦
XOAUTH2ããã¢ããªãã¹ã¯ã¼ããããã©ãããã®ã§ããµã¼ãã¹ã¢ã«ã¦ã³ããã¢ã«ã¦ã³ããä½ã£ã¦Gmailã®ã¢ã¯ã»ã¹ã試ã¿ãã ããããããããããã©ãç¡çã£ã½ããªããæ®éã«WEBã¢ããªã¨ãã¦èªåã®ã¢ããªã§èªåãOAuthãããããªãããã ä»ã«ããããããªäººã試â¦
ãã°éç´ rsyslog/syslog ã§è¨å®ãã åä¿¡å´ sudo -E cp /etc/rsyslog.conf{,.bak} sudo systemctl restart rsyslog sudo -E vim /etc/rsyslog.conf ï¼ï¼è¡ç®ä»è¿ããæå¹ã«ãããTCP 514 ( ã¾ã㯠UDP 514 ) --- /etc/rsyslog.conf.bak 2022-08-29 08:13:05â¦
ãã¡ã¤ã«ã®ããããã£ãéã ç¢å°ã§ãã¡ã¤ã«ãé¸æã Alt-Enter ãµã¯ãã¨éããTABã§ç§»å éããé ç®ã¯ãTabããShift-Tabãã§ç§»åãã ãã¦ã¹ã¯æéããã£ãããªããç¡é§åä½ãå¤ããã ãã©ã«ããå³ã¯ãªãã¯ãããããã£ã¾ã§ãã¦ã³ãã¯ãªãã¯ãé·ãããã«â¦
Ctr-Tab ãããã¨ããµã¯ãã¨ãã©ã¼ã«ã¹ããã®ã§ä¾¿å© Win-E ã¨ã¯ã¹ããã¼ã©ã¼ãéã Ctrl- Tab ãã¡ã¤ã«ä¸è¦§ã¸ãã©ã¼ã«ã¹ Ctrl- Shift-Tab ãã§å·¦ã®ããªã¼ã¸ãã©ã¼ã«ã¹ ã¨ã¯ã¹ããã¼ã©ã¼ã®ãã¼ãã¼ãã·ã§ã¼ãã«ããããªãã¨ãç¢å°ãã¼ã§é¸æãä¸ä¾¿ã
æ¹æ³ï¼ï¼exiftool exiftool -all:all= -r /path/to/file [/path/to/file...] æ¹æ³ï¼ï¼mogrify mogrify -strip /path/to/file çµæ ãµã¤ãºãå¤ãã£ã¦ããmogrify ã¯ç»è³ªããã£ã¦ãã®ã§ã¯ã»ã»ã» $exiftool -all:all= -r sample1.heic $mogrify -strip sample2.â¦
ãã¡ã¤ã«ã®ExiftãJSONã§åãåºãããã EXIFãJSONã§åãåºããããéè¨ã便å©ãªããããªãã®ãã¨æã£ã¦èª¿ã¹ããã対å¿ãã¦ããã exiftool -s -G -j ãã¡ã¤ã«å... å®è¡ãµã³ãã« exiftool -s -G -j 2021-04-04_15-56-43_926.heic | jq . åºåãµã³ãã« [ { â¦
Windows Terminal ã ãã§UACåºæ¥ãããã«ãªã£ã¦ããã Windows Terminal ã«è¨å®ãç»å ´ãã¦ãã ãã¤ã®ã¾ã«ããã UACã®Powershellã®å¼ã³åºãã UACã®Powershellãèµ·åããã®ã¯ãWin-X then A ã§ã¡ãã¥ã¼ããå¼ã³åºãã¦ããããã¿ã¼ããã«ãã使ãã»ãã便å©â¦
ãã®Close All ï¼ãã¹ã¦éããï¼ããã¼ãã¼ãã»ã·ã§ã¼ãã«ããã§å¼ã³åºãæ¹æ³ã¯ç¡ãã®ããªã æ¹æ³ï¼ï¼ã¿ã¹ã¯ãã¼ã«ãã©ã¼ã«ã¹ãã Win - T ã§ã¿ã¹ã¯ãã¼ã«ãã©ã¼ã«ã¹ ç¢å°ãã¼ã§é¸æ Appãã¼ã§ã¡ãã¥ã¼å¼ã³åºã Appãã¼ï¼å³ã¯ãªãã¯ã¡ãã¥ã¼ï¼ã®ãã¼ããåå¨â¦
Windowsæéãµã¤ã³ã¢ã¦ãã«ã¯ãããããã ã·ã§ã¼ãã«ãããã¼ ã®é£æº Win+X ã§ã¡ãã¥ã¼ãå¼ã³åºãã¦ãã¡ãã¥ã¼ã®ã¢ã¯ã»ã¹ãã¼ããã©ã Win - X â u â i ããã¯ããç¢ºå® ããã¯ã ã¨ãã¦ã¼ã¶ã¼åãæ®ãã ADã§å ±åã§ãã°ã¤ã³ãã¦ä½¿ãåãã端æ«ã ã¨ãããã¯ãâ¦
jc 㨠jq ã®çµã¿åããã§ããã¡ã¤ã«åã®ã¯ã©ã¼ããä¾¿å© ãã¡ã¤ã«åã«ã¹ãã¼ã¹ãå ¥ã 次ã®ããã«ããã¡ã¤ã«åã«ã¹ãã¼ã¹ãå ¥ã£ã¦ãã³ãã³ãã§å¦çããã¨ãã«IFSï¼åºåãï¼ã¨ãã¦è§£éããã¡ãã£ã¦ã¨ã£ã¦ãéªéã takuya@:$ls -l *5576* -rwxrwxrwx 1 takuya taâ¦
montage ããã¨ãã«ãã¡ã¤ã«åãå ¥ããã ç»åããªãã¹ã¦ãã¤ã³ããã¯ã¹ã®ç»åãçæãããã ã¤ã³ããã¯ã¹ããªã³ãã®ãããªã証æåçã®ãããªãåçããªãã¹ã¦ãµã¯ãã¨ã¤ã³ããã¯ã¹ã»ããªã³ãã«ãããã ä¼¼ãåçãããã¨ãã«ä¸¦ã¹ã¦è¡¨ç¤ºãããã¨ã§ãéãï¼â¦
lxc å 㧠ãã¼ããã·ã§ã³ã¨ã©ã¼ lxc ã®apt ãææ°çã«ãããã¨ãããã¨ã©ã¼ã«ãªã£ãã lxc exec myhost apt update chown to _apt:root of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted) W: chown â¦
ã³ãã³ãã®çµæãããæãã«ãé åã«ããã ã³ãã³ãã®å®è¡çµæãJSONã«ãããã¨æã£ãã https://dev.classmethod.jp/articles/jc-tool/ jc ã³ãã³ã jc ã³ãã³ãã¯ãSTDINãèªã¿åã£ã¦ JSONã«å¤æãã¦ãããã æ°å¤ãã®ãã¼ãµã¼ãç¨æããã¦ããªã¤ã³ãããâ¦
Laravel ã§ã¤ãã³ãã¨ãã³ãã©ã使ã£ã¦éç¥ãéã ã¤ãã³ãã»ãªã¹ã ã¤ãã³ãå®ç¾©ã使ã£ã¦ãããªã«ãããèµ·ããã¨ãããããããããå®ç¾©åºæ¥ãã ã¸ã§ããã¥ã¼ã§åå²ããã¨æããã¡ã ãã©ãå¥ã«ã·ã³ã°ã«ã¹ã¬ããã§å®è¡ãã¦ãæ§ããªãã ã·ã³ã°ã«ã¹ã¬ããã§â¦
laravel ã§éç¥(slack/mattermost)ã試ãã laravel 㧠slack ã«éç¥ï¼ã¡ãã»ã¼ã¸éä¿¡ï¼ãããã slack äºæã®api ããããmattermostã§ããå åãã¦ã§ãããã¯ãã使ãã°åãããã«éç¥ãåºæ¥ãã æºå webhook incoming ã®ã¢ãã¬ã¹(URL) composer ã§ããã±â¦
Laravelã§éç¥ï¼ã¡ã¼ã«ï¼ã試ãã laravel ã§ã³ãã³ããä½ã£ã¦ã¡ã¼ã«ãéä¿¡ããã å¿ è¦ãªãã® SMTP/Sæ¥ç¶æ å ± ä½ããã® Notification ã¯ã©ã¹ éç¥ãéä¿¡ããã³ã³ã½ã¼ã«ã»ã³ãã³ã laravel éç¥ã®æµã laravel éç¥ã§ã¯ãNotificationãå®è£ ããã¯ã©ã¹ãapp/nâ¦
bitwarden ã®ãã¹ã¯ã¼ãå ¥åã«æéãå¤ãã èªåå ¥åãONã«ããã¨ãæ´çºããã®ã§ä¸ä¾¿ã ããæè¿ã¯ãã°ã¤ã³ID/ãã¹ã¯ã¼ããå¥ç»é¢ã«ãã¦ããã®ã§ãã¾ãçºåããªããã¨ãå¤ãã ã¾ããPINããã¯ãªã©åèµ·åæã«ããã¯ããã¦ããã¨è§£é¤ã»é¸æã»å ¥åã¨ãã¦ã¹ã«æâ¦
ubuntu / debian 㧠wake on lan ( WOL ) ãéä¿¡ãã wake on lan ã³ãã³ã wakeonlan MAC_ADDR ã¤ã³ã¹ãã¼ã« sudo apt install wakeonlan ããã±ã¼ã¸ã§æä¾ããã¦ããã®ã§ãµã¯ãã¨ä½¿ãã¾ãã ã³ãã³ãã®å®è¡ä¾ sudo wakeonlan 70:85:xx:xx:e6:xx [sudo] pasâ¦
ãªã¢ã¼ããã¹ã¯ãããã®ã»ãã¥ãªã㣠Windows Proã§ããªã¢ã¼ããã¹ã¯ãããã®ã¦ã¼ã¶ã¼ãã¨ã®å¶éãã§ããã Windows Serverã¨ADãããã°ãã£ã¨å¥ãªæ¹æ³ãããã®ã ããããèªåPCãªãããã¼ã«ã«ã»ã»ãã¥ãªãã£ããªã·ã¨Proçã§ååã§ããã¨æãã ã°ã«ã¼ãããªâ¦
æ¨æ¥ãechoã¢ã¸ã¥ã¼ã«ã«ä»ãã¦è¨äºãæ¸ããã ç´æ¥ return ã§ãããã£ã¦æãã¦ããã£ãã nginxè¨å® 㧠ç´æ¥HTMLãæ¸ãåºããecho ã¢ã¸ã¥ã¼ã«ã - ãããã°ã§ï¼ç´æ¥ return 200 "<!DOCTYPE html><h1>It works.(nginx)</h1></html&â¦
2022-08-17 è¿½è¨ return 200'message' ã使ã£ãã»ããã¹ãããªãã¾ã â https://takuya-1st.hatenablog.jp/entry/2022/08/17/161838 echo ã¢ã¸ã¥ã¼ã«ã§HTMLãå¿çããã nginxè¨å® 㧠ç´æ¥HTMLãæ¸ãåºããecho ã¢ã¸ã¥ã¼ã«ã ã¾ãã§ãå¤ï¼ãã«ããï¼ã®æè¡ã®â¦
nvme ã®SSDãæ»ãã ã®ã§ä¿è¨¼ç³è«ããã ä»åãæ éããSSDã¯ãã¡ã XPG SSD M.2 512GB SX8100 ã·ãªã¼ãº Type2280 PCIe3.0x4 NVMe 3D NAND DRAMãããã¡ 5å¹´ä¿è¨¼ ASX8100NP-512GT-C è³¼å ¥å¾ãåå¹´ç¨åº¦ã§æ éããããã§ãã ADATA ã«åãåãããã ADATAã«åãâ¦
NodeJSã®ã¤ã³ã¹ãã¼ã«ãby scoop scoop ã®æºå scoop ãå ¥ããããã«ããªã¢ã¼ãã³ã¼ãã許å¯ããã Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser scoop ãã¤ã³ã¹ãã¼ã«ãã Invoke-Expression (New-Object System.Net.WebClient).â¦
orange pi zero / armbian ã使ã£ã¦ã¿ãã®ã§ããã ã¨ã«ãããç±ããçãããããã¯ä¸æ©ééãã°ç«äºãããããªãã å¬å ´ãªãã¨ããããå¹´ä¸ã«å¸¸æèµ·åããã®ã¯ç¡çã ããã Raspi zero ã®ä»£ç¨ã«ã¯ãªãããå®é¨ç¨ã«ã¯ãããã©ã常æONã«ã¯åããªãã