gsettings set org.gnome.mutter overlay-key ''When changing workspaces only the primary monitor changes. To allow all monitors to change use the following.
gsettings set org.gnome.shell.overrides workspaces-only-on-primary false
gsettings set org.gnome.mutter overlay-key ''When changing workspaces only the primary monitor changes. To allow all monitors to change use the following.
gsettings set org.gnome.shell.overrides workspaces-only-on-primary false
<plugin>
<groupid>org.jvnet.jaxb2.maven2</groupid>
<artifactid>maven-jaxb2-plugin</artifactid>
<configuration>
<extension>true</extension>
<strict>false</strict>
<plugins>
<plugin>
<groupid>org/jvnet/jaxb2_commons</groupid>
<artifactid>annotate</artifactid>
<version>0.4.1.5</version>
</plugin>
</plugins>
</configuration>
<executions>
<execution>
<id>generate</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<bindingincludes>
<include>*.xjb</include>
</bindingincludes>
<args>
<arg>-Xannotate</arg>
</args>
</configuration>
</execution>
</executions>
</plugin>
file.xjb:
<!--?xml version="1.0" encoding="UTF-8" standalone="yes"?-->
<jaxb:bindings version="2.1"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:annox="http://annox.dev.java.net"
jaxb:extensionbindingprefixes="annox">
<jaxb:bindings schemalocation="filename.xsd" node="/xs:schema">
<jaxb:bindings node="xs:complexType[@name='ObjectType']">
<annox:annotate>
<annox:annotate
annox:class="javax.xml.bind.annotation.XmlRootElement"
name="access">
</annox:annotate>
</annox:annotate></jaxb:bindings>
</jaxb:bindings>
</jaxb:bindings>
#!/bin/bash while inotifywait -re close_write src; do ./restart.sh; donerestart.sh:
#!/bin/bash ./kill_tomcat.sh sleep 1 mvn tomcat:run -o &kill_tomcat.sh:
#!/bin/bash pkill -kill -f tomcat:run
sudo apt-get install python-dev pip install cython pip install rfoorconsole is a remote Python console with auto completion, which can be used to inspect and modify the namespace of a running script. To invoke in a script do:
from rfoo.utils import rconsole rconsole.spawn_server()To attach from a shell do:
rconsole
gcc example.cpp -lsomelibrarywmii build files have the shared libraries located before the source files, and thus can not be easily built with the default configuration.
CC = gcc-4.4 -c LD = gcc-4.4This allowed the project to compiled with the following command:
dpkg-buildpackage -rfakeroot -us -uc -b
sudo ln -s /usr/include/c++/4.5 /usr/include/c++/4.4
import ipdb; ipdb.set_trace()I wanted something similar for ruby. I got the same behaviour set up with the following code and patching using irb_completion's output. Install the required gem files:
gem install ruby-debug-base gem install ruby-debug gem install wirble gem install patch_irb_completion;patch_irb_completionModify the ruby file to be debugged:
require 'rubygems' require 'ruby-debug' require 'wirble' Wirble.init Wirble.colorize debugger #location to stoprunning the code with the --debug option will stop at the requested location and drop an rdb prompt with tab completion. Reference: http://stackoverflow.com/questions/2504515/what-do-i-put-in-my-ruby-jruby-code-to-break-into-the-debugger http://www.unboxedconsulting.com/blog/irc-completion-from-the-debugger