This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <meta name="viewport" content="width=device-width,initial-scale=1" /> | |
| <title>Simple Tailwind Slide Deck</title> | |
| <!-- Tailwind CDN (quick prototyping) --> | |
| <script src="https://cdn.tailwindcss.com"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| CONSUL_VERSION="1.21.5" | |
| CONSUL_URL="https://releases.hashicorp.com/consul/${CONSUL_VERSION}/consul_${CONSUL_VERSION}_linux_amd64.zip" | |
| INSTALL_DIR="/usr/local/bin" | |
| CONFIG_DIR="/etc/consul.d" | |
| DATA_DIR="/opt/consul" | |
| TEMP_DIR="/tmp/consul-install" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apk add --no-cache curl && mkdir -p /app/storage/maxmind && curl -L -o /app/storage/maxmind/city.mmdb https://ileri.b-cdn.net/GeoLite2-City.mmdb && curl -L -o /app/storage/maxmind/country.mmdb https://ileri.b-cdn.net/GeoLite2-Country.mmdb | |
| INSERT INTO "public"."plans"("id","reference","plan_name","default_price_id","amount","metadata","created_at","updated_at","deleted_at","is_default") | |
| VALUES | |
| (E'4590c0bb-7dc1-4ec0-abef-61eb305059d1',E'prod_RxAyUR2',E'Core',E'price_1R3GcuIuzgc0GU',3000,E'{"deck": {"analytics": {"can_view_historical_sessions": false}}, "updates": {"max_recipients": 300}}',E'2025-03-16 21:27:38.685084+00',E'2024-09-04 13:46:35.612449+00',NULL,TRUE); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { useContext } from "react"; | |
| import { Thread, Pin } from "@cord-sdk/react"; | |
| import SupabaseImplementation from "@/implementations/supabase.implementation"; | |
| import { PinType } from "@/types/collaboration.type"; | |
| import GroupIdContext from "@/context/groupid.context"; | |
| import { Rnd } from "react-rnd"; | |
| const PinComment = (pinData: PinType) => { | |
| const groupId = useContext(GroupIdContext) as string; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import fs from 'fs'; | |
| import path from 'path'; | |
| import { exec } from 'child_process'; | |
| enum KnexMigrationType { | |
| Id = 'uuid', | |
| String = 'string', | |
| Number = 'integer', | |
| Float = 'float', | |
| Array = 'enum', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { container } from 'tsyringe'; | |
| import { RateLimiterRedis } from 'rate-limiter-flexible'; | |
| import httpStatus from 'http-status'; | |
| import ms from 'ms'; | |
| import { ErrorResponse } from '@shared/utils/response.util'; | |
| import { RedisClient } from '@shared/utils/redis/redis-client/redis-client'; | |
| import { RateLimitingConfig } from '@shared/types/general.type'; | |
| const redisClient = container.resolve(RedisClient).get(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| namespace App\Http\Middleware; | |
| use App\Repository\TransactionRepository; | |
| use Closure; | |
| use Illuminate\Http\Request; | |
| use Illuminate\Support\Facades\Cache; | |
| use Illuminate\Validation\ValidationException; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Brimble Runner Deployment | |
| on: | |
| # Triggers the workflow on push or pull request events but only for the main branch | |
| push: | |
| branches: [main] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public function name(): string { | |
| return PaymentMethod::STRIPE; | |
| } | |
| protected function createPaymentIntent(string $setupIntentId, $user, $transaction): array | |
| { | |
| $setupIntent = SetupIntent::retrieve($setupIntentId); | |
| $paymentMethodId = $setupIntent->payment_method; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public async getRepos(installationId: number, { page, limit, q }: any, git: GIT_TYPE = GIT_TYPE.GITHUB) { | |
| page = Number(page); | |
| limit = Number(limit); | |
| const deploymentProvider = DeploymentProvider.getProvider(git); | |
| let data: any; | |
| if (q) { |
NewerOlder