Skip to content

Instantly share code, notes, and snippets.

View LaurinHerbsthofer's full-sized avatar

Laurin Herbsthofer LaurinHerbsthofer

View GitHub Profile
#!/usr/bin/env python
# Tutorial available at: https://www.youtube.com/watch?v=nmb-0KcgXzI
# Feedback welcome: jacksonbates@hotmail.com
from gimpfu import *
def NAME_OF_MAIN_FUNCTION(image, drawable):
# function code goes here...
@mrkline
mrkline / c_sharp_for_python.md
Last active May 30, 2024 15:35
An intro to C# for a Python developer. Made for one of my coworkers.

C# For Python Programmers

Syntax and core concepts

Basic Syntax

  • Single-line comments are started with //. Multi-line comments are started with /* and ended with */.

  • C# uses braces ({ and }) instead of indentation to organize code into blocks. If a block is a single line, the braces can be omitted. For example,