2018-01-01ãã1å¹´éã®è¨äºä¸è¦§
æ®éã«è¡¨ç¤ºããã¨ãã <div> {{ $hoge }}</div> ã¨ã¹ã±ã¼ããªãã§è¡¨ç¤ºããã¨ãã <div> {!! $hoge !!} </div>
åæ: ã½ã¼ã¹ãGitãªãã¸ããªã«åå¨ãããã¨ã1. git cloneããã # cd /var/www # git clone https://hoge.backlog.com/git/HOGE/hoge.git hoge # cd hode # chown -R apache:apache .2. Composerãã¤ã³ã¹ãã¼ã«ããã ã¤ã³ã¹ãã¼ã«æ¸ã¿ãªãä¸è¦ã # yum inâ¦
CentOSã®VPSã§git cloneãããã¨ããããã¨ã©ã¼ã«ãªã£ãã # git clone https://hoge.backlog.com/git/HOGE/hoge.git hoge Initialized empty Git repository in /tmp/hoge/.git/ error: The requested URL returned error: 401 Unauthorized while accessinâ¦
Vagrantã®IPã¢ãã¬ã¹ã«ã¢ã¯ã»ã¹ãããã502 Bad Gateway ã¨ã©ã¼ãçºçããã ããã£ããããã£ã½ãã®çºè¦ãâ« https://qiita.com/ragingalpaca/items/6fc645ebfd4604a336b3ãµã¼ãã¹åèµ·åã§åãï¼ $ sudo service php7.2-fpm restartphp7.2-fpm ã£ã¦ãµã¼ãã¹â¦
ç®æ¬ããã ãã¾ããããããã¨ããããã¾ããç¾å ´è³ä¸ä¸»ç¾© Spring Boot2 å¾¹åºæ´»ç¨ã½ã·ã 売ä¸ã©ã³ãã³ã°: 5302generated by affi-linker.com at 2018.12.05å°éå¦æ ¡ã§ã®æç§æ¸ã«ä½¿ããã®ã§ã¯ãªããã¨æãã¾ãããããã¯ããç¾å ´è³ä¸ä¸»ç¾©ããªæ¬ã¯ãæç§æ¸ã¨ãâ¦
ã³ã³ããã¼ã©ã§ HttpServletRequest ãåç §ã§ããããã«ããããã«ã@Autowiredã§ã¤ã³ã¹ã¿ã³ã¹å¤æ°requestã追å ããã request.getRemoteAddr() ã§IPã¢ãã¬ã¹ãåå¾ã§ãããHogeController.java @Autowired private HttpServletRequest request; public Strâ¦
Spring Bootã§ãã©ã¼ã ãä½æãã¦POSTããã¨ã403ã¨ã©ã¼ã¨ãªãå ´åãããã <form method="post" action="/hoge/" th:object="${formModel}"> <label for="title">åå</label>: <input type="text" name="name" th:value="*{name}" /> <br/> <label for="description">説æ</label>: <input type="text" name="description" th:text="*{description}"> </br/></form>
以åãããã©ãã®ããªã»ããã¨ããæ¬ãKindleã§åºçããã ããããã¾ãããªããã楽天Koboã«ãç»é²ãããã¨æã£ããã§ã楽天Koboã«ç»é²ãã¦ã¢ãããã¼ãããããããããã¨ã¨ã©ã¼ãçºçãããã¨ã©ã¼ãçºçãã¦ããç®æã®ãã¡ã¤ã«åã表示ããã¦ãã®ã§ãepubâ¦
éå»ã«ä½ã£ãGAEã¢ããªã触ã£ã¦ãã appengine-web.xml ãã¡ã¤ã«ã§è¦åã表示ãããããã«ãªã£ã¦ããappengine-web.xml ãã¡ã¤ã«ã®ã»ã¼å é ã«ä»¥ä¸ã®ãããªè¨è¿°ã®é¨åã <application>project-name</application> ç¾å¨ã¯æ¬¡ã®è¦åã表示ãããã Project ID should be specified at deployâ¦
ã¾ãã¯å ¬å¼ã«å¾ããâ« https://spring.io/guides/gs/securing-web/pom.xmlã«jpaã¨securityã追å ã <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security<â¦</artifactid></dependency>
XMRPCã§WordPressã«æ稿ããããã°ã©ã ããã¼ã«ã«ã§åããã¦ããGAEã®éçºãµã¼ãã¼ããã ã¨æ£å¸¸ã«æ稿ã§ããã®ã«ãGAEã«ãããã¤ããã·ã¹ãã ããæ稿ãããã¨ããã¨ãã405 METHOD NOT ALLOWEDãã¨ã©ã¼ã«ãªããã©ãã§ã¨ã©ã¼ã«ãªã£ã¦ããã®ãã¨ãWordPressã®â¦
å°éå¦æ ¡ã§æãã¦ã¦ãæ°äººãåãã¨ã©ã¼ãåºãã¦ããã®ã§ã¡ã¢ãimport javax.persistence.XXX; ã®ã¨ããã§ãè¦ã¤ããã¾ãããã®ã¨ã©ã¼ãçºçãããã£ã¦ã¿ããããããããããâ« java - Spring Boot - javax Import statements not working correctly - Stack â¦
Matomoã¨ããã¢ã¯ã»ã¹è§£æãã¼ã«ã使ã£ã¦ããã ããChromeããã¹ã¯ã¼ããå¿ãã¦ãã¾ã£ã¦ãMatomoãã¢ãããã¼ãããå½±é¿ã§ãã°ã¤ã³ã§ããªããªã£ã¦ãã¾ã£ãããã¹ã¯ã¼ãããªã»ããããã®ã¯ããããããªã³ã¯ãéä¿¡ãã¾ãããã¨ã¡ãã»ã¼ã¸ãåºã¦ããã®ãªã³ã¯ãâ¦
XMLRPCã§WordPressã«è¨äºãæ稿ããã¨ãã«ããããªã¨ã©ã¼ãåºãã ãã¾ãããã¨ããããã°ãã¨ã©ã¼ã«ãªãã¨ããããã è¦å: main::Post è¨äºæ稿ã§å¤±æ, status=parse error. not well formed org.apache.xmlrpc.XmlRpcException: æ§æ解æã¨ã©ã¼ãnot wellâ¦
ããã°ã«è¨äºãæ稿ããã®ã«ãã«ãã´ãªã¨ã¿ã°ãæå®ãã¦æ稿ãããã¨ãããã ãã©ããªããªããã¾ããããªãã¦è©¦è¡é¯èª¤ãã¦ããã£ã¨ãã¾ããã£ãã®ã§ã¾ã¨ãã¨ããã«ãã´ãªã¨ã¿ã°ãStringé åã«ãã¦Mapã«æ ¼ç´ããã®ããã¤ã³ãã ã£ããããã XmlRpcClientConfiâ¦
ã¯ã©ã¦ãä¸ã§åããã¦ããmysqlã§create databaseã¨drop database ã®æä½ãç¹°ãè¿ãã¦ãããmysqlãç¡å¿çã«ãªã£ã¦ãã¾ã£ãã CentOSããªãã¼ããã¦ã¿ããã©ããã¯ãmysqldãèµ·åããªããããã£ã¦ã¿ããããã¡ããããããâ«ï»¿[æé ] MySQL ãã¼ã¿ãã¼ã¹ã§ã® Iâ¦
GAEã«ãããã¤ãããã¨ãããããããªã¨ã©ã¼ã Bad configuration: Received SAXException parsing the input stream. Caused by: éä¸ã§ãã¡ã¤ã«ã®æ«å°¾ã«éãã¾ããã ãã°ãè¦ãã£ã¦æ¸ãã¦ããã®ã§ç¢ºèªããããWEB-INF/appengine-generated/datastore-indeâ¦
ãµã¤ãã«ã¢ã¯ã»ã¹ããã¨ã¨ã©ã¼ã httpdã®ã¨ã©ã¼ãã°ãè¦ãã¨ãã¿ã¤ãã«ã®ãããªã¡ãã»ã¼ã¸ã SQLSTATE[HY000]: General error: 1813 Tablespace for table '`hoge`.`hoge`'; exists. Please DISCARD the tablespace before IMPORT.ããã£ã¦ã¿ãã¨ããã¡ããâ¦
ãã¼ã¿ã¹ãã¢ããã¨ã³ãã£ãã£ãåå¾ãã¦ãsortInMemory()ã§createDate.descã§ã½ã¼ããããããªããææ°ã®ããã¤ãã®ã¨ã³ãã£ãã£ãçµæã«åºã¦ããªãã ãªãï¼èªä½ Comparatorã§ã½ã¼ããããã¡ããã¨ææ°ã®ã¨ã³ãã£ãã£ãã§ã¦ãããã ãã©ã ãªãï¼ List<Hoge> lis</hoge>â¦
ãã¼ã«ã«éçºãµã¼ãã¼ã®ãã¼ã¿ãæ¶ãã¦ãã¾ã£ãã®ã§ãTimeMachineã§éå»ããã³ãã¼ãã¦ãããã¨ã«ããã¼ã¿ã®å ´æã¯ã©ããã¨ããã¨ãGoogleã®å ¬å¼ããã¥ã¡ã³ãâ« Java éçºãµã¼ãã¼ | Java ã® App Engine ã¹ã¿ã³ãã¼ãç°å¢ | Google Cloudã«ããã¨ã(project-dâ¦
æè¿ã¯ã¹ãã¼ããã©ã³ã§æ®å½±ã§ããç»åã®è§£å度ã巨大åãã¦ãã®ã§ããã®ã¾ã¾ã表示ããã¨é ããªã£ã¦ãã¾ãã ããã§ããªã¯ã¨ã¹ããã©ã¡ã¼ã¿ã«widthã追å ãã¦ãä»»æã®ãµã¤ãºã§è¡¨ç¤ºã§ããããã«ãããããã§ã¯blobKeyãå ã«BlobInfoãæ±ãã¦ããã©ããã¡ã¤ã«â¦
GAEã§ãæ¿èªæ¸ã¿ã®ã¡ã¼ã«éä¿¡è ãã«è¨å®ã§ããã®ã¯ãããªãå¶éããã¦ããã ç¾å¨ãã°ã¤ã³ãã¦ããã¦ã¼ã¶ã¼ã® Gmail ã¾ã㯠Google Apps ã¢ã«ã¦ã³ã anything@[APP_NAME].appspotmail.com ã¾ã㯠anything@[APP_ALIAS].appspotmail.com ã®å½¢å¼ã®ã¡ã¼ã«ã¢ãã¬â¦
ã¨ããããslim3ã ã¨getParameter()ã¯åãããã©ãgetParameterValues()ãnullã«ãªã£ã¦å°ã£ããJSPã¯ãããªãã <form id="form" action="/hoge" enctype="multipart/form-data" method="post" > <input type="text" name="name" /> <input type="file" name="image" accept="image/*" /> <c:forEach var="o" items="${checks}"> <span></span></c:foreach></form>
AWSã¢ã«ã¦ã³ãã§ãã°ã¤ã³ãã¦ãCloud9ãã§æ¤ç´¢ããã¨åºã¦ããã®ã§ãããã¯ãªãã¯ã Cloud9ã®ããã·ã¥ãã¼ããéãã®ã§ããªã¬ã³ã¸è²ã®ãCreate environmentããã¯ãªãã¯ã é©å½ã«ååãã¤ãã¦ããNext stepãâãNext stepãâãCreate environmentãã§ç°å¢ãä½â¦
GAEã§ãã¡ã¤ã«ãã¢ãããã¼ãããã¨60ç§åé¡ãããã®ã§ãGCSã«ãã¤ã¬ã¯ãã«ã¢ãããã¼ãããæ¹æ³ãå®è£ ãããã¨ãã¦ããªããªãã§ããªãã¦ããªã試è¡é¯èª¤ãããæåãããã«æ¸ãã¦ããããæ¹ã§å®è£ ãã¦ã¿ããâ«GAE/jã§ãã¡ã¤ã«ãæ±ã Part2 - Qiitaããããã¨â¦