The situation is as follows: a website which, after logging in with an username
and a password, allows you to register new users and a Mozilla Firefox user with
the option to remember passwords enabled.
The case: the user adds a new account or logs in with an account and then edits
this account from another account.
The problem: When the user is adding the new account Firefox will fill the fields
with the user and password of the current account. When the user is editing an existing
account Firefox will fill the fields with the username and password from the account being
edited, which is also in password reminder, if the user is not editing the account
with the intent to change its password will not notice that only the first of the two
fields "Password" and "Repeat password" is filled, so when the user tries to save it will display
"Passwords don't match" error.
Solution:
First attempt: rename the password field on the edit form so it doesn't have the same name as
the password field in the login form:
Problem: same result, field name is not the reason why Firefox only fills
first password field but not the second one, it seems that it only looks for
the first password field.
Second attempt: hiding password fields and instead show a link to change
password that, when clicked, shows the password fields.
As a probe of the use of kprobes for Extension of Operating Systems I have made a Linux module that allows you to execute a command for every pressed key and see its keycode.
It includes some sample scripts that can be used as the command to be executed on every key pressed, these scripts are:
keylogger
Registers every pressed key in a file.
printscr
If framebuffer is enabled it allows to do a console screenshot using print screen key.
typewriter
Plays a sound on every key pressed, sample sounds included imitate a typewriter.
The tarball includes more instructions and examples.
Así es, ya que tras mucho tiempo dándole vueltas, el Gobierno por fin ha decidido ir por donde todos temíamos y tirar la carrera a la basura: los informáticos españoles no tendremos competencias (que serán asumidas por telecomunicaciones) ni atribuciones en España.
The context: you run emerge with --ask parameter and, since it can take some time to calculate dependencies, you do some other thing. After a while, when you've forgotten it, you discover that emerge have ended calculating dependencies time ago and it's waiting for your confirmation when it could be already done. Have this ever happened to you? Me too. This is why I added sound notifications to some Portage events.
The patch is configured in /etc/make.conf file with the following variables: PLAY_CMD which is the command that will play the sound, like play, aplay, artsplay, esdplay or paplay, and SOUND_<event> which is the sound file that will be played, events may be ASK, SUCCESS or FAILURE. Files may be in any format supported by PLAY_CMD, so you can use WAV, MP3, OggVorbis, AAC, WMA, ... using the suitable command.
Example:
# Sounds will be played with PulseAudio using command paplay
PLAY_CMD="paplay"
# Sound played when Portage asks you something (i.e., when you use --ask parameter)
SOUND_ASK="/home/fred/sounds/question.wav"
# Sound played when emerge exits successfully
SOUND_SUCCESS="/home/fred/sounds/correct.wav"
# Sound played when emerge exits with errors
SOUND_FAILURE="/home/fred/sounds/error.wav"
The fact is that, with ebuilds for new packages that I submitted to Bugzilla, the ones I modified with patches of my interest, those removed from Portage, some I made for my scripts and others, I colleted a few ebuilds now I compile and release in an overlay for Portage.
I've just set up a Rune: Halls of Valhalla dedicated server with Arenas, special game types such as boxing and street fighting and anti cheat mods. Click here for more info.