Skip to content

Instantly share code, notes, and snippets.

View recena's full-sized avatar

Manuel Recena recena

View GitHub Profile
{
"categories": [{
"description": "Create projects with a self-contained configuration and history. These projects can be at the top-level or grouped within folders.",
"id": "category-id-standaloneprojects",
"items": [{
"displayName": "Freestyle project",
"weight": 0,
"description": "This is the central feature of Jenkins. Jenkins will build your project, combining any SCM with any build system, and this can be even used for something other than software build.",
"class": "hudson.model.FreeStyleProject"
}, {
{
"categories": [{
"description": "Create projects with a self-contained configuration and history. These projects can be at the top-level or grouped within folders.",
"id": "category-id-standaloneprojects",
"items": [{
"displayName": "Freestyle project",
"weight": 0,
"description": "This is the central feature of Jenkins. Jenkins will build your project, combining any SCM with any build system, and this can be even used for something other than software build.",
"class": "hudson.model.FreeStyleProject"
}, {
{
"categories": [{
"description": "Create projects with a self-contained configuration and history. These projects can be at the top-level or grouped within folders.",
"id": "category-id-standaloneprojects",
"items": [{
"displayName": "Freestyle project",
"weight": 0,
"description": "This is the central feature of Jenkins. Jenkins will build your project, combining any SCM with any build system, and this can be even used for something other than software build.",
"class": "hudson.model.FreeStyleProject"
}, {
Stack trace
javax.servlet.ServletException: java.util.ServiceConfigurationError: com.github.dockerjava.api.command.DockerCmdExecFactory: Provider com.github.dockerjava.jaxrs.DockerCmdExecFactoryImpl not a subtype
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:796)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:491)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1074)
Command being timed: "ffmpeg -y -i /root/performance-test/big_buck_bunny_1080p_surround.avi -acodec libvorbis -ac 2 -ab 96k -ar 44100 -b 345k -s sqcif /root/performance-test/output.avi"
User time (seconds): 442.65
System time (seconds): 1.45
Percent of CPU this job got: 100%
Elapsed (wall clock) time (h:mm:ss or m:ss): 7:23.96
Average shared text size (kbytes): 0
Average unshared data size (kbytes): 0
Average stack size (kbytes): 0
Average total size (kbytes): 0
Maximum resident set size (kbytes): 104000
#! /bin/bash
/usr/bin/time -v -o /root/performance-test/logs.txt --append \
ffmpeg -y -i /root/performance-test/big_buck_bunny_1080p_surround.avi -acodec libvorbis -ac 2 -ab 96k -ar 44100 -b 345k -s sqcif /root/performance-test/output.avi
root@clinker:/usr/local/redmine# service apache2 stop
root@clinker:/usr/local/redmine# rake db:sessions:create RAILS_ENV="production"
root@clinker:/usr/local/redmine# rake db:migrate RAILS_ENV=production
Y en el archivo config/application.rb:
Comentar > # config.session_store :cookie_store, :key => '_redmine_session'
Incluir > config.session_store :active_record_store
root@clinker:/usr/local/redmine# service apache2 start
ActionDispatch::Cookies::CookieOverflow (ActionDispatch::Cookies::CookieOverflow):
actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:303:in `[]='
actionpack (3.2.8) lib/action_dispatch/middleware/session/cookie_store.rb:67:in `set_cookie'
rack (1.4.1) lib/rack/session/abstract/id.rb:330:in `commit_session'
rack (1.4.1) lib/rack/session/abstract/id.rb:206:in `context'
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
actionpack (3.2.8) lib/action_dispatch/middleware/cookies.rb:339:in `call'
activerecord (3.2.8) lib/active_record/query_cache.rb:64:in `call'
@recena
recena / gist:2550551
Created April 29, 2012 13:56
Maven Eclipse Plugin configuration with Checkstyle support
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.9</version>
<configuration>
<projectNameTemplate>[artifactId]</projectNameTemplate>
<wtpmanifest>false</wtpmanifest>
<wtpapplicationxml>true</wtpapplicationxml>
<wtpversion>2.0</wtpversion>
<manifest />