Step 1
Download macOS Installer (InstallAssistant.pkg). Here is the link to Sonoma beta installer:
| // the list is generated by a custom ml agent | |
| export const adjectives = [ | |
| "benevolent", | |
| "charming", | |
| "diligent", | |
| "elegant", | |
| "fantastic", | |
| "graceful", | |
| "humble", | |
| "inquisitive", |
| #!/bin/bash | |
| # convert decimal (0-255) to hexadecimal (00-FF) | |
| function d2h() { printf "%X\n" $1 } |
| /* FROM APPLE.COM */ | |
| @supports ((-webkit-backdrop-filter: saturate(180%) blur(20px)) or(backdrop-filter: saturate(180%) blur(20px))) { | |
| #globalnav.globalnav-scrim, .globalnav-scrim #globalnav { | |
| --globalnav-backdrop-filter: saturate(180%) blur(20px); | |
| --globalnav-background: rgba(251, 251, 253, .8) | |
| } | |
| } | |
| #globalnav.globalnav-scrim.globalnav-dark, .globalnav-scrim.globalheader-dark #globalnav, .globalnav-scrim #globalnav.globalnav-dark, .globalheader-dark #globalnav.globalnav-scrim { |
Step 1
Download macOS Installer (InstallAssistant.pkg). Here is the link to Sonoma beta installer:
| localhost | |
| root * public | |
| encode gzip | |
| php_fastcgi 127.0.0.1:9000 | |
| file_server { | |
| index index.php index.html | |
| } | |
| @static { | |
| file | |
| path *.ico *.css *.js *.gif *.webp *.jpg *.jpeg *.png *.svg *.woff *.woff2 |
| // @url https://t-hamano.github.io/wordpress-icon-list/ | |
| let __download_svgs = () => { | |
| const kebaptize = ( t ) => t.split( "" ).map( ( c, x ) => c === c.toUpperCase() ? `${ x != 0 ? "-" : "" }${ c.toLowerCase() }` : c ).join( "" ); | |
| let svg, file, a, allow = [ "xmlns", "viewBox" ]; | |
| document.querySelectorAll( ".iconlist button" ).forEach( ( btn, x ) => { | |
| a = document.createElement( "a" ); | |
| a.innerHTML = btn.innerHTML; | |
| btn.replaceWith( a ); | |
| svg = a.querySelector( "svg" ); | |
| console.log( x, svg ); |
| /** | |
| * When it was not you who added the EventListeners on a Node... Remove'em all!!! | |
| * | |
| * @param element | |
| */ | |
| const removeAllEventListeners = element => element.outerHTML += ""; |
| const kebaptize = ( t ) => t.split( "" ).map( ( c, x ) => c === c.toUpperCase() ? `${ x != 0 ? "-" : "" }${ c.toLowerCase() }` : c ).join( "" ); |
To merge a git branch into master:
git fetch
git rebase origin/master
git checkout master
git pull origin master
git merge [branch]
git push origin master| # switch php version | |
| function switch_php() { | |
| brew services stop php@7.4 | |
| brew services stop php | |
| brew unlink php@7.4 | |
| brew unlink php | |
| case $1 in | |
| 7.4) | |
| brew services start php@7.4 | |
| brew link php@7.4 |