It's a very simple timetracking tool for linux users that use systemd services & zenity.
(source)
- Put
timetracking.sh
on your computer.
#!/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 |
It's a very simple timetracking tool for linux users that use systemd services & zenity.
(source)
timetracking.sh
on your computer.Elasticsearch (j'ai pas réussi)
Solr - Easy.
python3 -m pip install --user --upgrade twine
#!/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..." |
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
pipenv install git+https://github.com/django-haystack/django-haystack#egg=django-haystack
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
The script was not working anymore, so here's an official blog post for installing djangocms in a few commands.
# 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 |