The script was not working anymore, so here's an official blog post for installing djangocms in a few commands.
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
# optional file, see https://github.com/kapt-labs/django-check-seo/wiki/How-to-add-a-check%3F | |
# Standard Library | |
import glob | |
from os.path import basename, dirname, isfile, join | |
import sys, json | |
from django.conf import settings | |
# list files |
As of 03/01/20, here's how I install & configure a search box on a djangocms (& djangocms-blog) project using elasticsearch:
TL;DR: It didn't work. Switch to solr.
-
Make sure to have a fully functional django + djangocms + djangocms-blog project (see djangocms-blog installer).
-
Install aldryn-search
As of 26/02/20, here's how I install & configure a search box on a djangocms (& djangocms-blog) project using solr:
-
Make sure to have a fully functional django + djangocms + djangocms-blog project (see djangocms-blog installer).
-
Install django-haystack & aldryn-search
- Run:
pipenv install git+https://github.com/django-haystack/django-haystack#egg=django-haystack
- Run:
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
#!/bin/zsh | |
# 2019 - Corentin Bettiol | |
# Requires zsh, python3 & twine (python3 -m pip install --user --upgrade twine) | |
# Licenced under WTFPL v2 | |
trap ctrl_c INT | |
function ctrl_c() { | |
echo "Aborting..." |
Publish a project to pypi (doc)
- Install twine
python3 -m pip install --user --upgrade twine
- Generating distribution archives
-
Elasticsearch (j'ai pas réussi) -
Solr - Easy.
It's a very simple timetracking tool for linux users that use systemd services & zenity.
(source)
- Put
timetracking.sh
on your computer.
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
#!/bin/bash | |
xclip -selection clipboard -t image/png -o > "screenshot.png" | |
convert screenshot.png \( +clone -background black -shadow 75x10+0+0 \) +swap -bordercolor none -border 10 -background none -layers merge +repage shadow.png | |
xclip -selection clipboard -t image/png -i shadow.png | |
rm screenshot.png shadow.png |
OlderNewer