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
#!/usr/bin/env python | |
import os | |
os.chdir("/var/lib/apt/lists") | |
for file in os.listdir("."): | |
if file.endswith("Release"): | |
with open(file) as f: | |
content = f.readlines() | |
d = {} |
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
--- Xclients 2010-08-17 00:15:59.000000000 +0100 | |
+++ Xclients.new 2013-01-29 09:44:56.103410749 +0000 | |
@@ -10,6 +10,7 @@ | |
GSESSION="$(which gnome-session 2>/dev/null)" | |
STARTKDE="$(which startkde 2>/dev/null)" | |
+STARTXFCE="$(which startxfce4 2>/dev/null)" | |
# check to see if the user has a preferred desktop | |
PREFERRED= |
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
STARTXFCE="$(which startxfce4 2>/dev/null)" | |
exec "$STARTXFCE" |
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
#!/usr/bin/expect | |
spawn /usr/bin/f5vpn-login <login> | |
expect { | |
"*Got plugin params, execing vpn client*" { | |
interact | |
} "*password*" { | |
send "<password>\r\n" | |
interact | |
} |
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
oms@solaris:~/.rvm/scripts$ rvm info rvm | |
ruby-1.9.3-p448: | |
rvm: | |
version: "" | |
updated: "10 seconds ago" | |
path: "/opt/oms/.rvm" | |
oms@solaris:~/.rvm/scripts$ |
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
oms@solaris:~/.rvm$ rvm info system | |
ruby-1.9.3-p448: | |
system: | |
uname: "SunOS solaris 5.11 11.1 i86pc i386 i86pc" | |
system: "solaris/11.1/i86pc" | |
bash: "/usr/bin/bash => GNU bash, version 4.1.11(2)-release (i386-pc-solaris2.11)" | |
zsh: "/usr/bin/zsh => zsh 4.3.17 (i386-pc-solaris2.11)" | |
oms@solaris:~/.rvm$ |
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
oms@solaris:~/.rvm$ ruby | |
-bash: /opt/oms/.rvm/rubies/ruby-1.9.3-p448/bin/ruby: Invalid argument | |
oms@solaris:~/.rvm$ /opt/oms/.rvm/rubies/ruby-1.9.3-p448/bin/ruby | |
-bash: /opt/oms/.rvm/rubies/ruby-1.9.3-p448/bin/ruby: Invalid argument | |
oms@solaris:~/.rvm$ ldd /opt/oms/.rvm/rubies/ruby-1.9.3-p448/bin/ruby | |
ldd: /opt/oms/.rvm/rubies/ruby-1.9.3-p448/bin/ruby: elf_getehdr: Format error: ehdr EI_VERSION/e_version mismatch | |
oms@solaris:~/.rvm$ |
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
oms@solaris:~/.rvm$ echo $GEM_HOME; echo $PATH | |
/opt/oms/.rvm/gems/ruby-1.9.3-p448 | |
/opt/oms/.rvm/gems/ruby-1.9.3-p448/bin:/opt/oms/.rvm/gems/ruby-1.9.3-p448@global/bin:/opt/oms/.rvm/rubies/ruby-1.9.3-p448/bin:/opt/oms/.rvm/bin:/opt/csw/bin:/usr/bin:/usr/sbin | |
oms@solaris:~/.rvm$ |
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
oms@solaris:~$ rvm prepare 1.9.3 --install --trace | |
1.9.3 --install --trace | |
rvm 1.21.20 (master) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/] | |
+ [[ -n '' ]] | |
+ set -o errtrace | |
+ export 'PS4=+ $(date "+%s.%N") ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > ' | |
+ PS4='+ $(date "+%s.%N") ${BASH_SOURCE##${rvm_path:-}} : ${FUNCNAME[0]:+${FUNCNAME[0]}()} ${LINENO} > ' | |
+ 1376058222.696603685 /scripts/cli : __rvm_parse_args() 745 > [[ -z prepare ]] |
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
oms@solaris:~$ ldd /opt/oms/.rvm/rubies/ruby-1.9.3-p448/bin/ruby | |
libruby.so.1 => /opt/oms/.rvm/rubies/ruby-1.9.3-p448/lib/libruby.so.1 | |
libpthread.so.1 => /lib/libpthread.so.1 | |
librt.so.1 => /lib/librt.so.1 | |
libsocket.so.1 => /lib/libsocket.so.1 | |
libdl.so.1 => /lib/libdl.so.1 | |
libcrypt.so.1 => /usr/lib/libcrypt.so.1 | |
libm.so.2 => /lib/libm.so.2 | |
libc.so.1 => /lib/libc.so.1 | |
libgcc_s.so.1 => /opt/csw/lib/libgcc_s.so.1 |
OlderNewer