This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- mark trailing spaces | |
| function highlight_trailing_spaces() | |
| local text = buffer:get_text() | |
| -- TODO: only do it in the visible area, I haven't figured out yet | |
| --local start_pos = buffer:position_from_line(buffer.first_visible_line) | |
| --local end_pos = buffer.line_end_position[buffer.first_visible_line + buffer.lines_on_screen + 1] | |
| --local text = buffer:text_range(start_pos, end_pos) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/java/buildconf/build-taskdefs.xml b/java/buildconf/build-taskdefs.xml | |
| index 121905f..551bc59 100644 | |
| --- a/java/buildconf/build-taskdefs.xml | |
| +++ b/java/buildconf/build-taskdefs.xml | |
| @@ -1,17 +1,17 @@ | |
| <project name="build-taskdefs"> | |
| <target name="init-ivy" depends="boot-deps" unless="installbuild"> | |
| <taskdef name="ivy-retrieve" | |
| - classname="fr.jayasoft.ivy.ant.IvyRetrieve" | |
| - classpathref="bootjars"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ssh root@host | |
| $ echo $DISPLAY | |
| localhost:10.0 | |
| $ xauth list | |
| host/unix:10 MIT-MAGIC-COOKIE-1 f845ff6b6707bda93db8a76f4ebd7c66 | |
| host/unix:11 MIT-MAGIC-COOKIE-1 344dbd2a692ca55a90d4b8c040b59499 | |
| $ su - user |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /.gradle | |
| /.settings | |
| /bin | |
| /build | |
| /.classpath | |
| /.project |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT 1, | |
| (SELECT 1 | |
| FROM rhnServerFeaturesView SFV | |
| WHERE SFV.server_id = S.id | |
| AND SFV.label = 'ftr_system_grouping') AS selectable | |
| FROM rhnServerInfo SI, | |
| rhnServer S, | |
| rhnActionErrataUpdate EA, | |
| rhnServerAction SA, | |
| rhnErrata E |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def expand_keys(key, value) | |
| if File.dirname(key) != "/" | |
| return expand_keys(File.dirname(key), { File.basename(key) => value }) | |
| else | |
| return {File.dirname(key) => { File.basename(key) => value }} | |
| end | |
| end | |
| data = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| + fmvn | |
| /usr/lib64/jvm/java | |
| Jan 25, 2012 2:14:47 PM org.sonatype.guice.bean.reflect.Logs$JULSink warn | |
| WARNING: Error injecting: org.fedoraproject.maven.repository.internal.FedoraRepositorySystem | |
| com.google.inject.ProvisionException: Guice provision errors: | |
| 1) Error injecting: public org.sonatype.aether.impl.internal.DefaultRepositorySystem org.sonatype.aether.impl.internal.DefaultRepositorySystem.setArtifactResolver(org.sonatype.aether.impl.ArtifactResolver) | |
| at ClassRealm[plexus.core, parent: null] | |
| while locating org.sonatype.aether.impl.internal.DefaultRepositorySystem | |
| while locating org.fedoraproject.maven.repository.internal.FedoraRepositorySystem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| + fmvn | |
| /usr/lib64/jvm/java | |
| Jan 25, 2012 2:12:21 PM org.sonatype.guice.bean.reflect.Logs$JULSink warn | |
| WARNING: Error injecting: org.fedoraproject.maven.repository.internal.FedoraRepositorySystem | |
| com.google.inject.ProvisionException: Guice provision errors: | |
| 1) Error injecting: public org.sonatype.aether.impl.internal.DefaultRepositorySystem org.sonatype.aether.impl.internal.DefaultRepositorySystem.setArtifactResolver(org.sonatype.aether.impl.ArtifactResolver) | |
| at ClassRealm[plexus.core, parent: null] | |
| while locating org.sonatype.aether.impl.internal.DefaultRepositorySystem | |
| while locating org.fedoraproject.maven.repository.internal.FedoraRepositorySystem |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'open-uri' | |
| f = open('https://api.github.com/user', :http_basic_authentication => ['username', 'password']) | |
| puts f.read |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| f = open('https://api.github.com/user', :http_basic_authentication => ['username', 'password']) | |
| puts f.read |