-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/hx-ux/SammelKarten
- Loading branch information
Showing
21 changed files
with
954 additions
and
104 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.238.1/containers/ubuntu/.devcontainer/base.Dockerfile | ||
|
||
# [Choice] Ubuntu version (use ubuntu-22.04 or ubuntu-18.04 on local arm64/Apple Silicon): ubuntu-22.04, ubuntu-20.04, ubuntu-18.04 | ||
ARG VARIANT="jammy" | ||
FROM mcr.microsoft.com/vscode/devcontainers/base:0-${VARIANT} | ||
|
||
# [Optional] Uncomment this section to install additional OS packages. | ||
# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ | ||
# && apt-get -y install --no-install-recommends <your-package-list-here> | ||
|
||
#####################POSTCOMMANDS############# | ||
# RUN apt-get update && apt-get -y upgrade | ||
# RUN apt install python3-pip | ||
# RUN pip install requirements.txt | ||
|
||
|
||
|
||
# NOT WORKING | ||
# RUN wget https://gmic.eu/files/linux/gmic_3.1.4_ubuntu22-04_jammy_amd64.deb | ||
# RUN sudo dpkg -i gmic_3.1.4_ubuntu22-04_jammy_amd64.deb | ||
# RUN sudo apt update --fix-missing | ||
# RUN sudo apt-get install -f | ||
|
||
# identify docker | ||
ENV DOCKER_CONTAINER Yes |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.238.1/containers/ubuntu | ||
|
||
|
||
// | ||
|
||
//sudo apt-get install libfftw3-double3 libgegl-0.4-0 libgimp2.0 libilmbase25 libopenexr25 libjpeg8 libopenexr25 libpng16-16 libqt5core5a libqt5gui5 libqt5widgets5 libtiff5 | ||
|
||
//1. wget https://gmic.eu/files/linux/gmic_3.1.4_ubuntu22-04_jammy_amd64.deb | ||
//sudo dpkg -i gmic_3.1.4_ubuntu22-04_jammy_amd64.deb | ||
//sudo apt-get install -f | ||
|
||
|
||
|
||
{ | ||
"name": "Ubuntu", | ||
"build": { | ||
"dockerfile": "Dockerfile", | ||
// Update 'VARIANT' to pick an Ubuntu version: jammy / ubuntu-22.04, focal / ubuntu-20.04, bionic /ubuntu-18.04 | ||
// Use ubuntu-22.04 or ubuntu-18.04 on local arm64/Apple Silicon. | ||
"args": { "VARIANT": "ubuntu-22.04" } | ||
}, | ||
"customizations": { | ||
// Configure properties specific to VS Code. | ||
"vscode": { | ||
// Set *default* container specific settings.json values on container create. | ||
"settings": { | ||
}, | ||
"extensions": [ | ||
"ms-python.python" | ||
// // "ms-python.vscode-pylance" | ||
] | ||
} | ||
}, | ||
|
||
|
||
|
||
// Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
// "forwardPorts": [], | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
|
||
"remoteUser":"root", | ||
"postCreateCommand": "pip install -r requirements.txt ", | ||
|
||
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||
"remoteUser": "vscode", | ||
"features": { | ||
"git": "latest", | ||
"python": "3.8" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo "Hello from our entrypoint!" | ||
|
||
exec "$@" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Pylint | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.8"] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v3 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install pylint | ||
- name: Analysing the code with pylint | ||
run: | | ||
pylint $(git ls-files '*.py') |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,8 @@ | ||
|
||
/test.py | ||
*.png | ||
.vscode/settings.json | ||
*.deb | ||
*.gif | ||
font/Roboto-Black.ttf | ||
gif/render.gif | ||
test.py | ||
*.zip |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,35 @@ | ||
# SammelKarten -Linux Version | ||
* check out the other branch for the windows version | ||
more: | ||
* <a href="https://x0x0x0me.netlify.app/software_sammellkarten.html">See more results</a> | ||
* <a href="https://x0x0x0me.netlify.app/sammelkarten">See more results</a> | ||
|
||
## Input image | ||
![alt text](https://x0x0x0me.netlify.app/static/media/in.dd498c0e445738d7b27b.bmp) | ||
|
||
## output image | ||
![alt text](https://x0x0x0me.netlify.app/static/media/7.e837ef6ab5b20689e16f.png) | ||
|
||
![alt text](https://x0x0x0me.netlify.app/static/media/1.182c5db818598749ceda.png) | ||
|
||
|
||
# How to install | ||
* tested with ubuntu 22.04 | ||
* works on github codespaces ( ノ ゚ー゚)ノ , see dockerfile | ||
|
||
1. Install dependencies | ||
```bash | ||
sudo apt-get install libfftw3-double3 libgegl-0.4-0 libgimp2.0 libilmbase25 libopenexr25 libjpeg8 libopenexr25 libpng16-16 libqt5core5a libqt5gui5 libqt5widgets5 libtiff5 | ||
``` | ||
|
||
2. Download gmic .deb | ||
|
||
```bash | ||
wget https://gmic.eu/files/linux/gmic_3.1.4_ubuntu22-04_jammy_amd64.deb | ||
sudo dpkg -i gmic_3.1.4_ubuntu22-04_jammy_amd64.deb | ||
sudo apt-get install -f | ||
``` | ||
3. Install requirements | ||
|
||
```python | ||
pip install -r requirements.txt | ||
``` |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
fx_whirls 20,3.88,0.2,1.672,11,0,50,50 | ||
fx_blur_angular 0.52,50,50,3.5,1,7,0 | ||
rodilius 10 | ||
fx_polka_dots 18.1,16.28,50,50,0,0.5,0.1,1,255,255,255,255 | ||
fx_blackandwhite 0.299,0,0.587,0,0.114,0,0,0,0,0,0,0,0,0,2,0,0,0,16,4,0,0,0,50,50 | ||
fx_segment_watershed 2,1,0,0,0,50,50 | ||
fx_twirl -0.22,50,50,3 | ||
fx_dirty 30,1,0,0,0,50,50 | ||
fx_pixelsort 1,0,0,1,0,66.2,0,0,0 | ||
frame_cube 28.98,0,0,0,0,0,0 | ||
fx_polaroid 10,20,0,0,3,0,0,50,70,95 | ||
fx_poster_hope -0.174,3,0,50,50 | ||
fx_marble 4.74,1,0,0,0.4,0.054,7.24,1.1,0,100 | ||
fx_sponge 9,0,0,50,50 | ||
weave 14,50.5,0,0.5,0,0,0,0,0 | ||
fx_warp_by_intensity 1.104,-0.708,128,128,0,0,3,0,0,50,50 | ||
fractalize 0.8 | ||
fx_polygonize 2000,85.7,10,10,10,0,0,0,255,0,50,50 | ||
fx_8bits 25,800,16,0,50,50 | ||
fx_shift_tiles 10,10,10,1 | ||
fx_vignette 70,70,95,0,0,0,255 | ||
fx_shapes 1,16,10,2,5,90,0,0,1,1,0 | ||
fx_tunnel 4,80,50,50,0.2,0 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
whirls , | ||
weave , | ||
water , | ||
warp_perspective , | ||
warhol 3,3,3,40 | ||
vignette , | ||
blur 3 +unsharp_octave 4,5,15 cut 0,255 | ||
twirl 0.6 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The Ubuntu Font Family is very long-term endeavour, and the first time | ||
that a professionally-designed font has been funded specifically with | ||
the intent of being an on-going community expanded project: | ||
|
||
http://font.ubuntu.com/ | ||
|
||
Development of the Ubuntu Font Family is undertaken on Launchpad: | ||
|
||
http://launchpad.net/ubuntu-font-family/ | ||
|
||
and this is where milestones, bug management and releases are handled. | ||
|
||
Contributions are welcomed. Your work will be used on millions of | ||
computers every single day! Following the initial bootstrapping of | ||
Latin, Cyrillic, Greek, Arabic and Hebrew expansion will be undertaken | ||
by font designers from the font design and Ubuntu communities. | ||
|
||
To ensure that the Ubuntu Font Family can be re-licensed to future | ||
widely-used libre font licences, copyright assignment is being required: | ||
|
||
https://launchpad.net/~uff-contributors |
Oops, something went wrong.