MoinMoin Logo
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Navigation

  • Start
  • Sitemap

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

Revision 21 as of 2021-02-23 19:47:11
  • AppleMacintosh

Apple Macintosh

The Macintosh marketed as Mac, is a line of personal computers (PCs) designed, developed, and marketed by Apple Inc.

Take a Screenshot

cmd + shift + 3, captures the whole screen to a file on the desktop.

cmd + shift + 4, captures the selected area to a file on the desktop.

cmd + shift + 4 + space, then click on the desired window we wish to capture, then the file is saved to the desktop.

ctrl + cmd + shift + 4, captures the selected area to the clipboard. To paste use cmd+v.

Enable full disk access to terminal (required for systemsetup in Terminal)

  • https://support.apple.com/guide/remote-desktop/about-systemsetup-apd95406b8d/mac

  • Apple
  • System preferences
  • Security and privacy
  • Full disk access
  • add Terminal and sshd

Enable remote login and remote management

  • Apple
  • System preferences
  • Sharing
  • Remote login and Remote management (computer settings, vnc viewers may control screen with password)

   1 systemsetup -getremotelogin
   2 systemsetup -setremotelogin on
   3 ping mac-laptop
   4 sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart \
   5 -activate -configure -access -on \
   6 -clientopts -setvnclegacy -vnclegacy yes \
   7 -clientopts -setvncpw -vncpw ***** \
   8 -restart -agent -privs -all
   9 
  10 sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart \
  11 -deactivate -configure -access -off
  12 # restart Mac 
  13 # debian client 
  14 sudo apt update 
  15 sudo apt install vinagre
  16 ssh -L 5900:127.0.0.1:5900 -C -N -l userMac mac-laptop
  17 vinagre localhost:5900
  18 ssh userMac@mac-laptop
  19 # in Mac
  20 sudo bash
  21 dscl . list /Users
  22 dscacheutil -q user
  23 dscl . -create /Users/userMac
  24 dscl . -create /Users/userMac UserShell /bin/bash
  25 dscl . -create /Users/userMac RealName "User Mac"
  26 dscl . -create /Users/userMac UniqueID 1001
  27 dscl . -create /Users/userMac PrimaryGroupID 1000
  28 dscl . -create /Users/userMac NFSHomeDirectory /Users/userMac
  29 # define password in ********
  30 dscl . -passwd /Users/userMac ********
  31 dscl . -append /Groups/admin GroupMembership userMac
  32 mkdir -p /Users/userMac
  33 cd /Users
  34 chown userMac userMac/
  35 chgrp staff userMac/
  36 ssh userMac@mac-laptop
  37 dscl . -read /Users/userMac
  38 dscl . -delete /Users/userMac
  39 # in Debian
  40 vinagre vnc://mac-laptop

Install nodejs - Ionic test app

  • https://ionicframework.com/docs/v3/intro/deploying/

  • https://ionicframework.com/docs/developing/ios

   1 cd ~/Downloads
   2 wget https://nodejs.org/dist/v14.16.0/node-v14.16.0.pkg
   3 sudo installer -pkg node-v14.16.0.pkg -target /
   4 node -v
   5 npm -v
   6 sudo xcodebuild -license # type agree at the end
   7 # https://ionicframework.com/docs/v3/intro/deploying/
   8 # https://ionicframework.com/docs/developing/ios
   9 cd ~
  10 mkdir IonicTest
  11 npm install @ionic/cli
  12 node_modules/.bin/ionic start IonicTest
  13 #framework angular
  14 #starter template tabs
  15 #integrate capacitor N
  16 #create free ionic account N
  17 cd IonicTest
  18 npm i
  19 npm install @ionic/cli
  20 npm install cordova
  21 npm install cordova-res
  22 node_modules/.bin/ionic cordova plugin add cordova-plugin-advanced-http
  23 npm install @ionic-native/http
  24 # configure xcode
  25 # xcode, preferences, accounts, (+) Apple ID, type apple id, continue, Personal team, quit xcode
  26 node_modules/.bin/ionic cordova platform add ios
  27 node_modules/.bin/ionic cordova platform prepare ios
  28 # create ios simulator
  29 npm install ios-sim native-run
  30 export PATH=$PATH:./node_modules/.bin
  31 node_modules/.bin/ionic cordova build ios
  32 node_modules/.bin/ionic cordova run ios --list
  33 node_modules/.bin/ionic cordova run ios -l --external
  34 # has shown iPod touch - 7th generation - 14.4
  35 
  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01