2020-06-27
2018-06-07
Försök komma ihåg sig
fn:Johan Pettersson
n:Pettersson;Johan
org:KTH;Industriell Produktion
adr;quoted-printable:;;Brinellv=C3=A4gen 68;Stockholm;;10044;Sweden
email;internet:p1ersson@kth.se
tel;work:087909542
x-mozilla-html:FALSE
version:2.1
end:vcard
until ping -c1 ratatosk &>/dev/null ; do :; done; Notify.sh Ping
2017-01-15
2016-12-06
LIte o komma ihåg att lista fram windows versionen
Caption
gwmi win32_operatingsystem | % caption
(Get-ItemProperty -Path c:\windows\system32\hal.dll).VersionInfo.FileVersion
winver
2016-11-04
Filtering text through a shell command in Emacs - Stack Overflow
(defun generalized-shell-command (command arg)
"Unifies `shell-command' and `shell-command-on-region'. If no region is
selected, run a shell command just like M-x shell-command (M-!). If
no region is selected and an argument is a passed, run a shell command
and place its output after the mark as in C-u M-x `shell-command' (C-u
M-!). If a region is selected pass the text of that region to the
shell and replace the text in that region with the output of the shell
command as in C-u M-x `shell-command-on-region' (C-u M-|). If a region
is selected AND an argument is passed (via C-u) send output to another
buffer instead of replacing the text in region."
(interactive (list (read-from-minibuffer "Shell command: " nil nil nil 'shell-command-history)
current-prefix-arg))
(let ((p (if mark-active (region-beginning) 0))
(m (if mark-active (region-end) 0)))
(if (= p m)
;; No active region
(if (eq arg nil)
(shell-command command)
(shell-command command t))
;; Active region
(if (eq arg nil)
(shell-command-on-region p m command t t)
(shell-command-on-region p m command)))))
--
Johan Pettersson computer administrator KTH / ITM
Tel: +46 (0)8 790 9542 XMPP/SIP: gud (a) kth.se Skype: p1ersson_kth
Telegram: @p1ersson
Visiting adress: Brinellvägen 68, 100 44 Stockholm
WebRTC: https://appear.in/iip
2015-11-26
GTK!
fn:Johan Pettersson
n:Pettersson;Johan
org:KTH;Industriell Produktion
adr;quoted-printable:;;Brinellv=C3=A4gen 68;Stockholm;;10044;Sweden
email;internet:p1ersson@kth.se
tel;work:087909542
x-mozilla-html:FALSE
version:2.1
end:vcard
wusa /uninstall /kb:980302
Både kb-artikeln och wusa...
2015-09-11
Note to self: DP-VGA4 != Apple...
fn:Johan Pettersson
n:Pettersson;Johan
org:KTH;Industriell Produktion
adr;quoted-printable:;;Brinellv=C3=A4gen 68;Stockholm;;10044;Sweden
email;internet:p1ersson@kth.se
tel;work:087909542
x-mozilla-html:FALSE
version:2.1
end:vcard
I need more Mac's but... Cheap adapter works with Lenovo but with Mac it
was just yellow display. TBC
