Skip to content

Instantly share code, notes, and snippets.

View usydapeng's full-sized avatar
🎯
Focusing

usydapeng

🎯
Focusing
View GitHub Profile
@usydapeng
usydapeng / ChatGPT Stable Diffusion prompts generator.txt
Created November 21, 2023 02:40 — forked from bluelovers/ChatGPT Stable Diffusion prompts generator.txt
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
@usydapeng
usydapeng / App.java
Created November 16, 2017 07:43 — forked from thomasdarimont/App.java
Secure REST API Example with Spring Security, Spring Session, Spring Boot
package demo;
import java.io.Serializable;
import java.security.Principal;
import java.util.Collection;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
@usydapeng
usydapeng / tomcat.sh
Created April 20, 2017 02:10 — forked from valotas/tomcat.sh
Tomcat init.d script
#!/bin/bash
#
# tomcat7 This shell script takes care of starting and stopping Tomcat
#
# chkconfig: - 80 20
#
### BEGIN INIT INFO
# Provides: tomcat7
# Required-Start: $network $syslog
# Required-Stop: $network $syslog
@usydapeng
usydapeng / Apache Tomcat 8 Start stop script init.d script
Created April 20, 2017 02:09 — forked from miglen/Apache Tomcat 8 Start stop script init.d script
Apache Tomcat init script (or startup/controll script). Works fine for version 7/8. Read the comments for release history. Feel free to modify, copy and give suggestions. (c) GNU General Public License
#!/bin/bash
#
# description: Apache Tomcat init script
# processname: tomcat
# chkconfig: 234 20 80
#
#
# Copyright (C) 2014 Miglen Evlogiev
#
# This program is free software: you can redistribute it and/or modify it under
@usydapeng
usydapeng / Main.java
Created September 17, 2013 10:10
xzxc
public class Main {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
@usydapeng
usydapeng / Main.java
Created September 17, 2013 10:08
helloworld
public class Main {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}