Posted in 11 February, 2007 ¬ 05:47h.chmouel
This is a annoying, even if it take 5mn to code thing like that :
(defun my-dired-rm-rf()
"Rm -rf directories"
(interactive)
(let ((sel (selected-window)))
(dolist (curFile (dired-get-marked-files))
(if (yes-or-no-p (concat "Do you want to remove \"" (file-name-nondirectory curFile) "\" ? "))
(progn
(shell-command (concat "rm -rvf " curFile)
"*Removing Directories*")
(kill-buffer "*Removing Directories*")
(select-window sel)
(revert-buffer)
)
))
))
you [...]
Read the rest of this entry »
Posted in 7 February, 2007 ¬ 03:32h.chmouel
Renaming Oracle Database is a pain, coming from OpenSource DB like
MySQL or PostGres where we do that all the time i did not think that
Oracle have to be such a pain.
My only way i can find.
- If i have the tablespace named tablesp1 and owned by the
user user1, and i want to [...]
Read the rest of this entry »
Posted in 6 February, 2007 ¬ 21:02h.chmouel
A useful svn wrapper scripts. Get a diff of your local repostitory against the upstream repository changes. I wonder why it is not builtins though like a svn status -u but for dif.
#!/bin/bash
IFS="
"
for line in `svn status -u`;do
[[ $line != " "* ]] && continue
rev=`echo [...]
Read the rest of this entry »