mikelindner.com

powering the Internet since 1995

Photography | Computing | Cooking | Contact |

“normal” prompt for zsh

October 29th, 2019


I’ve just started trying out zsh, so far so good.  The one thing that worried me was lack of uname@host on the prompt.  Adding the following line to .zshrc fixes that.

PROMPT=”$fg[cyan]%}$USER@%{$fg[blue]%}%m ${PROMPT}”


Facetime HD Camera, Ubuntu 19.04

October 27th, 2019


git clone https://github.com/patjak/bcwc_pcie.git
cd bcwc_pcie
make
sudo make install
sudo depmod
sudo modprobe -r bdc_pci
sudo modprobe facetimehd


Why are people so stubborn?

November 14th, 2018


I’m sure I’m not the only security expert to say this but WHY do people simply ignore the most basic advice!?  I was just talking to a friend over SMS and he asked me a couple of personal questions and some deep security questions, when I suggested he went on to Signal (and yeah he does understand IT privacy) he acted like I was suggesting he crash his car into a tree.

That’s why I’m writing m


Windows server time sync fix for vmware

August 22nd, 2018


Configure a Windows NTP Client for Network Clock Synchronization
The clocks of all servers on the vSphere network must be synchronized. You can configure a Windows NTP client as a source for clock synchronization on Windows servers.

Use the registry editor on the Windows server to make the configuration changes.

Procedure
1 Enable NTP mode.
a Go to the registry setting HKEY_LOCAL_MACHINE\


MacBook Pro Camera on Fedora

March 6th, 2018


From Mark Knowles – mknowles.com.au – Thanks Mark!
Getting the Camera to Work in Fedora 25 on the Macbook Pro 13″Posted on January 19, 2017 by Mark KnowlesThe Macbook Pro 13″ (otherwise known by the codename MacbookPro12,1), has pretty good Linux support for a Macbook. The hardware is beautiful and everything works now that the camera is supported. Here are the steps needed to make it work


Swap Nautilus to Nemo as Ubuntu 14.04 File Manager

December 18th, 2014


Some people (like me) prefer the old school file manager look to the new Gnome/Ubuntu look. I like having a folder tree in the left pane rather than a bunch of Windows like “Libraries”
It’s a simple set of commands to achieve this.
First make sure you have nemo installed

sudo apt-get install nemo

Then change the defaults to nemo:

xdg-mime default nemo.desktop inode/directory applicat


Steps to install VMware Tools on Kali Linux

December 8th, 2014


Just a quick post. You might have trouble installing VMware Tools on Kali but these steps should fix it all.

echo cups enabled >> /usr/sbin/update-rc.d
echo vmware-tools enabled >> /usr/sbin/update-rc.d
apt-get install gcc make linux-headers-$(uname -r)

ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/li


Perfect Roast Pork and Crackling

December 2nd, 2014


There are a few steps you might not consider when roasting a joint of pork, but they make all the difference.

First up is washing the meat. This is an unusual step, but with pork it removes a lot of the spare fat and juices that would otherwise spoil the taste of the end result.
Secondly dry it afterwards. You want to use a (clean!) tea towel or paper towels to remove all of the water. Par


Missing Kernel Source?

November 1st, 2014


apt-get install linux-headers-`uname -r`


Setting up Epson Printers on Ubuntu 14.04

August 7th, 2014


It seems at the time of writing there is a problem with detecting some Epson printers on the new Ubuntu.

I found the best way to do it is to download the .deb file from the link below and install the driver using any one of Ubuntu’s installers. Then when you try and detect the printer it won’t go online searching for the driver it will already have it and all will be good.

http://download.e