ð Awesome, you're subscribed! Thanks for subscribing! Look out for your first newsletter in your inbox soon! Get us in your inbox Sign up to our newsletter for the latest and greatest from your city and beyond
ð Awesome, you're subscribed! Thanks for subscribing! Look out for your first newsletter in your inbox soon! Get us in your inbox Sign up to our newsletter for the latest and greatest from your city and beyond
Read it now on the OâReilly learning platform with a 10-day free trial. OâReilly members get unlimited access to books, live events, courses curated by job role, and more from OâReilly and nearly 200 top publishers. Cloud services are just as susceptible to network outages as any other platform. This concise book shows you how to prepare for potentially devastating interruptions by building your o
AmazonRDSã¯ãããã©ã«ãã®è¨å®ã§ã¯slow queryãåºåããããã«ãªã£ã¦ããªãã ã¾ããMySQLãåãã¦ãããµã¼ãã«ã¢ã¯ã»ã¹ãããã¨ãã§ããªãã®ã§ãslow queryããã°ãã¡ã¤ã«ã«åºåããã¨ãã¦ããããé²è¦§ããè¡ããªãã RDSã§ãæ¡ç¨ããã¦ããMySQL 5.1ããã¯ãslow queryããã¼ãã«ã«ä¿åã§ããããã«ãªã£ãã®ã§ãããã使ãã æ¹é ãã°ã¯ãã¼ãã«(mysql.slow_log)ã«åºåããã å®è¡ã«1ç§ä»¥ä¸ããã£ãã¯ã¨ãªãè¨é²ãã 100è¡ä»¥ä¸ãèªã¿è¾¼ãã ã¯ã¨ãªãè¨é²ãã æ®éãªã以ä¸ã®ãªãã·ã§ã³ãmy.cnfã«è¨å®ããã°OKã [mysqld] slow_query_log = ON long_query_time = 1.000 log_output = TABLE min_examined_row_limit=100 RDSã®å ´åã¯ãdb-param
Spring WebApplicationInitializer and programmatic support for web.xml file Servlet 3.0 provides a programmatic way to specify and configure the contents of a web.xml file. A servlet 3.0 based web application can implement a ServletContainerInitializer interface, which is explicitly passed a ServletContext which is a runtime representation of the container, to be used for configuring the servlets,
git-flow-with-maven-release-plugin.rst git-flow + maven-release-pluginç¨ã®æé åæ ããã¸ã§ã¯ãã®ã«ã¼ãPOMã«ä»¥ä¸ã®è¨å®ãæ¸ããã¦ããå¿ è¦ãããã SCMæ å ±ã®è¨å® <scm> <connection>scm:git:git@yourhost.com/your-project.git</connection> <developerConnection>scm:git:git@yourhost.com/your-project.git</developerConnection> </scm> maven-release-pluginã®è¨å® Mavenã®ãªãªã¼ã¹å¦çããªã¢ã¼ãã«pushããªãããã«ä»¥ä¸ã®è¨å®ã追å ã <plugin> <groupId>org.apache.maven.plugins</groupId>
Gradle easily supports Java web applications through the âwarâ and âjettyâ plugins. This tutorial will show you how to quickly make a simple Java Servlet web application. Our basic project structure will be: basic-web src main java com codetutr HelloWorldServlet.java webapp WEB-INF web.xmlFirst, create a folder called basic-web, and then letâs create the Gradle build file inside the folder: build.
ã¾ãã¾ãGradleãã¿ã§ããGradleãªã©ã®ãã¼ã«ã§ãã«ããã¤ã¤ãæ®æ®µã®éçºãã¦ããããã¹ãã¯IDEã§è¡ãã¨ããã®ã¯ãããã話ãGradleã§ã¯IDEéçºããµãã¼ããããã©ã°ã¤ã³ãç¨æããã¦ãã¾ãã Eclipse Plugin IDEA Plugin ä»åã¯ãã®ãã¡Eclipse Pluginã«é¢ãã¦ããã¤ãTipsãç´¹ä»ã Eclipse Pluginã使ãã¨ä½ãã§ããï¼ ããã¸ã§ã¯ãããEclipseã®å種è¨å®ãã¡ã¤ã«ãèªåçæãããã¨ãã§ãããMavenã§è¨ãã¨ããã®Maven Eclipse Pluginã¨åããããªç©ã Eclipseã®ããã¸ã§ã¯ãæ å ±ã§ãã.projectãã¡ã¤ã«ããã¯ã©ã¹ãã¹ãå®ç¾©ãã.classpathãçæãããã¨ãã§ããã ãã®æãGradleã§å®ç¾©ããä¾åé¢ä¿ã解決ãã¦ãããã®ã§ãMavenã¿ããã«JARãèªåã§ãã¦ã³ãã¼ããã¦Eclipseã®ã¯
Written April 17, 2013 updated: May 20, 2013 Here's a simple value: And we know how to apply a function to this value: Simple enough. Lets extend this by saying that any value can be in a context. For now you can think of a context as a box that you can put a value in: Now when you apply a function to this value, you'll get different results depending on the context. This is the idea that Functors
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? 追è¨1: ã³ã¡ã³ãã§ã®ææãåããgvmã«é¢ããè¨è¿°ãåé¤ ãã®è¨äºã¯ãæ¥çµã½ããã¦ã§ã¢ 2013å¹´ 06æå· 04/24çºå£² ã®ã¹ããè¨äºã§ãã 6æå·ã«ã@keiji_ariyama(å座é¨åæ å½) 㨠å(Gradleæ¦è¦æ å½) 㨠@sys1yagi(Android対å¿é¨åæ å½) ã¨ããåæ ã§Gradleå ¥éçãªè¨äºãæ¸ãã¾ããã ã§ãããåã®ç®çã¨ãã¦ã¯ãããã²ã¼ã社å¡ã¸ã®å¸æã主ç®çã¨èãã¦æ¸ãããããæ¬æ¥è¦æ±ããã¦ããåéã(ããã¨)å¤§å¹ ã«ãªã¼ãã¼ãã¦æ¸ãã¦ãã¾ãããéèªã«æ²è¼ãããªãã£ã溢ãåããããã§å ¬éãã¦è¯ããæ診
A resource is a statement of configuration policy that: Describes the desired state for a configuration itemDeclares the steps needed to bring that item to the desired stateSpecifies a resource typeâsuch as package, template, or serviceLists additional details (also known as resource properties), as necessaryAre grouped into recipes, which describe working configurationsResource SyntaxA resource i
ãã®è¨äºã¯æçµæ´æ°ãã1年以ä¸çµéãã¦ãã¾ãã æ°ãã¤ãã¦ãã Chefã®ã¬ã·ãã§ã½ã¼ã¹ããä½ããmakeãã¦installãããããæ¹ã¯ãå人ã«ãã£ã¦ã¾ã¡ã¾ã¡ãã¨æãã¾ãã ç§ã¯ãããªæãã§ãã£ã¦ãã¾ãã æ¦è¦ Joyent SmartOSã«irdãµã¼ããã¼ã¢ã³ã®ngircdãã¤ã³ã¹ãã¼ã«ãã¦ããµã¼ãã¹ã¨ãã¦èµ·åãã¾ãã ãã®Cookbookã¯Githubã«å ¬éãã¦ãã¾ãã higanworks-cookbooks/ngircd_smartos(v0.1.1) 追è¨ï¼ç¶ç·¨ã§ãã¾ããï¼ [LWRPã«ãã]ç¶ã»Chefã§Sourceããä½ããã¤ã³ã¹ãã¼ã«ããCookbookã®ã¦ã©ã¼ã¯ã¹ã«ã¼ ã¬ã·ãã®ãã£ãã解説 ãã¼ã«ã«ã«ç®çã®ãã¡ã¤ã«ãç¡ãã£ããåã£ã¦ãã ãã¡ã¤ã«ãåã£ã¦ãããmake & installããã¼ã«ã«ãããã°ä½ãããªã ãµã¼ãã¹ç»é² ãµã¼ãã¹ã¹ã¿ã¼ã attributes
To uninstall Vagrant, you can either uninstall the Vagrant binary, the user data, or both. The two sections below detail how to uninstall Vagrant on any platform. Remove the Vagrant programWhen you remove the Vagrant program, it will remove the vagrant binary and all dependencies from your machine. It will not remove user data. The next section provides more details on how to remove that directory
ãå ¥éChef Solo â Infrastructure as Code [Kindleç]ããèªã¿ã¤ã¤ knife-solo ã® 0.3.0 ãã¤ã³ã¹ãã¼ã«ãããã¨ããã rake aborted! ã«ãªã£ã¦ãã¾ã£ãã $ git clone git://github.com/matschaffer/knife-solo.git $ cd knife-solo $ rake install rake aborted! ERROR: While executing gem ... (Gem::InvalidSpecificationException) ["lib/knife-solo/resources/patch_cookbooks/chef-solo-search/.travis.yml", "lib/knife-solo/resources/patch_cookbooks/che
ãã¡ãã®æ¬ãè¦ãªãããvagrantãchefã«å ¥éä¸ã å ¥éChef Solo - Infrastructure as Code - é人åºçä¼ knife-soloã®install v0.3.0ã®installæ¹æ³ã§ãã æ¬æ¸ã§ã¯ git clone git://github.com/matschaffer/knife-solo.git cd knife-solo rake install ã¨è¨è¼ããã¦ãã¾ãã gem i knife-solo --pre ã§ãOKã§ããã ãã¾ã ruby2.0ã§knife-soloã®json1.6.1ãinstallã§ããã«1æéã»ã©ã¯ã¾ã£ã¦ããã®ã§ãã gem update --system ã§rubygemãupdateããã°å ¥ãã¾ããã
AWSã®ãµã¼ãã¹ã§ã¯DNSãç¨ãã¦å¯ç¨æ§ãåä¸ããä»çµã¿ãç¨ãã¦ããã å種APIã®ã¨ã³ããã¤ã³ã RDSã®ã¨ã³ããã¤ã³ã ELBã®ã¨ã³ããã¤ã³ã ElastiCacheã®ã¨ã³ããã¤ã³ã CloudSearchã®ã¨ã³ããã¤ã³ã Redshiftã®ã¨ã³ããã¤ã³ã ãªã©ãªã©ãAWSãæä¾ããã¨ã³ããã¤ã³ãã®FQDNããèªåã®ã¢ããªã±ã¼ã·ã§ã³ããåç §ããããã«è¨å®ããããä¸æ¦DNSã§CNAMEè¨å®ãããã¨ãå¤ãã ãã ãããããã®ã¨ã³ããã¤ã³ãFQDNã§è¨å®ããã¦ããIPã¢ãã¬ã¹ã¯ãéç¨ä¸ã«å¤æ´ãããå¯è½æ§ãããï¼ãã¼ãé害ããã§ã¤ã«ãªã¼ãã¼çã«ããIPã¢ãã¬ã¹å¤æ´ãã¹ã±ã¼ãªã³ã°ã«ããIPã¢ãã¬ã¹å¢æ¸ãçï¼ããã®ãããã¢ããªã±ã¼ã·ã§ã³å´ã¯ã¨ã³ããã¤ã³ãã®IPã¢ãã¬ã¹å¤æ´ã«è¿½éããå¿ è¦ããããï¼è¿½éããªãã¨ãå¤ãIPã¢ãã¬ã¹ã«ã¢ã¯ã»ã¹è©¦è¡ãã¤ã¥ãã¦ãçµæã¨ãã¦ã·ã¹ãã é害ã«ãªã£ã¦ãã¾ãï¼ ããã§å
ããªãä¹ ã ã®æè¡ã¨ã³ããªã éç¨ã¯ãå ãéããµã¼ãã¼ã使ã£ãã¨ãã¦ãéçºã¯è»½ãã»ãããããå½ããåã§ããã ã¨ããããã§ããããéçºããæ¹æ³ãæ¸ãã¦ã¿ããDIã³ã³ããã¯CDIãGuiceãSpringãªã©å¥½ããªãã®ã§ããããä»åã¯çãã軽ããã¨ããã£ã¦éçºä¸ã¯Guiceã使ããã¨ããå§ãããããæ³¨å ¥ã¯@Injectã使ããããéçºä¸ã¨éç¨ä¸ã§ã³ã¼ããå¤ããã£ã¦ã®ã¯å°ãªãã¯ãã ã ã¾ãã¯JAX-RS ã¾ããã¢ã¯ã·ã§ã³ãã¼ã¹ã®Webã¢ããªã¯JAX-RSã使ããã¨ããããåºæ¬ããµã¼ãã¬ããAPIã使ããã«éçºãããã¨ã«ã¤ãã¦ã¯ä»ã¾ã§ãæ¸ãã¦ããããµã¼ãã¬ããAPIã触ããªããã¨ã«ããéçºå¹çã¨ãã¹ãã®ããããã両ç«ã§ããã ãããªæãã @Path("/") public class Hoge { @GET @Path("add/{a}/{b}") public Response add(@Pa
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}