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 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 |