Skip to content

Instantly share code, notes, and snippets.

View bluelovers's full-sized avatar

bluelovers bluelovers

View GitHub Profile
@bluelovers
bluelovers / ChatGPT Stable Diffusion prompts generator.txt
Last active April 16, 2024 03:22
using ChatGPT as Stable Diffusion prompts generator
Stable Diffusion is an AI art generation model similar to DALLE-2.
Here are some prompts for generating art with Stable Diffusion.
Example:
- A ghostly apparition drifting through a haunted mansion's grand ballroom, illuminated by flickering candlelight. Eerie, ethereal, moody lighting.
- portait of a homer simpson archer shooting arrow at forest monster, front game card, drark, marvel comics, dark, smooth
- pirate, deep focus, fantasy, matte, sharp focus
- red dead redemption 2, cinematic view, epic sky, detailed, low angle, high detail, warm lighting, volumetric, godrays, vivid, beautiful
- a fantasy style portrait painting of rachel lane / alison brie hybrid in the style of francois boucher oil painting, rpg portrait
--- Actions ---
$Copy <M-C>
$Cut <M-X> <S-Del>
$Delete <Del> <BS> <M-BS>
$LRU
$Paste <M-V>
$Redo <M-S-Z> <A-S-BS>
$SearchWeb
$SelectAll <M-A>
$Undo <M-Z>
@bluelovers
bluelovers / README.md
Created December 24, 2019 15:30
metro-config 0.56 windows fix

metro-config 0.56 windows fix

@bluelovers
bluelovers / index.ts
Created May 25, 2019 04:08
createPotplayerList
/**
* Created by user on 2019/5/25.
*/
import { globbyASync, IOptionsWithReturnGlobList, getOptions } from 'node-novel-globby/g';
import Bluebird = require('bluebird');
import { sortTree } from 'node-novel-globby/lib/glob-sort';
import path = require('path');
import fs = require('fs-extra');
@bluelovers
bluelovers / package-json.d.ts
Created May 17, 2019 15:48 — forked from iainjreid/package-json.d.ts
A Typescript type definition for NPM package files
export interface IPackageJSON extends Object {
readonly name: string;
readonly version?: string;
readonly description?: string;
readonly keywords?: string[];
@bluelovers
bluelovers / opds.xml
Last active March 7, 2019 21:02
opds test
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/terms/" xmlns:opds="http://opds-spec.org/2010/catalog">
<title>My Catalog</title>
<updated>2019-03-07T21:01:37.772Z</updated>
<author>
<name>Samy Pesse</name>
<uri>https://www.gitbook.com</uri>
</author>
<entry>
<title>A book</title>
@bluelovers
bluelovers / unblock.hosts.txt
Created March 6, 2019 14:32
hosts file for use adaway unblock some site
## jp
106.186.27.62 www.akabeesoft2.com
106.186.27.62 www.akabeesoft3.com
106.186.27.62 www.akatsukiworks.com
106.186.27.62 www.alicesoft.com
106.186.27.62 www.cosmiccute.com
106.186.27.62 www.hibiki-site.com
106.186.27.62 www.minori.ph
@bluelovers
bluelovers / packageJsonSchema.json
Last active December 3, 2018 22:35
config/plugins/NodeJS/lib/NodeJS.jar!/com/jetbrains/nodejs/packageJson/packageJsonSchema.json
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "JSON schema for NPM package.json files",
"definitions": {
"person": {
"description": "A person who has been involved in creating or maintaining this package",
"type": [ "object", "string" ],
"required": [ "name" ],
"properties": {
"name": {
@bluelovers
bluelovers / emojis.json
Created September 10, 2018 08:38 — forked from oliveratgithub/emojis.json
Emoji-list with emojis, names, shortcodes, unicode and html entities [massive list]
{
"emojis": [
{"emoji": "👩‍👩‍👧‍👧", "name": "family_mothers_two_girls", "shortname": "", "unicode": "", "html": "&#128105;&zwj;&#128105;&zwj;&#128103;&zwj;&#128103;", "category": "p", "order": ""},
{"emoji": "👩‍👩‍👧‍👦", "name": "family_mothers_children", "shortname": "", "unicode": "", "html": "&#128105;&zwj;&#128105;&zwj;&#128103;&zwj;&#128102;", "category": "p", "order": ""},
{"emoji": "👩‍👩‍👦‍👦", "name": "family_mothers_two_boys", "shortname": "", "unicode": "", "html": "&#128105;&zwj;&#128105;&zwj;&#128102;&zwj;&#128102;", "category": "p", "order": ""},
{"emoji": "👨‍👩‍👧‍👧", "name": "family_two_girls", "shortname": "", "unicode": "", "html": "&#128104;&zwj;&#128105;&zwj;&#128103;&zwj;&#128103;", "category": "p", "order": ""},
{"emoji": "👨‍👩‍👧‍👦", "name": "family_children", "shortname": "", "unicode": "", "html": "&#128104;&zwj;&#128105;&zwj;&#128103;&zwj;&#128102;", "category": "p", "order": ""},
{"emoji": "👨‍👩‍👦‍👦", "name": "family_two_boys", "shortname": "", "unicode": "", "html": "&#128104;&zw
@bluelovers
bluelovers / liveplugin.cn2tw.kt
Last active August 7, 2018 05:47
idea liveplugin cn2tw 簡繁轉換 兩種模式 一種是 盡量不去取代已經存在於繁體中的字 另一種則是會取代
import com.intellij.openapi.actionSystem.AnActionEvent
import liveplugin.currentEditor
import liveplugin.registerAction
import liveplugin.runWriteAction
import liveplugin.*
import liveplugin.show
import com.intellij.openapi.editor.actionSystem.EditorAction;
import com.intellij.openapi.editor.actionSystem.*;
import com.intellij.openapi.editor.*;
import com.sun.jna.StringArray