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
| // ==UserScript== | |
| // @name GitHub Timeline Cleaner | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.1 | |
| // @description Selectively hide bot activities and deployments from GitHub timeline while preserving important information | |
| // @author Ephraim Duncan | |
| // @match https://github.com/*/*/pull/* | |
| // @grant none | |
| // ==/UserScript== |
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
| // ==UserScript== | |
| // @name GitHub Timeline Cleaner | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.6 | |
| // @description Selectively hide bot activities and deployments from GitHub timeline while preserving important information | |
| // @match https://github.com/* | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { |
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
| find . -name "node_modules" -type d -prune -exec rm -rf '{}' + -exec sh -c 'echo "Deleted: $1"' _ {} \; |
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
| test('should be able to create, send and sign a document', async ({ page }) => { | |
| await page.goto('/signin'); | |
| const documentTitle = `example-${Date.now()}.pdf`; | |
| // Sign in | |
| await page.getByLabel('Email').fill(TEST_USER.email); | |
| await page.getByLabel('Password', { exact: true }).fill(TEST_USER.password); | |
| await page.getByRole('button', { name: 'Sign In' }).click(); |
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
| services: | |
| - type: web | |
| name: documenso-app | |
| env: node | |
| plan: free | |
| buildCommand: npm i turbo && npm install --package-lock-only && npm ci && npm run build | |
| startCommand: npx prisma migrate deploy; npm run start | |
| healthCheckPath: /api/health | |
| envVars: |
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 { Image, ScrollView, Text, TouchableOpacity } from "react-native"; | |
| import { View } from "react-native"; | |
| import Container from "../components/Container"; | |
| import { SafeAreaView } from "react-native-safe-area-context"; | |
| import CategoryRow from "../components/CategoryRow"; | |
| import CollectionCard from "../components/CollectionCard"; | |
| import FeatureProducts from "../components/FeatureProducts"; | |
| import HangoutPartyCollection from "../components/HangoutPartyCollection"; | |
| import FontsProvider from "../components/FontsProvider"; | |
| import Recommended from "../components/Recommended"; |
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, { useState } from "react"; | |
| import { | |
| Alert, | |
| Modal, | |
| Text, | |
| Pressable, | |
| View, | |
| SafeAreaView, | |
| } from "react-native"; |
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
| docker run --name postgres-db -e POSTGRES_PASSWORD=docker -p 5432:5432 -d postgres |
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
| psql postgres | |
| CREATE DATABASE databasename; |
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 { useSession } from "next-auth/react"; | |
| import { useRouter } from "next/router"; | |
| export default function WithAuth({ children }: { children: React.ReactNode }): JSX.Element { | |
| const router = useRouter(); | |
| const { data, status } = useSession({ | |
| required: true, | |
| onUnauthenticated() { | |
| router.push("/api/auth/signin"); |
NewerOlder