II04 |
lampka LED
|
I04 |
Psi - message
|
nie koniecznie mi się już tak pięknie prezentowała...
IX09 |
Firefox + akregator
|
| /usr/bin/akregator --addfeed URL |
case "client":
var clientApp =
prefs.getComplexValue(PREF_SELECTED_APP, Ci.nsILocalFile);
[...]
var ss =
Cc["@mozilla.org/browser/shell-service;1"].
getService(Ci.nsIShellService_MOZILLA_1_8_BRANCH);
ss.openApplicationWithURI(clientApp, spec);
break; |
case "client":
const PREF_SELECTED_APP_ARGS = "browser.feeds.handlers.application.args";
const PREF_SELECTED_APP_URIPREFIX = "browser.feeds.handlers.application.uriPrefix";
var clientApp = prefs.getComplexValue(PREF_SELECTED_APP, Ci.nsILocalFile);
var feedhandlerArgs = safeGetCharPref(PREF_SELECTED_APP_ARGS).split(" ");
//get all args words delimitted by space into array
var uriPrefix = safeGetCharPref(PREF_SELECTED_APP_URIPREFIX);
var file = Cc["@mozilla.org/file/local;1"].createInstance(Ci.nsILocalFile);
file.initWithPath(clientApp.persistentDescriptor);
var process = Cc["@mozilla.org/process/util;1"].createInstance(Ci.nsIProcess);
process.init(file);
if (uriPrefix) spec = uriPrefix + spec;
if (feedhandlerArgs) {
var args = feedhandlerArgs;
args[args.length] = spec; // add uri as last arg at the end
}
else
var args = [spec];
process.run(false, args, args.length);
//debug("FeedConverter.js: ", (clientApp.persistentDescriptor + " " + args));
break; |
VI19 |
klawiatura multimedialna (xbindkeys)
|
graffi@dunwyn:~$ xbindkeys -k Press combination of keys or/and click under the window. You can use one of the two lines after "NoCommand" in $HOME/.xbindkeysrc to bind a key. "(Scheme function)" m:0x11 + c:99 Shift+Mod2 + Prior graffi@dunwyn:~$ |
"/home/users/graffi/.bin/hotkeys/volume PCM -" m:0x10 + c:174 "/home/users/graffi/.bin/hotkeys/volume PCM +" m:0x10 + c:176 "/home/users/graffi/.bin/hotkeys/volume Aux -" m:0x14 + c:174 "/home/users/graffi/.bin/hotkeys/volume Aux +" m:0x14 + c:176 |
np. Pause)
VI18 |
ssh na niestardowym porcie i login inny niż lokalny - koniec problemów :)
|
) więc dotychczas rozwiazanie miałem jedno, a mianowicie sobie konfigurowałem iptables'a któremu takie oto regółki wystarczały do załatwienia sprawy innego portu:
| $sbin/iptables -t nat -A PREROUTING -d 212.182.0.175 -p tcp --dport 22 -j DNAT --to-destination 212.182.0.175:xxx |
| ssh login@matrix |


Host cezar HostName 83.3.zzz.xxx User login Port port |
| ssh cezar |
| man 5 ssh_config |
