lugnasad.eu

🐧🧰 proc_deleted (Bash)

Bash command to list processes that have some deleted files, and to allow to kill them.
https://bitbucket.org/OPiMedia/proc_deleted-bash/

More precisely, takes list of /proc/*/fd/* with mention "(deleted)", filters it by patterns, extracts PIDs, and then displays the list and PIDs. Options allow to kill them.

Lists all /proc/*/fd/* with mention "(deleted)" and lists their PIDs:
$ proc_deleted.sh

Lists lines that match regular expressions tmp *and* #[0-5], and lists their PIDs:
$ proc_deleted.sh tmp '#[0-5]'

# # #

HackerRank [CodinGame…] / helpers

🏅 # [#odinGame…] / helpers 🧰
Little scripts (to compile, static analyze, run, and compare results)
to help in solving problems of HackerRank website (or CodinGame…),
in several programming languages
(#, #, #, C++, #, #, #, #, #, # and #.
https://bitbucket.org/OPiMedia/hackerrank-codingame-helpers/

You can easily adapt these scripts for other programming languages.

# #
#



gocd: Bash command to change directory from list of associations

💻🧰🐧 #: Little # command to change working directory, as traditional # command, but with a NAME instead a directory, from a list of associations NAME: DIRECTORY.
https://bitbucket.org/OPiMedia/gocd-bash/

By example, if configuration file contents this line: git ~/data/git

$ gocd git
is equivalent to run
$ cd ~/data/git; ls

$ gocd git archives/library/assertopencl/
is equivalent to run
$ cd ~/data/git/archives/library/assertopencl/; ls

So the idea is to have an alternative of cd command with some usual shortcuts.

Both arguments are autocompleted.

More explanations about installation, use and examples, available on the Bitbucket repository.

# # #
Later posts Earlier posts

Ce site web utilise des cookies. Si vous continuez Γ  naviguer sur ce site Web, vous acceptez l'utilisation de cookies.