Skip to content

Instantly share code, notes, and snippets.

View maxandersen's full-sized avatar
💭
; is so overrated

Max Rydahl Andersen maxandersen

💭
; is so overrated
View GitHub Profile
Cannot complete the install because of a conflicting dependency.
Software being installed: JBoss Tools LiveReload 1.2.0.Alpha2-v20140207-2102-B6 (org.jboss.tools.livereload.feature.feature.group 1.2.0.Alpha2-v20140207-2102-B6)
Software currently installed: Eclipse Standard/SDK 2.0.1.20130919-0803 (epp.package.standard 2.0.1.20130919-0803)
Only one of the following can be installed at once:
Browser Support 3.4.100.v20130527-1656 (org.eclipse.ui.browser 3.4.100.v20130527-1656)
Browser Support 3.4.200.v20131003-1453 (org.eclipse.ui.browser 3.4.200.v20131003-1453)
Cannot satisfy dependency:
From: Eclipse Standard/SDK 2.0.1.20130919-0803 (epp.package.standard 2.0.1.20130919-0803)
To: org.eclipse.epp.package.standard.feature.feature.group [2.0.1.20130919-0803]
Cannot satisfy dependency:
@maxandersen
maxandersen / readme
Last active August 29, 2015 14:02
how to send pdfs to a certain picky expense system
Install "sendEmail"
on OSX I did that with 'brew install sendemail'
on fedora/red hat 'yum sendEmail' should work too (not tested).
http://caspian.dotconf.net/menu/Software/SendEmail/
Then use the script below and do this in the dir with your pdf's for the script (it will just take all *.pdf).
@maxandersen
maxandersen / portfwd.expect
Created June 30, 2014 16:18
How to script portforwarding for Swisscom routers.
#!/usr/bin/expect
# <scriptname> <router> <routerusername> <routerpassword> <host>
set timeout 20; #If it all goes pear shaped the script will timeout after 20 seconds.
set router [lindex $argv 0]; # First argument is router (192.168.1.1)
set user [lindex $argv 1]; # Second argument is user (admin)
set password [lindex $argv 2]; # Third argument is password (secret)
set nas [lindex $argv 3]; # Second argument is your NAS you which to forward ports to
spawn telnet $router; # This spawns the telnet program and connects it to the variable name
expect "Login: ";
@maxandersen
maxandersen / README
Created September 4, 2014 09:59
Creates a p2 update repo from content.jars piped to this command.
Usage:
cd <dir with p2 repos under it>
find . -name content.jar | python gencomposite.py
It will generate the necessary xml files for a composite repo and you
can now use the directory as an updatesite.
total 112
-rw-r--r-- 1 max staff 1367 Nov 14 16:31 Dockerfile
-rw-r--r-- 1 max staff 1037 Nov 12 23:09 Gemfile
-rw-r--r-- 1 max staff 3060 Nov 12 15:26 Gemfile.lock
-rw-r--r-- 1 max staff 183 Sep 18 14:41 Guardfile
-rw-r--r-- 1 max staff 8111 Nov 12 15:26 Rakefile
drwxr-xr-x 3 max staff 102 Sep 18 14:41 _bin
drwxr-xr-x 5 max staff 170 Nov 14 15:55 _config
drwxr-xr-x 3 max staff 102 Sep 18 14:41 _data
drwxr-xr-x 31 max staff 1054 Nov 12 15:26 _ext
try
set the clipboard to (do shell script "pbpaste | gist")
end try
[INFO] Resolving dependencies of MavenProject: org.jboss.tools.as.features:org.jboss.ide.eclipse.as.test.feature:3.0.0-SNAPSHOT @ /Users/max/code/jbosstools/jbosstools-server/as/features/org.jboss.ide.eclipse.as.test.feature/pom.xml
[INFO] Cannot complete the request. Generating details.
[INFO] Cannot complete the request. Generating details.
[INFO] {osgi.ws=cocoa, osgi.os=macosx, osgi.arch=x86, org.eclipse.update.install.features=true}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.jboss.ide.eclipse.as.test.feature.source.feature.group 3.0.0.qualifier
[ERROR] Missing requirement: org.jboss.ide.eclipse.as.test.feature.feature.group 3.0.0.qualifier requires 'org.jboss.ide.eclipse.as.archives.integration.test 0.0.0' but it could not be found
[ERROR] Cannot satisfy dependency: org.jboss.ide.eclipse.as.test.feature.source.feature.group 3.0.0.qualifier depends on: org.jboss.ide.eclipse.as.test.feature.feature.group [3.0.0,3.0.1)
[ERROR]
[ERROR] Internal error: java.lang.
317
./jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_4.1.helios/job/devstudio-4.1_stable_branch.target-platform/config.xml
./jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_4.1.helios/job/devstudio-4.1_stable_branch.updatesite/config.xml
./jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_4.1.helios/job/jbosstools-3.2_stable_branch.aggregate/config.xml
./jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_4.1.helios/job/jbosstools-3.2_stable_branch.component--archives/config.xml
./jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_4.1.helios/job/jbosstools-3.2_stable_branch.component--as/config.xml
./jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_4.1.helios/job/jbosstools-3.2_stable_branch.component--birt/config.xml
./jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_4.1.helios/job/jbosstools-3.2_stable_branch.component--bpel/config.xml
./jenkins.mw.lab.eng.bos.re
java.lang.AssertionError
at org.junit.Assert.fail(Assert.java:86)
at org.junit.Assert.assertTrue(Assert.java:41)
at org.junit.Assert.assertNotNull(Assert.java:621)
at org.junit.Assert.assertNotNull(Assert.java:631)
at org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.getApplication(NonUIThreadTestApplication.java:103)
at org.eclipse.pde.internal.junit.runtime.NonUIThreadTestApplication.start(NonUIThreadTestApplication.java:36)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)