æè¿ã¯ Ansible 㧠Mac ãã»ããã¢ããããã®ãæµè¡ã£ã¦ããããã§ããã ãæ°å¹´åº¦ã®çµç¹å¤æ´ã®ã¤ãã§ã« Mac ãæ¯çµ¦ãããã¦ã§ã¼ã¤ããªã®ãæ©ã« Ansible ã«è§¦ã£ã¦ã¿ããã¨ããæ¹ãå¤ãã®ã§ã¯ãªããã¨æãã¾ãã ã¨ããã Ansible ã®ãã®æ軽ããããå ¥éã«éãã¦èª°ããã¤ã¾ããã®ãã ãã°ã°ãè¨äºã©ããããããæççãã¤ä¿ºæµã§ãæ§æ管çã®ä½æ³ãæ£è§£ãããããªã... (ââ¸â)ã ã¨ããç¹ã§ã¯ãªãã§ããããã ããã§ãã®è¨äºã§ã¯ãæççãªåå¥äºä¾ã§ã¯ãªããAnsible ã®åºæ¬æ¦å¿µã Mac ã¸ã®é©ç¨æ¹éãªã©ãæ§æ管çãµã¤ã¯ã«å ¨è¬ã®è¨è¨ã«å½¹ç«ã¤ãããã¯ãç¶²ç¾ çã«è§£èª¬ãã¦ã¿ããã¨æãã¾ãã ãã£ãã macOS Sierra + Ansible 2ç³»ã®ç°å¢ãæ³å®ãã¦ãã¾ãããåºæ¬ã¯ã©ã®ãã¼ã¸ã§ã³ã§ã大ããéããªãã¯ãã§ãã ãåèã«ãªãã°å¹¸ãã§ãããã¾ãï¼ (à¹Ë̵á´Ë̵)
ç¨éã«ããããã§ãããåã«HTTPãªã¯ã¨ã¹ããåºãããã ãã§ããã°ãã·ã³ãã«ãªscalaj-http,skinny-frameworkã使ãåæãè¯ãã¨æãã¾ããFutureåã使ã£ã¦ã¹ãã¼ãã«ã¬ã¹ãã³ã¹ãåå¾ãããæ¹ã¯Akka,Dispatchãããã使ããã¨æãã¾ãã HTTP Clientãµã³ãã«ã³ã¼ã ãµã³ãã«ã³ã¼ãã§ã¯ãªã¯ã¨ã¹ããéä¿¡ããåå¾ããã¬ã¹ãã³ã¹çµæãã³ã³ãã¼ããã¦åãåãã¨ããã¾ã§ãæ³å®ãã¦ãã¾ãã â»ãµã¼ãã¼å´ã¯å«ã¾ãã¦ããã¾ããã å種ã©ã¤ãã©ãªVer name := "scala-http-client-sample" version := "0.1" scalaVersion := "2.12.8" libraryDependencies ++= Seq( //akka "com.typesafe.akka" %% "akka-http" % "10.1.7"
ã³ã³ã½ã¼ã«ä¸ã§ã¹ãã¼ã¹åºåãã«ãªã£ã¦ããåæååãã·ã³ã°ã«ã¯ã©ã¼ãã¼ã·ã§ã³ã»ããã«ã¯ã©ã¼ãã¼ã·ã§ã³ã§å²ã¿ãããã¨ããã£ãã®ã§ããã®å¯¾å¿ã«ã¤ãã¦åå¿ã 以ä¸ã®ããã«ã³ãã³ããå®è¡ãããã¨ã§ãã¹ãã¼ã¹åºåãã®ååèªãå²ããã¨ãã§ããã sedã®å ´å sedã§ååèªãå²ãå ´åã以ä¸ã®ããã«ã³ãã³ããå®è¡ããã sed 's/[^ ]\+/"&"/g' # ããã«ã¯ã©ã¼ãã¼ã·ã§ã³ã®å ´å sed 's/[^ ]\+/'\''&'\''/g' # ã·ã³ã°ã«ã¯ã©ã¼ãã¼ã·ã§ã³ã®å ´å blacknon@BS-PUB-UBUNTU-01:~$ echo abc def 123 ABC | sed 's/[^ ]\+/"&"/g' "abc" "def" "123" "ABC" blacknon@BS-PUB-UBUNTU-01:~$ echo abc def 123 ABC | sed 's/[^ ]\+/'
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}