Tag Archives: mac

The use of MAC Desktop tiktok Goose pet goose

GooseDesktop is a fun desktop pet app that allows users to see a goose running around the screen.
douyin table pet goose Mac version how to use
Double click the application
to open it again to display the Settings window
. In the Settings window, you can either:
to change Settings
to exit the Desktop Goose (type killall “Desktop Goose” and press enter) or click the Settings “Quit Desktop Goose”
to open the Memes and Notes folder

Douyin Table pet goose Mac version technical description

module stored in ~/Library/Containers/net. Namedfork. Desktop chicago-brewed Goose/Data/Library/Application Support/Desktop chicago-brewed Goose/Memes.
is filled with built-in modules on the first run, but you can put more memes (GIF, PNG, JPG, and so on) in it.

note the Notes stored in ~/Library/Containers/net. Namedfork. Desktop chicago-brewed Goose/Data/Library/Application Support/Desktop chicago-brewed Goose/Notes /.
is populated with built-in comments the first time it runs, but you can put more comments here (as a TXT file).
Settings
to open the Settings window, double-click the icon again after the application runs.
can also change the Settings of the terminal using the default command. Here are the Settings and their default values:
CanAttackAtRandom: NOMinWanderingTimeSeconds: 20 maxwanderingtimeseconds: 40 firstwandertimeseconds: 20 framerate: 60 soundvolume: 1 – (use values between 0 and 1) UseCustomColors: NOGooseWhite: #ffffffGooseOrange: #ffa500GooseOutline: #d3d3d3GooseEye: #000000GooseMud: #8b4513
For example, to frame rate down to 30:
defaults write net. Namedfork. DesktopGoose FrameRate 30
let goose red:
defaults write.net. Namedfork. DesktopGoose GooseWhite “# ff0000”
defaults write net. Namedfork. DesktopGoose UseCustomColors – bool YES
quieted goose:
defaults write.net. Namedfork. DesktopGoose SoundVolume 0
changes will take effect immediately, without having to restart the Desktop chicago-brewed Goose.
application scripting
desktop goose for Mac can script with AppleScript. Drag the application to the script editor to see what is supported.
some examples you can do:
tell app “Desktop Goose” to collect meme “Meme4.png”
tell app “Desktop Goose” to collect meme “https://i.redd.it/4bamd6lnso241.jpg”
tell app “Desktop Goose” to wander
tell app “Desktop Goose” to nab mouse
tell app “Desktop Goose” to collect note “Honk from AppleScript” title “HoNK”

How to open an app from an unidentified developer

How to open an app from an unidentified developer
You can run apps that you’ve downloaded directly from the internet that aren’t registered with Apple. You just have to give the OK.

    After downloading an app from an unidentified developer, drag it to the Applicationsfolder. Select the app and right or control-click.   Click on Open. Click on Open again to confirm you want to complete the action.

Opening an app from unidentified developer with a right or control-click overrides Gatekeeper for that specific app. From now on, you’ll always be able to open it without having to go through the process again.
How to reinstate the Anywhere setting in Gatekeeper
If the thought of having to right or control-click to open apps from unidentified developers seems arduous and tiresome, you can turn back time with Gatekeeper and bring back the ability to open apps from anywhere. All it takes is a bit of coding in Terminal.

    Close System Preferences on your Mac. Open Terminal. Type the following command: sudo spctl –master-disable Hit enter on your keyboard. Enter your administrator password. Hit enter on your keyboard.

Gatekeeper’s “Anywhere” setting will now be restored. It will also be selected by default. You can confirm the changes by opening System Preferences and selecting Security & Privacy.

If you ever want to enable the macOS Sierra Gatekeeper settings again, type sudo spctl –master-enable into Terminal.

Free dynamic screen capture drawing tool under MAC: KAP

preface
If you want to take live screenshots on your MAC, here’s a free tool: KAP.
The address of the project: https://github.com/wulkano/Kap
download
1) homebrewCask installation (not recommended)
brew cask install kap
2) official website release
https://github.com/wulkano/kap/releases
3) My network disk sharing (fast and permanent)
Link: https://pan.baidu.com/s/1YGZ8p5HHN3Xsnp4dY-0a9A password: ficg
The installation
Double-click DMG to install directly
use
1. Click Kap in the docking station

2. Click the KAP icon in the top taskbar

3. After the mouse becomes a cross, hold down and drag to select the range

5. After selecting the range, click the red circle button above to start recording the screen.
6. After recording, click the KAP icon (circle) in the top menu bar.
7. As shown in the figure below, you can choose to Export to GIF format. Click Export and select save path

 

Blogger: Test to make money
Motto: Focus on testing and automation, to improve the efficiency of RESEARCH and development; Through the test to complete the original accumulation, through reading financial management toward financial freedom.
csdn:https://blog.csdn.net/ccgshigao
Garden: blog https://www.cnblogs.com/qa-freeroad/
51 cto:https://blog.51cto.com/14900374

 

Mac — Open keyboard F1 – F12 function key

1. Enter system preferences
2. Keyboard
3. Select the option “use F1, F2, etc. as standard function keys…” After setting
, the original function key can be implemented by holding fn+F1 ~ F12
Some functions in F1 ~ F12 are often used in the development of IDEA, so it is convenient to set up the development



Completely uninstall node and NPM on MAC

NVM is installed under ~/. NVM is not installed with the previous one. I am a little obsessive, so I want to uninstall the previous one
Homebrew installed

brew uninstall node
The official website downloads the PKG installation package
A command
sudo rm - rf/usr/local/{bin/{node, NPM}, lib/node_modules/NPM, lib/node, share/man/*/node. *}
It was installed in another way
Make a script, the need to delete the file, a shuttle all kill
It will be called: uninstallNode. sh

#!/bin/bash
lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom \
| while read i; do
  sudo rm /usr/local/${i}
done
sudo rm -rf /usr/local/lib/node \
     /usr/local/lib/node_modules \
     /var/db/receipts/org.nodejs.*

Modify file permissions chmod 777 uninstallnodejs.sh
is executed on the command line
When you're done deleting all that stuff, you're done deleting node.
but there are a lot of node-based installed software and command-line tools that need to be reinstalled, such as react-native, supervisor,pm2 etc
need to delete the files under /usr/local/bin, actually they are just soft connections, it's all under /usr/local/lib/node_modules/.
was removed in the previous step, but you can still find it by pressing the TAB key because these soft connections still exist

Install and run phantomjs on MAC

Maybe it’s too easy?There are no tramp tutorials on Search.com.

Search phantomjs on your MAC and get the following method:

Download Phantomjs.zip and unzip. Bin/Phantomjs is directly available.

Or it can be installed through Homebrew

brew update & & brew install phantomjs

Or install via MacPorts

sudo port selfupdate & & sudo port install phantomjs

These are the three ways to do it, and they all make a dent.

Let’s start with the method that will ultimately make my installation a success: using Homebrew.

What is Homebrew?

The Missing Package Manager for OS X (The indispensable Package Manager for OS X)

Installation:

It is very simple to execute the command line directly from the MAC terminal

The/usr/bin/ruby – e “$(curl – fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”

Testing:

Enter BREW – V to see the version number, indicating a successful installation.

Install phantomjs:

Type BREW Update (I didn’t enter it, the next install will automatically help me update.)

Wait until the update is complete before typing
Brew Install Phantomjs. Installed successfully! Enter the PhantomJs-V view number to confirm.

A simple hello. Js:

console.log(“Hello,world!” );

phantom.exit();

Run:

The directory where the JS file is running on the CD

Phantomjs hello. Js

Output Hello, world!

Solution to Apple Wireless Mouse, keyboard or touchpad can not be recognized by MAC

How to solve the problem that apple’s wireless mouse, keyboard, or trackpad cannot be recognized by the Mac?Macw small series to solve the Apple wireless mouse, keyboard or trackpad can not be recognized by the Mac, I hope to help you!
The device is not recognized by the Mac
If your mouse, keyboard, or trackpad is not recognized by the Mac, follow these steps
Make sure the wireless mouse, keyboard, or trackpad is turned on and there is a slide switch at the bottom of both The Magic mouse and The Magic Mouse 2. Please slide this switch to turn on the device. On the wonderful control mouse, the green LED indicator light will be briefly on. On Miaocontrol mouse 2, the lower part of the switch will be green. Miaoke keyboard, Miaoke keyboard with numeric keypad and Miaoke Pad 2 all have a sliding switch on the back edge. Please slide this switch to turn on the device (it will be green). Early Models of Apple’s wireless keyboard had a power button on the right. Press this button and a green LED indicator light (located next to the button) will appear on the top of the device. When these devices are enabled, they will appear as connected in the Bluetooth section of System Preferences and in the Bluetooth menu of the menu bar. If the device does not appear in either location, make sure it has been charged or replaced, and that it has been paired with the Mac.
Make sure the device is set up to work with the Mac
Mio Keyboard, Mio Keyboard with numeric keypad, Mio Pad 2, and early Apple wireless models work with the Mac.
Make sure the Bluetooth is on
Use Mac laptop’s built-in trackpad or USB mouse to select apple () menu & gt; System Preferences. Then select Bluetooth and make sure it is enabled.
Make sure the device is charged
Miaoke keyboard, Miaoke keyboard with numeric keypad and Miaoke Pad 2 are all equipped with built-in rechargeable batteries. You can connect these devices to a Mac, or use a lightning to USB cable to connect to a USB power adapter to charge them. To achieve the fastest battery charging performance, be sure to turn the device on after connecting the lightning to USB cable. To check the battery life of these devices, click the Bluetooth icon in the Mac menu bar and select the device by name. If the battery of any device is low, please charge the device. If the device is not displayed, make sure to turn on the device as listed above.
Close and restart the device
If your Mac still doesn’t recognize the Apple wireless mouse, keyboard, or trackpad after following these tips, try turning off the wireless device, waiting for a moment, and then restarting it.

Box mount Cody_ How to listen to Pandora in Cody

Box mount Cody

Sometimes you just want to fire up Pandora on your stereo, without having to plug in your phone or enable Bluetooth. If you’re a Kodi user, You’ve probably wondered if there’s a Pandora addon for your home theater PC.
Sometimes, you just want to launch Pandora on stereo without having to plug in your phone or enable Bluetooth. If you are a Kodi user, you may want to know if your home theater PC has a Pandora add-on.
Sadly, there isn’t one in the official Repository. But that doesn’t mean you can’t use Pandora in Kodi: based on what is important and based on what is important. It just means you need to do some digging. An addon named Pandoki does the job admirably. Here’s how to set it up.
Unfortunately, none of the official repositories exist. But that doesn’t mean you can’t use Pandora in Kodi: it just means you need to do some digging. An add-on called Pandoki does this job nicely. The setup is as follows.
How to Install Pandoki in Kodi
First, head to this Thread on the Official Kodi Forum and download the “Repo Download”, so you can get Automatic Updates later. Next, Open Kodi and Head to Settings > Addons, and make sure that “Unknown Sources” is enabled.
First, visit the topic at the official Kodi forum and download a “buyback download” so that it can be automatically updated later. Next, open Kodi and go to Settings & GT; “Add-ons” and make sure unknown Sources are enabled.

With that done, we can head to Addons on the home screen, then select “Install from zip file.”
Once this is done, we can go to the plug-in on the home screen and select install from zip file.

Browse your hard drive until you find the ZIP file you downloaded earlier, then select it.
Browse the hard drive until you find the ZIP file you downloaded earlier, then select it.

Wait for the Repository to install, then head to “install from repository.”
Wait for the repository to install, then go to “Install from the repository.” ”

The plugin you’re looking for is in The “gominoa” repository, which you just installed. You’ll find it under “Music addons.”
The plug-in you are looking for is located in the ‘Gominoa’ repository that you just installed. You can find it under The Music Plugin.

Install that add-on and we’re just about ready to get started. You’ll first need to open the add-on’s Settings to enter your Pandora username and password.
With the add-on installed, we are ready to begin. First, you need to open the plug-in’s Settings to enter your Pandora user name and password.

If you’re a Pandora One subscriber, make sure you also toggle that option.
If you are a Pandora One subscriber, be sure to switch this option as well.
How to Use Pandoki in Kodi
Open up Pandoki and you will see all of your Pandora stations.
Open Pandoki and you’ll see all the Pandora stations.

Select a station and playback will begin.
Select a station and play it.

Everything takes place within Kodi’s default interface, meaning navigation is easy. If you want to hear a song again, you can: just head back to that song and select it.
Everything is done in Kodi’s default interface, which means navigation is very easy. If you want to listen to a song again, you can: just go back to that song and select it.
And that’s about it! There are a few things you can configure in the add-on’s Settings, including what order your channels show up in and how many songs show up in a given playlist, but for the most part this is very straightforward. Enjoy listening to your radio on your stereo.
That’s it! You can configure several things in the plug-in’s Settings, including the order in which channels are displayed and the number of songs displayed in a given playlist, but in most cases, this is very simple. Appreciate the stereo.

Translated from: https://www.howtogeek.com/286995/how-to-listen-to-pandora-in-kodi/

Box mount Cody

The software of Final Cut Pro x 10.5 failed to open, and it flashed back directly.


Final Cut Pro X 10.5 software failed to open, and the problem of flash back was directly caused.


if the Final Cut Pro exits unexpectedly when using ‘****’ plug-in, please go to ‘/Library/ plug-ins /FxPlug’ folder and delete the corresponding ‘****. FxPlug’ folder.
This easily solves the problem of still not opening the software after installing FCPX

**** refers to the source of the application for your plug-in. For example, Lock is the name of the application for Lock & Load FCP X.fxplug

Solution: open the terminal; Enter the above command, ‘sudo xattr-d com.apple. email /Applications/ XXXX. App’, note that ‘/Applications/ XXXX. App’ can be replaced with your corresponding APP address

Installing Vue devtools under mac

A, download
Go to the official Vue DevTools home page at GitHub. Because downloading directly from the Chrome app store requires over the wall.
the official address: https://github.com/vuejs/vue-devtools.git
Install the NPM package, the dependency package required by the project
Go to the directory where you downloaded the Vue-devtools-dev folder and enter the following code from the command

   npm install

Edit project files

  npm run build

Iv. Modify Persistent
Shells -> enter under the vue-devtools-dev folder. chrome -> Manifest.json, find Persistent, and change its value to true

Add to Chrome
1. Open the chrome extensions page, and make the following extensions available:
– chrome://extensions/
– more tools L – extensions (E)

The server just without updating PID file and can’t connect to local MySQL server through socket are solved

1. Report an error when logging into mysql

$ mysql -u root -p
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

This error occurs because MySQL has not been started. To verify this guess, you can turn on the activity monitor and search mySQld, which cannot be found. Since I took the screenshot after fixing the problem myself, the mySQld process was already started when I searched.

Or type a command to view mysql.server Status

$ mysql.server status
/usr/local/mysql/support-files/mysql.server: line 365: pidof: command not found
 ERROR! MySQL is not running

As you can see, MySQL is not running. Since MySQL isn’t running, we definitely need to start MySQL.
Second, MySQL startup also reported an error

$mysql.server start
Starting MySQL
. ERROR! The server quit without updating PID file (/usr/local/var/mysql/XXXX.local.pid).

The boot report is wrong, is the permission not enough?So first change the permissions of /usr/local/var/mysql

sudo chown -R _mysql:mysql /usr/local/var/mysql

Once the permissions are resolved, test it with SUdo and restart it
3. Start sudo

$ sudo mysql.server start
Password:
Starting MySQL
.. SUCCESS! 

Surprisingly, MySQL started successfully, and then logged in again

$ mysql -u root -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2
Server version: 5.7.21-log Homebrew

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

Summary: The problem of Can’t connect to local MySQL Server through socket is caused by MySQL not being started. The Server Quit without updating The PID file is due to permissions problem, which is solved and The first problem is solved accordingly.
Of course, due to different environment configuration and different installation methods, there will be some differences in the solution, but the cause of the problem should be the same. I am a Mac, homebrew installed mysql, through this method, successfully solved the problem.
Refer to the information on StackOverflow:
MySql server startup error ‘The server quit without updating PID file ‘
For a newbie: ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock’