- Web Wormhole https://webwormhole.io/ https://github.com/saljam/webwormhole
- Localsend https://web.localsend.org/
- FilePizza https://file.pizza/
ShareDrop sharedrop.io https://github.com/szimek/sharedrop(SOLD, not recommended, use one of the forks)A clone SnapDrop snapdrop.net https://github.com/RobinLinus/snapdrop(SOLD, not recommended, use one of the forks)- A fork PairDrop https://pairdrop.net/ https://github.com/schlagmichdoch/pairdrop
- ToffeeShare https://toffeeshare.com/
- Instant.io https://instant.io/
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
| // all code in cypress/support/commands.ts | |
| // Convert this file to a module for global namespace declaration | |
| export {}; | |
| declare global { | |
| namespace Cypress { | |
| interface Chainable { | |
| /** | |
| * Custom command to set launchdarkly feature flag values. | |
| * @example cy.updateFeatureFlags({ 'flag-name': false}) |
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 {forwardRef, useImperativeHandle, ForwardRefExoticComponent, RefAttributes, Ref} from "react"; | |
| export type Handle<T> = T extends ForwardRefExoticComponent<RefAttributes<infer T2>> ? T2 : never; | |
| export const Parent = (props: {})=> { | |
| let childHandle: Handle<typeof Child>; | |
| return ( | |
| <div onClick={()=>childHandle.SayHi()}> | |
| <Child name="Bob" ref={c=>childHandle = c}/> | |
| </div> |
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
| # Installing ffmpeg with H265 support | |
| brew tap varenc/ffmpeg | |
| brew install varenc/ffmpeg/ffmpeg --with-fdk-aac --HEAD | |
| # Installing mp4edit tool | |
| brew install bento4 |
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
| // Use the following to load all vue components in a directory. They will be loaded by the `name` attribute. | |
| components: { | |
| ...(() => { | |
| const context = require.context("./components", false, /.*.vue/); | |
| return Object.fromEntries( | |
| context | |
| .keys() | |
| .map(k => context(k).default) | |
| .filter(c => c.name != undefined) |
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
| $ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4 |
When using directives, you often need to pass parameters to the directive. This can be done in several ways. The first 3 can be used whether scope is true or false. This is still a WIP, so validate for yourself.
-
Raw Attribute Strings
<div my-directive="some string" another-param="another string"></div>
