Skip to content

Instantly share code, notes, and snippets.

View theozaurus's full-sized avatar

Theo Cushion theozaurus

  • Ignition Works
  • UK
View GitHub Profile
@theozaurus
theozaurus / gist:1031567
Created June 17, 2011 14:50
Navicat crash
Process: Navicat for MySQL [46214]
Path: /Volumes/Navicat for MySQL/Navicat for MySQL.app/Contents/MacOS/Navicat for MySQL
Identifier: com.prect.Navicat
Version: 9.1.4 (9.1.4)
Code Type: X86 (Native)
Parent Process: launchd [351]
Date/Time: 2011-02-09 14:47:45.271 +0000
OS Version: Mac OS X 10.6.6 (10J567)
Report Version: 6
....
source ~/.profile
....
define :ssh_key, :key => nil, :sort => "private", :user => "root" do
unless node[:etc][:passwd].has_key?(params[:user])
# Need to reload ohai if we can't find the user
ruby_block "reload_ohai" do
block do
o = Ohai::System.new
o.all_plugins
node.automatic_attrs.merge! o.data
end
user rack_app[:user] do
home "/home/#{rack_app[:user]}"
shell "/bin/bash"
supports :manage_home => true
action :create
end
ssh_key "github" do
user rack_app[:user]
key "FOOOBAR"
var nameserver = /^((([a-z0-9]([a-z0-9\-]{0,61}[a-z0-9])?\.)+[a-z]{2,6})|(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}))$/i;
$('#configure_domains_form').submit(function() {
return $('input[name^="domainns"]').each(function(){
if(nameserver.test($(this).val())){
// Do nothing
}
else{
if ($(this).val() == ""){
if($(this).attr("name") == "domainns3" || $(this).attr("name") == "domainns4"){
// Do nothing, it's ok for these to be Blank
System Properties
Name ↓
Value
JENKINS_HOME /usr/share/jetty/webapps/jenkins_home
file.encoding ANSI_X3.4-1968
file.encoding.pkg sun.io
file.separator /
java.awt.graphicsenv sun.awt.X11GraphicsEnvironment
java.awt.headless true
root@jenkins:~# rvm use ree
Using /usr/local/rvm/gems/ree-1.8.7-2011.03
root@jenkins:~# which bundle
/usr/local/rvm/gems/ree-1.8.7-2011.03/bin/bundle
root@jenkins:~# rvm info
ree-1.8.7-2011.03:
system:
uname: "Linux jenkins.local 2.6.32-30-generic-pae #59-Ubuntu SMP Tue Mar 1 23:01:33 UTC 2011 i686 GNU/Linux"
HTTP ERROR 500
Problem accessing /. Reason:
jar:file:/var/cache/jetty/Jetty_0_0_0_0_8983_jenkins.war____sltqet/webapp/WEB-INF/lib/jenkins-core-1.403.jar!/lib/layout/layout.jelly:92:54: <st:adjunct> AdjunctManager is not installed for this application
Caused by:
org.apache.commons.jelly.JellyTagException: jar:file:/var/cache/jetty/Jetty_0_0_0_0_8983_jenkins.war____sltqet/webapp/WEB-INF/lib/jenkins-core-1.403.jar!/lib/layout/layout.jelly:92:54: <st:adjunct> AdjunctManager is not installed for this application
at org.apache.commons.jelly.impl.TagScript.handleException(TagScript.java:709)
at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:282)
template@staging:~/template/current$ set -x ; cd /home/template/template/current
+ set -x
+ cd /home/template/template/current
+ builtin cd /home/template/template/current
+ local result=0
+ __rvm_project_rvmrc
+ local cwd
+ cwd=/home/template/template/current
+ :
+ [[ -z /home/template/template/current ]]
template@staging:~/template$ set -x ; cd /home/template/template/current
+ set -x
+ cd /home/template/template/current
+ builtin cd /home/template/template/current
+ local result=0
+ __rvm_project_rvmrc
+ local cwd
+ cwd=/home/template/template/current
+ :