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
#!/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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
''' | |
big-o-notation.py: | |
Version: 0.2 | |
Python 3.6 | |
Date created: 22/03/2017 | |
''' |
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
//: # Introduction to CALayer | |
//: (Xcode 9 and Swift 4) | |
import UIKit | |
import PlaygroundSupport | |
//: From Apples's Support Documentation: | |
//: | |
//: > The CALayer class manages image-based content and allows you to perform animations on that content. Layers are often used to provide the backing store for views but can also be used without a view to display content. | |
//: |
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 -*- | |
''' | |
Author: @niftycode | |
Version: 1.3 | |
Python 3.10 | |
Date created: February 14th, 2018 | |
Date modified: December 1st, 2021 |
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
#!/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 -*- | |
""" | |
Traffic Accidents in Kiel, Germany | |
Python 3.6 | |
last edited: May 19th, 2021 | |
The data is provided by the City of Kiel, Germany | |
https://www.kiel.de/ |
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/python3 | |
# -*- coding: utf-8 -*- | |
""" | |
kiel_unfaelle.py | |
version: 1.3 | |
last edited: June 19th, 2021 | |
The data is provided by the City of Kiel, Germany: | |
http://kiel.de/rathaus/statistik/open_data/index.php?id=de-sh-kiel_gesetze_justiz_strassenverkehsunfaelle_verkehrstote_verletzte_fahrerflucht | |
""" |
NewerOlder