USB
USB types are getting very confusing now, next time I will just look for Thunderbolt 4. https://fabiensanglard.net/nousb/index.html
USB types are getting very confusing now, next time I will just look for Thunderbolt 4. https://fabiensanglard.net/nousb/index.html
This game Aaronson Oracle can predict your next choice (left key or right key), with a 70% average correct rate. We are not that random after all. https://roadtolarissa.com/oracle/ ref: https://news.ycombinator.com/item?id=25332641
Say you have a big file and you want to zip it up into a few smaller files, (coz email attachment has size limit), here is how you do it. zip -s 5m file.zip myBigFile.mov That cmd will create these files with file size capped at 5mb file.z01 file.z02 file.z03 ... file.zip To get your original file back, install 7zip. brew install p7zip Then run the following to extract your original file(s) back ...
Open a terminal and run the following command. sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'select LSQuarantineDataURLString from LSQuarantineEvent' If that’s alarming, you can add the following line to your .bash_profile file to clean up the history from time to time. sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'delete from LSQuarantineEvent' Ref: https://osxdaily.com/2012/07/12/list-download-history-mac-os-x/
This is a fun way to learn css flexbox in a tower-defense game. http://www.flexboxdefense.com/
First select a whole row, then do Opt Cmd =. That’s option key, command key, and the equal sign key. I am using Chrome on osx. There are more shortcuts from this post: https://webapps.stackexchange.com/questions/44607/shortcut-to-insert-new-row-in-google-spreadsheets
Photoshop in a web browser, pretty amazing! https://www.photopea.com/
There is no output, no errors, no nothing. It just sits there. Maybe related to this, who knows? https://github.com/Homebrew/brew/issues/3285 So I reinstalled brew. /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" But then the install process is stuck at this line ==> /usr/bin/sudo /usr/bin/xcode-select --switch /Library/Developer/CommandLineTools After some googling, apparently it’s caused by some combination of osx and xcode, see here: https://github.com/nodejs/node-gyp/issues/569. So I ran the following to fix the issue. sudo xcode-select -s /Applications/Xcode.app/Contents/Developer But then after Ctrl-C and reinstall brew, I got stuck at another line, seems like it did a git reset HEAD but stuck right after. ...
Nowadays with all these javascript frameworks if you just do a view page source, you will only get the skeleton app div with a bunch of script tags. To see the expanded real page source, type in the following in the web console. copy(document.querySelector('html').outerHTML) That will copy the computed dom to your clipboard, then you just need to paste it to your text editor. You will see all the other dom nodes which the js files added to the app div. ...