Some parts taken from: https://gist.github.com/kujohn/7209628
ipfw is officially deprecated and removed in OS X Yosemite. Pow requires another program pf to handle the port forwarding.
Create file /etc/pf.anchors/pow
| sudo cp /private/etc/php.ini.default /private/etc/php.ini; | |
| sudo php /usr/lib/php/install-pear-nozlib.phar; | |
| pear config-set php_ini /private/etc/php.ini; | |
| pecl config-set php_ini /private/etc/php.ini; | |
| sudo pear upgrade-all; | |
| sudo pear install PHP_CodeSniffer; | |
| ---- | |
| nano /private/etc/php.ini; | |
| include_path Zeile einkommentieren & umändern in: |
| <?php | |
| function base64url_encode($data) { | |
| return rtrim(strtr(base64_encode($data), '+/', '-_'), '='); | |
| } | |
| function base64url_decode($data) { | |
| return base64_decode(str_pad(strtr($data, '-_', '+/'), strlen($data) % 4, '=', STR_PAD_RIGHT)); | |
| } |
Some parts taken from: https://gist.github.com/kujohn/7209628
ipfw is officially deprecated and removed in OS X Yosemite. Pow requires another program pf to handle the port forwarding.
Create file /etc/pf.anchors/pow
| <!doctype html> | |
| <html class="no-js" lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Foundation | Welcome</title> | |
| <link rel="stylesheet" href="css/foundation.css" /> | |
| </head> | |
| <body> | |
| <div class="row"> |
| "use client"; | |
| /* eslint-disable @next/next/no-img-element */ | |
| import Link from "next/link"; | |
| import { useState, useEffect } from 'react'; | |
| import { | |
| AppBskyFeedDefs, | |
| AppBskyFeedPost, | |
| type AppBskyFeedGetPostThread, | |
| } from "@atproto/api"; |