HTTP Server on iPad via iSH →

December 9, 2018 · 07:09

Dandy Weng:

It’s definitely mind-blowing that you can set up a simple HTTP server on your iPad. All I need now is a more sophisticated Files integration so I can copy files into @iSH and edit them with another app to do some real work! Huge shout out to @tblodt.

iSH is amazing but… this shouldn’t be mind-blowing. iOS is 8 years old and based on MacOS — we should have been able to do this years ago (without jailbreaking).


How to Install Python3 via Homebrew on macOS

July 20, 2018 · 12:25

I just had to install Python 3 on both Macs and the whole process had some issues, so this is what I had to do to get everything running correctly:

  • I assume you already have Homebrew installed; if not then follow the instructions here and then run the following commands…
  • brew update
  • brew upgrade
  • sudo mkdir -p /usr/local/Frameworks
  • sudo chown -R $(whoami) /usr/local/* if using bash or sudo chown -R (whoami) /usr/local/* for fish
  • brew install python3
  • brew link python3
  • brew doctor

That’s it.


How to Avoid Clipboard Poisoning Attacks on the Mac →

June 4, 2016 · 14:56

Thomas Reed:

Graham Cluley drew my attention the other day to an issue that has apparently been known to some for years, but was new to me: clipboard poisoning, an issue where a website can replace what you think is on your clipboard with something else (…)

It turns out that there’s a possibility that this could lead to remote code execution. In other words, it could lead to someone else’s malicious code being run on your computer without your knowledge!

Once malicious code has been run on your computer, that code can download and install other processes, and in no time, your Mac has been pwned.

The key to this issue lies with any code that the user might copy from a website, then copy somewhere else in such a way that it is automatically executed. It turns out that this is possible with shell scripts pasted into the Terminal.

As an example, consider the following command, which is commonly cited as a way to make your Mac show hidden files:

defaults write com.apple.finder AppleShowAllFiles TRUE; killall Finder

Read his full post for tips how to keep yourself safe.

via @qurczaq


OS X – Choose Between the Character Accents Popup
and Key Repeat When Holding Down a Key

January 4, 2016 · 22:18

Apple introduced an iOS feature to OS X some years back changing the behaviour of the keyboard. Traditionally, if a key was held down, the letter would start repeating itself on screeeeeeeeeen. This was changed to a popup which displayed various non-standard characters. I was never a fan of this, even though it does indeed simplify finding accented letters. This cannot be changed through System Preferences, but a quick visit to the Terminal can sort things out.

Continue reading →