Skip to content

Instantly share code, notes, and snippets.

View boisei0's full-sized avatar

Lena Derksen boisei0

View GitHub Profile
@johnlindquist
johnlindquist / prompts.txt
Created July 23, 2022 22:26
Top Prompts of 2022-08-23
random beautiful landscape
young woman, medium wavy red hair, slightly tanned, heroine, oil painting, portrait, intricate complexity, rule of thirds, in the style of Artgerm, character concept
portrait of a cute mouse as knight in the style of charlie bowater, oil painting
intricate colourfully painted carved wood paneling, dark souls, ivory and copper , artstation
grey curly hair dutch man danny hollander dannyjevriend Studio Ghibli painterly style, portrait symetrical –iw 2
pixel art explosion, painterly
The Entrance to Kingdom of Shangri-La, Beautiful architecture, Atmosphere, Dramatic lighting, Epic composition, Close up, Low angle, Wide angle, by Miyazaki, Nausicaa Ghibli, Breath of The Wild
winter,snow,In the dense primeval forest there was a pool of water after the rain,Crystal butterfly,The light from the cracks of the trees shone on the pool like a mirror, and deep snow covered the land,sun light,concept, art, fantasy,Ghibli, Hayao Miyazaki,4k,cinematic,
handsome anime dragon in Amazon rainforest, dn
@Sacristan
Sacristan / push_commits_by_chunks.sh
Last active April 6, 2024 15:14
Push commits by chunks
REMOTE=origin
BRANCH=$(git rev-parse --abbrev-ref HEAD)
BATCH_SIZE=10
# check if the branch exists on the remote
# if git show-ref --quiet --verify refs/remotes/$REMOTE/$BRANCH; then
# # if so, only push the commits that are not on the remote already
# range=$REMOTE/$BRANCH..HEAD
# else
# # else push all the commits
@mrjoes
mrjoes / ckedit.py
Created March 18, 2013 19:04
Flask-Admin and CKEditor WYSIWYG textarea integration. Basically, all you have to do: 1. Create new wtforms widget which will emit 'ckeditor' class 2. Make new wtforms field which will use this widget 3. Create new jinja2 template, which includes ckeditor javascript 4. Tell flask-admin to use new field and new template
from flask import Flask
from flask.ext.sqlalchemy import SQLAlchemy
from flask.ext import admin, wtf
from flask.ext.admin.contrib import sqlamodel
app = Flask(__name__)
app.config['SECRET_KEY'] = '123456790'
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///test.sqlite'
db = SQLAlchemy(app)
@indexzero
indexzero / readme-outline.md
Created November 14, 2011 08:26
A quick outline of a README.md

README.md Outline

  • Header and a Brief description (should match package.json)
  • Example (if applicable)
  • Motivation (if applicable)
  • API Documentation: This will likely vary considerably from library to library.
  • Installation
  • Tests
  • Contributors
  • License