Open with Automator.app and change the custom to yours.
Then, add the shortcut in the Setting -> Keyboard -> Shortcuts -> Services -> General (At the bottom).
import { IconNode, Pause } from 'lucide' | |
import { Image } from '@tarojs/components' | |
import React from 'react' | |
const b64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", | |
// Regular expression to check formal correctness of base64 encoded strings | |
b64re = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/; | |
function btoa(string) { | |
string = String(string); |
import asyncio | |
from typing import ( | |
Any, | |
Awaitable, | |
Generator, | |
Generic, | |
Tuple, | |
TypeVar, | |
Union, | |
) |
Open with Automator.app and change the custom to yours.
Then, add the shortcut in the Setting -> Keyboard -> Shortcuts -> Services -> General (At the bottom).
version: '3' | |
services: | |
postgres: | |
image: postgres | |
rabbit: | |
image: "rabbitmq:latest" | |
ports: | |
- "5672:5672" | |
web: |
#import <Foundation/Foundation.h> | |
#import <Cocoa/Cocoa.h> | |
#import <unistd.h> | |
BOOL copy_to_clipboard(NSString *path) | |
{ | |
// http://stackoverflow.com/questions/2681630/how-to-read-png-image-to-nsimage | |
NSImage * image; | |
if([path isEqualToString:@"-"]) | |
{ | |
// http://caiustheory.com/read-standard-input-using-objective-c |