So earlier this week ProgClub’s website traffic mysteriously doubled. It seems to be holding out at this new rate, too.
Category Archives: Internet
Fixing Firefox/Iceweasel restricted port
Today I ran into this warning from iceweasel when I tried to access a web service on port 101:
This address is restricted
This address uses a network port which is normally used for purposes other than Web browsing. Iceweasel has canceled the request for your protection.
I found this article which said:
- Open about:config
- Create network.security.ports.banned.override if it’s not there
- Set that setting as, e.g.: 101-104
- Refresh the page
Disable Password Authentication for SSH
See How to Disable Password Authentication for SSH.
vim /etc/ssh/sshd_config
Then:
ChallengeResponseAuthentication no PasswordAuthentication no UsePAM no
Then restart the SSH server:
service sshd restart
Configuring DCC port range in Irssi
To specify a port range for DCC:
/set dcc_port 6000 7000
Make sure your NAT router has DMZ or port forwarding for the nominated ports and that your firewall has those ports open.
Your config file will look like this:
jj5@honesty:~/.irssi$ grep -R 6000 .
./config: "irc/dcc" = { dcc_port = "6000 7000"; };
Mozilla Firefox Web Developer’s Toolbox
Check out Web Developer’s Toolbox…
Local language names
See here for a list of languagse along with their code and local name.
Adding ‘Attach to Icedove’ desktop/dolphin menu item on Debian Jessie
On Debian Jessie (testing) the default ‘Send as Email Attachment’ context menu item uses KMail, and only KMail, even if you’ve configured your desktop to use Icedove (Thunderbird) as your default mail client.
So you can remove the broken ‘Send as Email Attachment’ from Dolphin by opening Dolphin then:
Settings -> Configure Dolphin… -> Services -> uncheck ‘Send as Email Attachment’
Then to create a replacement feature that uses Icedove edit:
~/.kde/share/kd4/share/icedove_attachment.desktop
And enter:
[Desktop Entry] Type=Service Actions=attachToEmail Encoding=UTF-8 ServiceTypes=KonqPopupMenu/Plugin,all/allfiles ExcludeServiceTypes=application/x-iso,kdedevice/*,inode/directory [Desktop Action attachToEmail] Exec=icedove -compose "attachment='$(echo %F | sed 's/\\ \\//,\\/\\//g')'" Name=Attach to Icedove Name[it]=Invia E-mail con Icedove Name[es]=Enviar adjunto con Icedove Name[de]=Als Anhang mit Icedove verschicken Name[pt]=Anexar ao Icedove E-mail Name[pt_BR]=Enviar arquivo(s) como anexo(s) Name[fr]=Envoyer avec Icedove Name[nl]=Voeg toe als bijlage aan Icedove Name[pl]=Wyślij jako załącznik Icedove Name[ru]=Отправить с помощью Icedove Name[cz]=Odeslat jako přílohu Icedove Icon=/usr/lib/icedove/chrome/icons/default/default16.png
And make sure your .desktop file is executable:
$ chmod +x ~/.kde/share/kd4/share/icedove_attachment.desktop
Fetch as Google
Today I learned about Fetch as Google. Haven’t used it yet, though.
Favicon & App Icon Generator
Kickass Favicon & App Icon Generator…
Set toolbar colour with HTML meta element theme-color
See here for example:
<meta name="theme-color" content="#123456">
