The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,763 other followers

Archive for the ‘Apple’ Category

20 Cool Command Line Tricks for Windows and macOS

Posted by jpluimers on 2019/11/08

After all these years in the field, I still learned new tricks from [WayBack20 Cool Command Line Tricks for Windows and macOS which I have rephrased:

Windows

1) View installed drivers: [WayBack] driverquery

2) Watch Star Wars in ASCII: [WayBacktelnet towel.blinkenlights.nl

3) Save folder trees to disk: tree (I had totally forgotten about this, probably because it leaves out a lot of directories and files)

5) Show your Wi-Fi password [WayBacknetsh wlan show profile SSID key=clear (replace SSID with your network name; use nets wlan show profile to view the network names)

7) Check your laptop’s battery health: [WayBack] powercfg /batteryreport which will be in ” and hit Enter to generate the report, then %HOMEPATH%\battery-report.html

8) View your Windows license key: wmic path softwarelicensingservice get OA3xOriginalProductKey [WayBack]

Mac OS X / macOS / however it is called now

1) Change the default screenshot type: [WayBackdefaults write com.apple.screencapture type JPG (you can also use JP2 (for JPEG2000), PDF, PNG, TIFF and others)

2) Get your Mac to speak to you: use say

3) Add a message to the login screen: sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText "your new text on the logon window" [WayBack]

4) Play Tetris and other classics: start emacs, then press Esc followed by X, type in tetris, pong, snake or solitaire (to exit emacs, press CtrlX followed by CtrlC). There are [WayBack] more emacs games.

5) Get a dictionary definition: run curl dict://dict.org/d:word (where word is what you are after) which uses the [WayBack] dict protocol

6) Keep macOS awake: [WayBack] caffeinate optionally followed by a -t## parameter where ## is the number of seconds to not sleep.

7) Show hidden files: defaults write com.apple.finder AppleShowAllFiles -bool TRUE; killall Finder or use this AppleShowAllFiles script which I had forgotten about writing in the first place.

10) Add Spaces to the Dock: defaults write com.apple.dock persistent-apps -array-add ‘{”tile-type”=”spacer-tile”;}’; killall Dock running the command as many times as you want spaces. To get rid of a space you’ve added, just drag them to the Trash.

–jeroen

via: [WayBack] 20 Cool Command Line Tricks for Windows and macOS http://flip.it/SvcQlu – Joe C. Hecht – Google+

Posted in *nix, *nix-tools, Apple, cURL, Power User | Leave a Comment »

TestDisk, Data Recovery; free and open source

Posted by jpluimers on 2019/10/28

Interesting tool that I needed one day to figure out how to recover from a certain NTFS partition having become RAW [Archive.is/WayBackTestDisk, Data Recovery:

TestDisk is powerful free data recovery software! It was primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software: certain types of viruses or human error(such as accidentally deleting a Partition Table). Partition table recovery using TestDisk is really easy.
TestDisk can
  • Fix partition table, recover deleted partition
  • Recover FAT32 boot sector from its backup
  • Rebuild FAT12/FAT16/FAT32 boot sector
  • Fix FAT tables
  • Rebuild NTFS boot sector
  • Recover NTFS boot sector from its backup
  • Fix MFT using MFT mirror
  • Locate ext2/ext3/ext4 Backup SuperBlock
  • Undelete files from FAT, exFAT, NTFS and ext2 filesystem
  • Copy files from deleted FAT, exFAT, NTFS and ext2/ext3/ext4 partitions.
TestDisk has features for both novices and experts. For those who know little or nothing about data recovery techniques, TestDisk can be used to collect detailed information about a non-booting drive which can then be sent to a tech for further analysis. Those more familiar with such procedures should find TestDisk a handy tool in performing onsite recovery.

–jeroen

Posted in *nix, Apple, Mac, Mac OS X / OS X / MacOS, Power User, Windows | Leave a Comment »

Setting Up a New Mac: Should You Migrate or Do a Clean Installation? | The Mac Security Blog

Posted by jpluimers on 2019/10/07

Interesting read: [WayBackSetting Up a New Mac: Should You Migrate or Do a Clean Installation? | The Mac Security Blog

–jeroen

Posted in Apple, iMac, Mac, Mac OS X / OS X / MacOS, Mac OS X 10.4 Tiger, Mac OS X 10.5 Leopard, Mac OS X 10.6 Snow Leopard, Mac OS X 10.7 Lion, MacBook, MacBook Retina, MacBook-Air, MacBook-Pro, MacMini, macOS 10.12 Sierra, OS X 10.10 Yosemite, OS X 10.11 El Capitan, OS X 10.8 Mountain Lion, OS X 10.9 Mavericks, Power User | Leave a Comment »

How to start up your Mac in Internet Recovery Mode

Posted by jpluimers on 2019/09/13

When all else fails: [WayBackHow to start up your Mac in Internet Recovery Mode.

Command-Option-R is one of the plethora of keyboard tricks you can use during boot:

Some Mac features are available by holding down certain keys during startup.

[WayBackStartup key combinations for Mac – Apple Support

 

Hold during startup Description
Shift ⇧ Start up in Safe Mode.
Option ⌥ Start up to Startup Manager.
C Start up from a bootable CD, DVD, or USB thumb drive (such as OS X install media).
D Start up to either Apple Hardware Test or Apple Diagnostics, depending on which Mac you’re using.
Option-D Start up to either Apple Hardware Test or Apple Diagnostics over the Internet.
N Start up from a compatible NetBoot server.
Option-N Start up from a NetBoot server using the default boot image.
Command (⌘)-R Start up from OS X Recovery.
Command-Option-R Start up from OS X Recovery over the Internet.
Command-Option-P-R Reset NVRAM. Release the keys after you hear the startup sound again.
Command-S Start up in single-user mode.
T Start up in target disk mode.
X Start up from an OS X startup volume when the Mac would otherwise start up from a non-OS X startup volume.
Command-V Start up in verbose mode.
Eject (⏏), F12, mouse button, or trackpad button Eject removable media, such as an optical disc.

Read the rest of this entry »

Posted in Apple, Mac, Mac OS X / OS X / MacOS, MacBook, MacBook Retina, MacBook-Pro, OS X 10.11 El Capitan, OS X 10.9 Mavericks, Power User | Leave a Comment »

Early version of Apple II Logo. · PDP-10/its-vault@4145dea · GitHub

Posted by jpluimers on 2019/09/04

[WayBack] Early version of Apple II Logo. · PDP-10/its-vault@4145dea · GitHub:

Early version of Apple II Logo.

Written by:
- Stephen L. Hain
- Patrick G. Sobalvarro
- Leigh L. Klotz

Brows the source files at [WayBack] its-vault/files/aplogo at master · PDP-10/its-vault · GitHub.

Via Lars Brinkhoff – Google+ commenting at [WayBack] This week, Logo on the 6502, in honour of Seymour Papert who died this week. He did a lot more, but Logo is a lasting and perhaps most visible contribut… – mos6502 – Google+.

Instructions at [WayBack] its-vault/usage.doc at master · PDP-10/its-vault · GitHub

–jeroen

Posted in //e, Apple, Apple ][, Development, Power User, Software Development | Leave a Comment »

 
%d bloggers like this: