Here is easy steps to try Windows 10 on ARM or Ubuntu for ARM64 on your Apple Silicon Mac. Enjoy!
NOTE: that this is current, 10/1/2021 state.
- Install Xcode from App Store or install Command Line Tools on your Mac
| import { segments as s } from '@code-quest/summoner/test'; | |
| import { render, screen } from '@testing-library/react'; | |
| import userEvent from '@testing-library/user-event'; | |
| import { useEffect, useRef } from 'react'; | |
| import { describe, expect, it } from 'vitest'; | |
| import { createFakeClaude } from '../../test/fake-claude'; | |
| import { useChannelCompose } from '../channel'; | |
| import { ChannelProvider } from '../channel/ChannelContext'; | |
| import { PluginProvider } from '../PluginContext'; | |
| import { SessionProvider } from '../SessionContext'; |
| <?php | |
| /** | |
| * PHPUnit Bootstrap File for WordPress Plugin Testing | |
| */ | |
| // Load Composer autoloader | |
| require_once dirname(__DIR__).'/vendor/autoload.php'; | |
| // Load WordPress test framework functions |
| <?php | |
| namespace App\Services; | |
| use Illuminate\Contracts\Auth\Authenticatable; | |
| use Illuminate\Contracts\Container\Container; | |
| use Illuminate\Http\JsonResponse; | |
| use Illuminate\Http\Request; | |
| use Illuminate\Routing\Route; | |
| use Illuminate\Support\Facades\Route as RouteFacade; |
| import { titleCase } from './utils'; | |
| describe('utils', () => { | |
| describe('title case', () => { | |
| it('NoNamespace -> No Namespace', () => { | |
| expect(titleCase('NoNamespace')).toEqual('No Namespace'); | |
| }); | |
| it('noNamespace -> No Namespace', () => { | |
| expect(titleCase('NoNamespace')).toEqual('No Namespace'); |
| # Based on https://gist.github.com/bastibe/c0950e463ffdfdfada7adf149ae77c6f | |
| # Changes: | |
| # * Instead of overriding cd, we detect directory change. This allows the script to work | |
| # for other means of cd, such as z. | |
| # * Update syntax to work with new versions of fish. | |
| # * Handle virtualenvs that are not located in the root of a git directory. | |
| function __auto_source_venv --on-variable PWD --description "Activate/Deactivate virtualenv on directory change" | |
| status --is-command-substitution; and return |
| import axios from 'axios' | |
| const MAX_REQUESTS_COUNT = 5 | |
| const INTERVAL_MS = 10 | |
| let PENDING_REQUESTS = 0 | |
| // create new axios instance | |
| const api = axios.create({}) | |
| /** |
Here is easy steps to try Windows 10 on ARM or Ubuntu for ARM64 on your Apple Silicon Mac. Enjoy!
NOTE: that this is current, 10/1/2021 state.
| <?php | |
| namespace App\Filament\PageTemplates; | |
| use Filament\Forms\Components\Repeater; | |
| use Filament\Forms\Components\RichEditor; | |
| use Filament\Forms\Components\TextInput; | |
| final class Faq | |
| { |
| #!/bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: dockercompose | |
| # Required-Start: $docker | |
| # Required-Stop: $docker | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Docker Services | |
| ### END INIT INFO |