This post describes the process for setting up macOS to read and store email locally –without deleting it from the remote server. The downloaded email can be read with a local application like Alpine.
The process goes like this:
fetchmail pulls emails from gmail fetchmail hands the emails to postfix for local delivery use alpine to read our locally delivered email use alpine to write an email, which uses postfix to relay it via gmail we can use sendmail for any other application that requires us to send emails Configuring the hostname From the Apple menu, open System Settings, and look for hostname.
A quick post on how to install bash on macOS to replace zsh.
Why did Apple stop shipping with bash? Licenses. The older version of Bash was licensed under GPLv2, while newer versions are licensed under GPLv3.
Installing bash Run the following command to install bash:
1brew install bash 2/opt/homebrew/bin/bash --version Add the newly installed shell to /etc/shells
1sudo vi /etc/shells # List of acceptable shells for chpass(1). # Ftpd will not allow users to connect who are not using # one of these shells.
Installing PHP/MongoDB extension is a two steps task on OSX:
Install the autoconf tool required for compiling the extension Install the Mongo extension You have to install autoconf in order to avoid the following error:
1Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script. 2 3ERROR: `phpize’ failed Enough talk, hands on work…
Step 1. Install the autoconf tool Download the latest source version:
Learning how to create a Makefile is one of those tasks every C/C++ programmer has to do. Since there are many good make tutorials on the web, I’m only going to share a simplistic makefile that you can use for your projects.
CFLAGS=-c -Wall -Iinclude LDFLAGS=-lPocoFoundation -lPocoData SOURCES=a.cpp b.cpp main.cpp OBJECTS=$(SOURCES:.cpp=.o) VPATH=src all: pre $(OBJECTS) g++ $(OBJECTS) -o build/main $(LDFLAGS) .cpp.o: g++ $(CFLAGS) $< -o $@ pre: mkdir -p build clean: rm -Rf build rm -f *.
I got an HP LaserJet P1102w about a year ago, so long before I thought I was going to get an Apple’s iOS device. I purchased it just because I thought it would be useful to have a printer that could work wirelessly.
At that time I made it work using wireless, but for some reason it stopped working. I didn’t care because it was very simple to connect it via USB to my computer and get my stuff done.
Show User ~/Library in OS X Lion Launch Terminal from Spotlight or Launchpad > Utilities, and enter the following command to show the directory:
``
chflags nohidden ~/Library/ The users Library folder will immediately become visible. Reverting this back to the standard Lion setting is simple too:
Hide User ~/Library in OS X Lion (default setting) This returns to the default setting of hiding the user Library directory:
``