Skip to content

Instantly share code, notes, and snippets.

View mmalmeida's full-sized avatar

Miguel Almeida mmalmeida

  • ITClinical
  • Lisbon
View GitHub Profile
@mmalmeida
mmalmeida / gist:4551121
Created January 16, 2013 21:28
new log
[ 2105.644]
X.Org X Server 1.11.3
Release Date: 2011-12-16
[ 2105.644] X Protocol Version 11, Revision 0
[ 2105.644] Build Operating System: Linux 2.6.42-26-generic i686 Ubuntu
[ 2105.644] Current Operating System: Linux servidor 3.2.0-35-generic #55-Ubuntu SMP Wed Dec 5 17:45:18 UTC 2012 i686
[ 2105.644] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-35-generic root=UUID=c52d4c28-8f29-4043-b8e3-440c3f6f4b58 ro quiet splash vt.handoff=7
[ 2105.644] Build Date: 29 August 2012 12:10:05AM
@mmalmeida
mmalmeida / gist:4550962
Created January 16, 2013 21:06
xorg.0.log after toggling hdmi input
[ 750.237] (II) NVIDIA(GPU-0): Display (Pioneer Electronic Corporation VSX-S300 (DFP-1)) does
[ 750.237] (II) NVIDIA(GPU-0): not support NVIDIA 3D Vision stereo.
[ 750.237] (**) NVIDIA(0): Not using HorizSync/VertRefresh ranges from the EDID for
[ 750.237] (**) NVIDIA(0): display device Pioneer Electronic Corporation VSX-S300
[ 750.237] (**) NVIDIA(0): (DFP-1) (Using EDID frequencies has been disabled on all
[ 750.237] (**) NVIDIA(0): display devices.)
[ 750.237] (II) NVIDIA(0): Frequency information for Pioneer Electronic Corporation
[ 750.237] (II) NVIDIA(0): VSX-S300 (DFP-1):
[ 750.237] (II) NVIDIA(0): HorizSync : 31.000-84.000 kHz
[ 750.237] (II) NVIDIA(0): VertRefresh : 60.000-75.000 Hz
This file has been truncated, but you can view the full file.
[ 37.419]
X.Org X Server 1.11.3
Release Date: 2011-12-16
[ 37.419] X Protocol Version 11, Revision 0
[ 37.419] Build Operating System: Linux 2.6.42-26-generic i686 Ubuntu
[ 37.419] Current Operating System: Linux servidor 3.2.0-35-generic #55-Ubuntu SMP Wed Dec 5 17:45:18 UTC 2012 i686
[ 37.419] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-35-generic root=UUID=c52d4c28-8f29-4043-b8e3-440c3f6f4b58 ro quiet splash vt.handoff=7
[ 37.420] Build Date: 29 August 2012 12:10:05AM
@mmalmeida
mmalmeida / gist:4550629
Last active December 11, 2015 05:09
xorg.conf
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "Xinerama" "0"
EndSection
@mmalmeida
mmalmeida / gist:4474432
Created January 7, 2013 11:47
trac config
ErrorLog /var/log/apache2/error.trac.log
CustomLog /var/log/apache2/access.trac.log combined
<Location /projects>
SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler trac.web.modpython_frontend
PythonOption TracEnvParentDir /srv/trac
PythonOption TracUriRoot /projects
<Location /svn>
DAV svn
SVNParentPath /opt/subversion/repositories
SVNListParentPath On
AuthType Digest
AuthDigestDomain /svn/
AuthName "ITClinical SVN"
AuthUserFile /etc/apache2/svn.passwd
</Location>
<VirtualHost *:80>
ServerAdmin admin@itc.com
DocumentRoot /srv/www/joomla
ServerName itc.com
ServerAlias www.itc.com
</VirtualHost>
<VirtualHost *:80>
ServerAdmin admin@itc.com
@mmalmeida
mmalmeida / gist:4135094
Created November 23, 2012 10:51
Jenkins issue
SEVERE: I/O error in channel Channel to Maven [java, -Xms128m, -Xmx256m, -XX:MaxPermSize=256m, -cp, /usr/share/tomcat6/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-agent-1.2.jar:/usr/share/tomcat6/.jenkins/tools/Maven/Jenkins_maven/boot/plexus-classworlds-2.4.jar, org.jvnet.hudson.maven3.agent.Maven3Main, /usr/share/tomcat6/.jenkins/tools/Maven/Jenkins_maven, /usr/share/tomcat6/webapps/jenkins/WEB-INF/lib/remoting-2.17.jar, /usr/share/tomcat6/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-1.2.jar, 37431]
java.io.IOException: Unexpected termination of the channel
at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:50)
Caused by: java.io.EOFException
at java.io.ObjectInputStream$BlockDataInputStream.peekByte(ObjectInputStream.java:2553)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1296)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
at hudson.remoting.Command.readFrom(Command.java:90)
at hudson.remoting.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.0:site (default-site) on project irrs: SiteToolException: Unable to read local module-POM: 1 problem was encountered while building the effective model for com.itclinical:irrs-model:1.1.5-SNAPSHOT
[ERROR] [FATAL] Non-resolvable parent POM for com.itclinical:irrs:1.1.5-SNAPSHOT: Could not find artifact com.itclinical:itclinical-settings:pom:1.0.2 in central (http://repo1.maven.org/maven2) and 'parent.relativePath' points at wrong local POM @ com.itclinical:irrs:1.1.5-SNAPSHOT, /home/mike/workspace/irrs/pom.xml, line 9, column 10
@mmalmeida
mmalmeida / gist:3885672
Created October 13, 2012 18:28
Simple query
drop table person;
CREATE TABLE person
(
id integer NOT NULL,
"name" character varying,
code integer,
CONSTRAINT pk_person PRIMARY KEY (id)
);