Usage:
- Execute the script:
python3 figma-mcp-register.py - Follow its instructions to get the token
- Use the token, e.g. in
opencode.jsonc:
"$schema": "https://opencode.ai/config.json",
Usage:
python3 figma-mcp-register.pyopencode.jsonc:
"$schema": "https://opencode.ai/config.json",
| podman run --pull newer --detach --security-opt label=type:container_runtime_t --replace --device /dev/kfd --device /dev/dri -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama:rocm; podman run --replace --pull newer -d --network=host -v open-webui:/app/backend/data -e OLLAMA_BASE_URL=http://127.0.0.1:11434 --name open-webui --restart always ghcr.io/open-webui/open-webui:main |
| <?php | |
| namespace App\Livewire; | |
| use Livewire\Attributes\Url; | |
| use Livewire\Component; | |
| use WP_Query; | |
| class PostSearch extends Component | |
| { |
| faqih@shinobi:~$ sudo apt-get update | |
| faqih@shinobi:~$ sudo apt-get upgrade | |
| faqih@shinobi:~$ sudo service packagekit restart | |
| faqih@shinobi:~$ sudo apt-get update --fix-missing | |
| faqih@shinobi:~$ sudo apt install software-properties-common | |
| faqih@shinobi:~$ sudo add-apt-repository ppa:ondrej/php | |
| faqih@shinobi:~$ sudo apt update |
| import { defineConfig } from 'vite'; | |
| import laravel from 'laravel-vite-plugin'; | |
| export default defineConfig({ | |
| plugins: [ | |
| laravel({ | |
| input: 'resources/js/app.jsx', | |
| refresh: [ | |
| 'resources/js/app.jsx', | |
| 'front-end-client/src/**', | |
| 'resources/components/react.blade.php', |
| <?php | |
| declare(strict_types=1); | |
| namespace App\DataTransferObjects; | |
| use Carbon\CarbonImmutable; | |
| use Spatie\DataTransferObject\Caster; | |
| class CarbonImmutableCaster implements Caster |
| const webpackCommonConfig = require("./webpack.config"); | |
| const { merge } = require('webpack-merge'); | |
| const TerserPlugin = require('terser-webpack-plugin'); | |
| const MiniCssExtractPlugin = require('mini-css-extract-plugin'); | |
| const { trimEnd } = require('lodash'); | |
| module.exports = merge(webpackCommonConfig, { | |
| mode: 'production', | |
| devtool: 'source-map', | |
| optimization: { |
| /** | |
| * Bootstrap any application services. | |
| * | |
| * @return void | |
| */ | |
| public function boot() | |
| { | |
| Component::macro('notify', function ($message, $title = '', $type = 'success') { | |
| $this->dispatchBrowserEvent('notify', ['message' => $message, 'title' => $title, 'type' => $type]); | |
| }); |
| #### Enable Apache Proxy related modules | |
| sudo a2enmod proxy | |
| sudo a2enmod proxy_http | |
| sudo a2enmod proxy_ajp | |
| sudo a2enmod rewrite | |
| sudo a2enmod deflate | |
| sudo a2enmod headers | |
| sudo a2enmod proxy_balancer | |
| sudo a2enmod proxy_connect |
{