I hereby claim:
- I am soruly on github.
- I am soruly (https://keybase.io/soruly) on keybase.
- I have a public key whose fingerprint is 3577 2760 A073 1049 70F1 2623 21BC D176 57C0 E4EB
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
:o
import cv2 | |
import sys | |
import os.path | |
import numpy as np | |
def drawMatches(img1, kp1, img2, kp2, matches): | |
rows1 = img1.shape[0] | |
cols1 = img1.shape[1] | |
rows2 = img2.shape[0] |
:D
/* | |
* This file is part of the LIRE project: http://www.semanticmetadata.net/lire | |
* LIRE is free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation; either version 2 of the License, or | |
* (at your option) any later version. | |
* | |
* LIRE is distributed in the hope that it will be useful, | |
* but WITHOUT ANY WARRANTY; without even the implied warranty of | |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
Able to spot programming mistakes merely by reading code
Stop the try-and-error approach in programming (it works ≠ it is correct)
Improve instincts to what is the root cause of bugs
Speed up time for code review
Add-Type -AssemblyName System.Drawing | |
$timer = New-Object timers.timer | |
$timer.Interval = 15000 | |
$timer.Enabled = $true | |
$timer.start() | |
Register-ObjectEvent -InputObject $timer -EventName Elapsed -SourceIdentifier PrintScreen -Action { | |
$folderName = Get-Date -Format "yyyy-MM-dd" | |
$fileName = "$(Get-Date -Format "yyyy-MM-dd HH mm ss").jpg" |
TELEGRAM_TOKEN= # e.g. 111111111:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA | |
TELEGRAM_WEBHOOK= # e.g. https://your.host.com/ | |
PORT= # (optional) Default: 3000 | |
NOVELAI_TOKEN= # e.g. "Bearer eyJhbxxxxxxxxxxxxxXVCJ9.eyJpxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxbi9I" |
import "dotenv/config.js"; | |
import child_process from "child_process"; | |
import cluster from "cluster"; | |
import fs from "fs-extra"; | |
import Knex from "knex"; | |
const { ANIME_PATH, DB_NAME, DB_USER, DB_PASS, DB_HOST } = process.env; | |
const knex = Knex({ |