ãã¡ã¤ã«ãä¿®æ£å¾ãgit addãããããã£ã±ãããããã $ git reset HEAD ç¹å®ã®ãã¡ã¤ã«ã®addã ããåãæ¶ãããå ´åã¯ããã¡ã¤ã«åãæå®ããã $ git reset HEAD <ãã¡ã¤ã«å> ããã Git Kindleç
ãã¹ãããéã«ãã¼ãã«ã®ãã¼ã¿ãä¸æ¬ã§ã¤ã³ãã¼ãã»ã¨ã¯ã¹ãã¼ãããå ´åã®æ¹æ³ã®ä¸ã¤ã¨ãã¦bcpã使ç¨ãããã¨ãããã¾ããããªãã·ã§ã³ããã©ã¼ããããã¡ã¤ã«åºåã®ããæ¹ãããå¿ããã®ã§è¦æ¸ã ãã©ã¼ããããã¡ã¤ã«ã«ã¤ãã¦ã¯ãbcpã ãã§ãªãBULK INSERTã«ã使ãã¾ãã bcpã¯ã³ãã³ãã©ã¤ã³ããã®å®è¡ã«ãªãã®ã§ãããããªã©ãä½ã£ã¦ããã¦ãç°¡åãªãã¼ãã«ããã¯ã¢ããç¨ã®ã¹ã¯ãªãããªã©ãä½ã£ã¦ããã¨ä¾¿å©ãã¨æãã¾ãã ãã©ã¼ããããã¡ã¤ã«ã®ä½æ ã¨ã¯ã¹ãã¼ããã¤ã³ãã¼ãããã対象ãã¼ãã«ã®ãã©ã¼ããããã¡ã¤ã«ãä½æãã¾ãã Syntax : bcp table_or_view format nul -c -x -f formatfile.xml -t, -S server_name\instance_name -U login_id -P password -d database_nam
ã¹ã¯ãªããåï¼fsplit.sh æ¦è¦ï¼ãã¡ã¤ã«ãåå²ãããå ã®ãã¡ã¤ã«å.001ãã¨ããé£çªãä»ãã¾ãã æ©è½ï¼splitã³ãã³ãããsplit -b ãµã¤ãº ãã¡ã¤ã«åãã®å½¢å¼ã§å®è¡ããã¨ãåå²ãã¡ã¤ã«ããxaaããxabããxacãã¨ãã£ããã¡ã¤ã«åã§çæããã¦ãã¾ãã¾ããããã®ã¹ã¯ãªããã§ã¯ããå ã®ãã¡ã¤ã«å.001ãã¨ãã£ãé£çªãä»ããåãããããååã§åå²ãããã¨ãã§ãã¾ãã æ¸å¼ï¼fsplit.sh -b åå²ãã¡ã¤ã«ãµã¤ãº åå²å ãã¡ã¤ã«å ã³ã¼ãã¯ä»¥ä¸ã®ã¨ããã§ãã #!/bin/bash for ARG in $@; do ARGS="$ARGS $ARG" LAST=$ARG done split $ARGS || { echo "$0: split error"; exit 1; } CNT=0 for FILE in x??; do mv $FILE $LAST.
CSVãTXTãªã©è¤æ°ã®ãã¡ã¤ã«ãçµåãã¦ã¾ã¨ããæ¹æ³ Windowsã®ã³ãã³ãã§ç°¡åã«ã§ããï¼ 2022 12/02 ä»äºãªã©ã§ãã·ã¹ãã ã®å£²ä¸ãã¼ã¿ã¨ãããã©ã³ã¶ã¯ã·ã§ã³ãã¼ã¿ã¨ãããã¼ã¿å¦çãªã©ã§å¤§éã®CSVãã¡ã¤ã«ãTXTãã¡ã¤ã«ã1ã¤ã®ãã¡ã¤ã«ã«ã¾ã¨ãããâ¦ã¨ãããã¨ããã¾ãããã 1å1åãã¡ã¤ã«ãéãã¦ã³ãã¼ï¼ãã¼ã¹ãã¨ã大å¤ã§ãããé¢åéãã¾ãã çµåããããªã¼ã½ãããªã©ãããã¾ãããWindowsã®ã³ãã³ãã使ãã°ç°¡åã«å¤§éã®æ°ç¾ã®CSVãã¡ã¤ã«ã§ãä¸ã¤ã®ãã¡ã¤ã«ã«çµåã§ãããã¨ãç¥ããããªãã ãããªã«ç°¡åã ã£ãã®ããã¨æãã¾ããã ä»åã¯CSVãTSVãTXTãªã©ã®ãã¡ã¤ã«ãç°¡åã«1ã¤ã®ãã¡ã¤ã«ãçµåãã¦ã¾ã¨ããæ¹æ³ããç´¹ä»ãã¾ããWindowsã®ã³ãã³ãã使ãã¾ãããããç°¡åã«ã§ããããããã¡ã¤ã«ãä½ãæ¹æ³ãã解説ãã¦ããã¾ãã®ã§ããåèã«ãªãã°ï¼ è¤æ°ã®ãã¡ã¤ã«ã1
解説 ä¾ãã°ãï½.jpegãã¨ããååã®ãã¡ã¤ã«ã®æ¡å¼µåã ãããï½.jpgãã«å¤æ´ããå ´åããã¡ã¤ã«ã®æ°ãå°ãªããã°ã¨ã¯ã¹ããã¼ã©ã§é¸æãã¦ããï¼»F2ï¼½ãã¼ãæ¼ãã¦ï¼ãããã¯ãã¦ã¹ã§ã¯ãªãã¯ãã¦ãããã°ããå¾ ã¤ãããããã¢ããã»ã¡ãã¥ã¼ããï¼»ååã®å¤æ´ï¼½ãé¸æããï¼ãæ°ããååã«å¤æ´ããã°ããã ããã ã ããã¡ã¤ã«ã®æ°ãé常ã«å¤ãã£ãããè¤æ°ã®ãã©ã«ãä¸ã«åæ£ãã¦åå¨ããããã¦ããå ´åããã¡ãã¡ã¨ã¯ã¹ããã¼ã©ã§æä½ããã®ã¯é常ã«é¢åã§ããï¼é¢é£è¨äºåç §ï¼ã ãããªå ´åã¯ãã¹ã¯ãªãããã³ãã³ãã»ããã³ããã使ãã°ãç´ æ©ãç°¡åã«æ¸ã¾ãããã¨ãã§ãããæ¬TIPSã§ã¯ãã³ãã³ãã»ããã³ããä¸ã®renã³ãã³ãã使ã£ã¦ããã¡ã¤ã«ã®æ¡å¼µåãã¾ã¨ãã¦å¤æ´ããæ¹æ³ãç´¹ä»ããã æä½æ¹æ³ ârenã³ãã³ãã®åºæ¬çãªä½¿ãæ¹ ã³ãã³ãã»ããã³ããä¸ã§ãã¡ã¤ã«åãå¤æ´ããã«ã¯ããrenããããã¯ãrenameãã³ã
ãã製åã®éçºããã¸ã§ã¯ãããã£ã¦ããã®ããã¸ã§ã¯ãã«éä¸ããå ¥ããã¨ã¯å°ãªããªãã¨æãã¾ãããããªæã«ããã£ãã«ãªãã¨ã¯æããã§ããã©ãæ¬æ¥ã¯ããã¯ãã®ãã¡ã¤ã«ããªãã¦ãããï¼ãã£ã¦ãªã£ããã¨ã¯ããã¾ããï¼ ãã ãã®ãã¡ã¤ã«ããããããªãã£ãã®ããéå»ã«åé¤ããããã®ãªã®ãããããªãããã ãã¹ã¦ã®ã³ãããå±¥æ´ã確èªããã®ã¯ãã¾ãã«ã骨ãæããä½æ¥ã§ãã ããã§ä»åã¯ãå°ãã§ãã³ãããå±¥æ´ã追ãä½æ¥ãå¹ççã«ããã³ãã³ããç´¹ä»ãããã¨æãã¾ãããã®ã³ãã³ãããã¡ãã git log --diff-filter=D --summary ããã®ã³ãã³ãã¯ãéå»ã®ã³ãããå±¥æ´ã®ä¸ã§ãã¡ã¤ã«ã®åé¤ãå«ã¾ãã¦ããã³ãããã ããæ½åºããåé¤ããããã¡ã¤ã«åã表示ãã¦ããã¾ãã ãã®ä¸ã§ãvimã®æ¤ç´¢ã³ãã³ãã使ã£ã¦ãã®ãã¡ã¤ã«åãå ¥åããã°ãä¸çºã§ããã¹ããã¡ã¤ã«ãéå»ã®ã³ãããã®ä¸ã§åé¤ããããã®ãª
7e64dc5 2015-12-09 12:40:08 +0900 update version comment c37b62c 2015-12-09 12:39:18 +0900 add LF if str does not have 57c205a 2015-12-09 07:11:53 +0900 comrelay() takes \r also as new line 7c78970 2015-12-05 09:39:19 +0900 show concrete error message 591b8c3 2015-12-05 09:34:00 +0900 avoid udp send error when the network is not a 290838a 2015-12-03 12:33:31 +0900 add x access mode to Log/ 7981543
âãã¹ã¿ãã£ãã¯ã«ã¼ãã£ã³ã° - route addã³ãã³ãã¨ã¯ route addã³ãã³ãã¯ãã«ã¼ã¿ãªã©ã®ãããã¯ã¼ã¯æ©å¨ã«è¨å®ããã³ãã³ãã§ã¯ãªããã¯ã©ã¤ã¢ã³ãPCã ãµã¼ããªã©ã«è¨å®ãããã¨ãã§ããã³ãã³ãã§ãããã®route addã³ãã³ãã®è¨å®ã«ãã£ã¦ãç¹å®ã®å®å ãããã¯ã¼ã¯ã«å¯¾ãã¦ãããã©ã«ãã²ã¼ãã¦ã§ã¤ã¨ã¯ç°ãªãã²ã¼ãã¦ã§ã¤ã®IPã¢ãã¬ã¹ãæå®ã§ãã¾ãã å®ã¯ãã«ã¼ã¿ãL3ã¹ã¤ããã ãã§ãªãã1ã¤ã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ããæããªãã¯ã©ã¤ã¢ã³ãPCããµã¼ãã§ã ã«ã¼ãã£ã³ã°ãã¼ãã«ãæã£ã¦ãã¾ããä¾ãã°ãWindows ã¯ã©ã¤ã¢ã³ãPCã®å ´åãã³ãã³ãããã³ãã㧠route printã³ãã³ããå ¥åããã°ã«ã¼ãã£ã³ã°ãã¼ãã«ã確èªãããã¨ãã§ãã¾ãã ä¸è¨ã®çµæã¯ãã¯ã©ã¤ã¢ã³ãPCã«å¯¾ãã¦IPã¢ãã¬ã¹ã192.168.0.10ããµãããããã¹ã¯ã255.255.255.0ã ã
telnet æ¥ç¶å ãã¼ãçªå· TCPãã¼ãã§æ¥ç¶ã§ãã¦ãããã©ããã確èªããã«ã¯telnetã使ãã®ãæ軽ã§ããTCPãã¼ãçªå·ãæå®ããªããtelnetã§ã®æ¥ç¶ã試ãã¦ã¿ããã¨ã§ï¼ããTCPãã¼ãã«å¯¾ããéä¿¡ããã¡ã¤ã¢ã¦ã©ã¼ã«ãªã©ã§å¦¨ããããã«å¯è½ã§ãããã¨ãæ軽ã«ç¢ºèªã§ãã¾ãã ããéä¿¡ã§ããªãå ´åã¯ï¼ãæ¥ç¶ã«å¤±æãã¾ãããã¨ããã¨ã©ã¼ã表示ããã¾ããéä¿¡ãå¯è½ãªå ´åã¯ï¼ç»é¢è¡¨ç¤ºãã¯ãªã¢ããï¼ããããã®ãããã³ã«ã«å¾ã£ã¦ä½ããã®æååã表示ããã¾ãã表示ãéä¸ã§çµäºãããã«ã¯ã¨ã¹ã±ã¼ãæåå(é常ã¯CTRL+])ãå ¥åãã¦telnetã³ãã³ãã»ã¢ã¼ãã«ãã¦ãããquitãã³ãã³ããå ¥åãã¾ãã
ã·ã§ã«ã§ãã¼ã¿å å·¥ããã¨ãSEDããã使ãã¾ããããã®å©ç¨ä¾ã¨è¦ãæ¸ãã§ããåèã«ãªãã° sedã³ãã³ãã¯Linux/Unix/BSD/OSXã«æ¨æºã§å ¥ã£ã¦ããã®ã§ãMacã®äººãªãè¦ãã¦ããã¨æããã(Linuxã¨ã¯å°ãéãã®ã§ããã¯èª¿ã¹ã¦ã?) å½æ¹ã®å©ç¨ç°å¢ãRedhatç³»Linuxã¡ã¤ã³ã§ãã®ã§ãå¾®å¦ã«æ¸å¼ãç°ãªããã¨ãããã¾ããã大ä½ã®æ¸å¼ã¯åãã¯ãã§ãã®ã§ãããã¯ãã容赦é¡ãã¾ã (4/15 ã¡ãã£ã¨è¿½å â¦) Windowsã§ãsed使ãããã¨ãã人ãããã®ã§ãã¡ãã£ã¨è¿½è¨ã以ä¸ã®ãµã¤ãããWindowsç¨ã®ãã¤ããªãåå¾ããã°ãWindowsã§ãsedã使ãã¾ããWSLãªã©Linuxç°å¢ã追å ããããªããsedã®ã³ãã³ãã ãã»ãããPowerShellãããã³ããã§ä½¿ããã°ããã ãã¨ãã人ã«ãå§ãã§ãã sed for Windows Site 使ç¨ä¾ãããããä¸ãã¦ã¿ã '#
ã£ã¦ããäºããã¾ãããï¼ ä»ã¾ã§ ãã¼ã¸ã§ã³ç®¡çã¨ããã¦ããã¨ã.svnã.gitã®ä¸ã®ãã¡ã¤ã«ã¾ã§çµæã«åºã¦ããããã¦ã欲ããæ å ±ãåããã¦ãã¾ã£ã¦èªããªãã ããã§ã-vãé§ä½¿ããããfindã®çµæãå¼ã£å¼µã£ã¦ãã¦è²ã ãã¦ã¿ããã¨ããäºããã¦ãã¾ããã åè grepããã¨ãã«.svnãã¡ã¤ã«ãé¤å¤ãã ä¹ ãã¶ãã«ã°ã°ã£ã ã§ããµã¨ã°ã°ã£ã¦ã¿ããã»ã»ã» grepã§ç¹å®ãã£ã¬ã¯ããªãé¤å¤ãã¦åèµ·æ¤ç´¢
ã¡ããã¡ã¢ã ãã¡ãã®è¨äºãåèã«ããã gitãå©ç¨ãã¦è¤æ°äººã§éçºãã¦ããæã«ãèªåã®ã³ãããå±¥æ´ã ã確èªããæ¹æ³ã git log --committer=[ã¦ã¼ã¶å] ã¾ã㯠git log --author=[ã¦ã¼ã¶å] ã¨ããã¨ããã®ã¦ã¼ã¶ã®ã³ãããã ãã表示ãããã --onelineã¨ãã¨ä½µç¨ããã¨èªåã®ã³ãããå±¥æ´ãããã£ã¨ç¢ºèªã§ãããã authorã¨committerã®éãã¯ããããã£ã¦ãªããã© ããã«å°ãæ¸ãã¦ããã Git - ã³ãããå±¥æ´ã®é²è¦§
ã¤ã³ã¹ãã¼ã«ãã¦ããææ¥ãçµã¤ã¨ãã©ã®ãã£ã¹ããªãã¥ã¼ã·ã§ã³ãã¤ã³ã¹ãã¼ã«ããããã¾ãã¦ããã¼ã¸ã§ã³åãå¿ãã¦ãã¾ããã¡ã§ãããããã³ã³ã½ã¼ã«ãã確èªããæ¹æ³ã§ããdmesg ã§èµ·åç»é¢ã®ã¡ãã»ã¼ã¸ã確èªã§ãã¾ããããã£ã¹ããªãã¥ã¼ã·ã§ã³åã¯æ¸ããã¦ããªãã£ãããã¾ããã¾ããuname -a ã§ã Linux ãã¼ã¸ã§ã³ã¨ã¢ã¼ããã¯ãã£ããæ¸ããã¦ããªãã£ãããã¾ãã cat ã³ãã³ãã§ç¢ºèªããä¾ã§ãããã¡ãããless ã more ã§ãæ§ãã¾ããã Redhat/CentOS $ cat /etc/redhat-release CentOS release 4.6 (Final) ãã®2ã $ cat /etc/issue CentOS release 4.6 (Final) Kernel \r on an \m Fedora # cat /etc/fedora-release Fed
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}