View Canary Ortho.tfl
This file contains 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
{ | |
"id": "custom-cc37d55a-4b1f-4a3c-9f49-6f3e0cd15520", | |
"name": "Canary (Ortho)", | |
"description": "https://github.com/Apsu/Canary#ortho", | |
"version": 1, | |
"keys": { | |
"Digit1": { | |
"default": { | |
"base": "1", | |
"shift": "!" |
View postgresql-encrypt-decrypt.sql
This file contains 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
CREATE OR REPLACE FUNCTION encrypt_field() | |
RETURNS TRIGGER | |
AS $func$ | |
BEGIN | |
IF PGP_SYM_ENCRYPT(NEW.encrypted_field, 'the-password-here')::text != OLD.encrypted_field::text THEN | |
NEW.encrypted_field := PGP_SYM_ENCRYPT(NEW.encrypted_field, 'the-password-here')::text; | |
END IF; | |
RETURN NEW; | |
END | |
$func$ |
View cli-key-input.php
This file contains 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 | |
$mappings = [ | |
82 => [ | |
'key' => 'R', | |
'message' => 'Redownloading all pages...', | |
], | |
114 => [ | |
'key' => 'r', | |
'message' => 'Redownloading all pages...', |
View style.css
This file contains 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
body { | |
margin:40px auto; | |
max-width:650px; | |
line-height:1.6; | |
font-size:18px; | |
color:#444; | |
padding:0 10px; | |
background: #EEE; | |
} |
View next.sublime-project
This file contains 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
Show hidden characters
{ | |
"folders": [ | |
{ | |
"file_exclude_patterns": [ | |
".gitkeep", | |
"*.min.*", | |
"*.ts.snap", | |
"*lock*" | |
], | |
"folder_exclude_patterns": [ |
View bitbucket-pipelines.yml
This file contains 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
# You can run the pipeline image locally using the following command: | |
# docker run --platform linux/amd64 -it --volume="$PWD:/app" --workdir="/app" --entrypoint=/bin/bash avetkhov/flutter:latest | |
definitions: | |
caches: | |
pub: ~/.pub-cache # $PUB_CACHE default value | |
flutter: /opt/flutter # flutter sdk path | |
steps: | |
- step: &flutter-run | |
name: Flutter Test |
View flutter.sublime-build
This file contains 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
{ | |
"cmd": ["flutter", "run", "--hot"], | |
"selector": "source.dart", | |
"working_dir": "$project_path", | |
"variants": [ | |
{ | |
"name": "Flutter - Format File", | |
"cmd": ["dart", "format", "$file"] | |
}, | |
{ |
View flutter.sublime-project
This file contains 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
{ | |
"folders": [ | |
{ | |
"path": ".", | |
"folder_exclude_patterns": [ | |
".dart_tool", | |
"build", | |
"web", | |
"windows", | |
"linux", |
View docker-compose.yml
This file contains 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
# `npx create-payload-app` with a project called `demo` | |
version: '3' | |
services: | |
payload: | |
image: node:18-alpine | |
ports: | |
- "3000:3000" | |
volumes: | |
- ./demo:/home/node/app |
View docker-compose.yml
This file contains 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 -d --name inbucket -p 9000:9000 -p 2500:2500 -p 1100:1100 inbucket/inbucket | |
# open http://localhost:9090/ | |
version: '3.8' | |
services: | |
inbucket: | |
container_name: inbucket | |
image: inbucket/inbucket:3.0.3 | |
ports: | |
- '2500:2500' # SMTP |
NewerOlder