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 - | |
#=============================================================================== | |
# | |
# FILE: createPythonProject.sh | |
# | |
# USAGE: ./createPythonProject.sh | |
# | |
# DESCRIPTION: Create a new Python project | |
# | |
# VERSION: 1.4 |
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
-- Backup data using rsync | |
-- Version 1.0 | |
-- Create a List Menu | |
set usbList to {"1b", "1c"} | |
set usbList to choose from list usbList with prompt "Bitte ein Sicherungsziel auswählen:" default items {"1b"} | |
-- If the user cancels the process, a dialog is displayed | |
if usbList is false then | |
beep |
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
{ | |
// Whether to lint Python files | |
"python.linting.enabled": true, | |
"python.linting.pylintEnabled": false, | |
"python.linting.flake8Enabled": true, | |
// Path to flake8 executable | |
"python.linting.flake8Path": "/Library/Frameworks/Python.framework/Versions/3.9/bin/flake8", | |
// Flake8 Arguments |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Create a second window (QWidget) | |
Version: 1.0 | |
Python 3.8+ | |
Date created: July 15th, 2021 | |
Date modified: - |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Download and unzip a ZIP file | |
Version: 1.0 | |
Python 3.7+ | |
Date created: May 12th, 2021 | |
Date modified: - |
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
package de.niftycode; | |
import org.json.JSONArray; | |
import org.json.JSONObject; | |
import java.net.URI; | |
import java.net.http.HttpClient; // < New in Java 11, can also handle HTTP/2 requests! | |
import java.net.http.HttpRequest; | |
import java.net.http.HttpResponse; |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
''' | |
Passengers - Kiel Harbour (1988-2019) | |
The data is provided by the City of Kiel, Germany | |
https://www.kiel.de/opendata/kiel_transport_verkehr_hafen_passagiere_insgesamt.csv | |
Version: 1.0 | |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Cargo Handling (Port of Kiel, Germany) | |
For more information see: https://opendata.schleswig-holstein.de/dataset/guterumschlag-im-kieler-hafen | |
Version: 1.0 | |
Python 3.7+ | |
Date created: 03.06.2020 |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
''' | |
Unternehmensinsolvenzen in Kiel | |
The data is provided by the Open Data Portal Schleswig-Holstein, Germany | |
https://opendata.schleswig-holstein.de/dataset/unternehmensinsolvenzen-in-kiel | |
Version: 1.0 | |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
UK General Election 2019 | |
Version: 1.1 | |
Python 3.8 | |
Date created: 28.12.2019 | |
""" |
NewerOlder