Heard about GNU PSPP recently. It’s a free software SPSS knock-off!
Author Archives: Jay Jay
Network sockets
Reading about network sockets…
BRACELETS recycling plastic bottles
Today I saw DIY crafts: BRACELETS recycling plastic bottles – Innova Crafts which was kinda clever…
Animated Data Visualization Of World War II Fatalities
Today I watched Animated Data Visualization Of World War II Fatalities Is Shocking.
ProgClub web statistics for May 2015
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
Like a cow in the field
I just spent half an hour trying to find the following Nietzsche quote:
All good things have something lazy about them and lie like cows in the meadow.
Of course I couldn’t find what I was looking for because I was searching for ‘field’ not ‘meadow’. Hopefully this note helps someone else one day!
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"; };
Running a SQL text file in mysql CLI
Use the ‘source’ command:
mysql> source path/to/file.sql
