Mac Archive
xyfix
27 September 2019
Mac
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules Solution : https://stackoverflow.com/questions/47252451/permission-denied-when-installing-npm-modules-in-osx Option 1: Change the permission to npm’s default directory Find the path to npm’s directory: npm config get prefix For many systems, this will be /usr/local WARNING: If the displayed path is just /usr, switch to Option 2 or you will mess up your permissions. Change the owner of npm’s directories to the name of the current user …
xyfix
20 September 2016
Mac
VERSION BUILD=844 RECORDER=CR URL GOTO=https://www.ssm-einfo.my/member/index.php?id=uni SET !EXTRACT_TEST_POPUP NO ‘SET str1 “Econwin” ‘TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:form2 ATTR=ID:search_name CONTENT={{str1}} ‘TAG POS=1 TYPE=INPUT:SUBMIT FORM=NAME:form2 ATTR=NAME:submit ‘The first table is the list of currencies ‘=> Extract data of **2nd** table (POS=2) on page ‘WAIT SECONDS=20 ‘TAG POS=12 TYPE=TABLE ATTR=TXT:* EXTRACT=TXT ‘The SAVEAS statement was added manually to write the extracted table to a file ‘(The alternative way to get …
xyfix
16 September 2015
Mac
How to sort your photo based on GPS location, metadata of the image? This script & tweak will use Google Maps API, Hazel and photos import from your iPhone/smartphone with GPS enabled on that device.
How to make your Mac’s wallpaper change once the Weather is raining? By using a little tweak from Hazel, Dropbox and IFTTT, this cool idea can be done.