This file contains hidden or 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
| import shutil, os | |
| # Function: merge files in current _dataDir folder! | |
| def mergeFiles(_dataDir, _finalFileName): | |
| if _dataDir == "": | |
| print("Error no path available") | |
| else: | |
| # output Filename | |
| outfilename = os.path.join(_dataDir, _finalFileName) |
This file contains hidden or 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
| # | |
| # Multithread AppJar example | |
| import threading, time | |
| from appJar import gui | |
| def btn_normal(btnName): | |
| app.addLabel("l1", "Label 1") | |
| #call sleep Function for Label 2 in main thread | |
| sleepFunction(3) |
This file contains hidden or 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
| # | |
| # non blocking Tkinter code -> uses of .update_idletasks() | |
| # | |
| import time | |
| from tkinter import * | |
| # Function: with timeout | |
| def mySleep(): | |
| text.insert(INSERT, "start sleep\n") |
This file contains hidden or 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
| # import random module | |
| import random | |
| tempRandom = random.randint(0, 9) | |
| print(tempRandom) | |
| # lists all functions of the random module | |
| print(dir(random)) |
This file contains hidden or 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
| <irplus> | |
| <device manufacturer="Manufacturer" model="Model" columns="3" format="PRONTO_HEX" > | |
| <button label="POWER" labelColor="FF000000" labelSize="20.0" backgroundColor="FFFFFFFF">0000 006D 0010 0000 000C 0044 000C 001C 000C 001C 000C 001C 000C 001C 000C 001C 000C 0044 000C 0044 000C 001C 000C 0044 000C 001C 000C 001C 000C 001C 000C 0044 000C 001C 000C 12FF</button> | |
| </device> | |
| </irplus> |
This file contains hidden or 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
| title: News | |
| description: News für die Startseite erstellen. | |
| type: flex-objects | |
| # Flex Configuration | |
| config: | |
| # Administration Configuration | |
| admin: | |
| # Admin router (optional) | |
| router: |
This file contains hidden or 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
| <div id="flex-objects"> | |
| <div class="text-center"> | |
| <input class="form-input search" type="text" placeholder="Durchsuche die News" /> | |
| <button class="button button-primary sort asc" data-sort="name"> | |
| Sort by Name | |
| </button> | |
| </div> | |
| {% set data = flex_entries.getData().toArray()|sort_by_key(title) %} | |
This file contains hidden or 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
| <div class="entry-details"> | |
| {% if object.website %} | |
| <a href="{{ object.website }}"><span class="newsTitle">{{ object.title }}</span></a> | |
| {% else %} | |
| <span class="name">{{ object.title }}</span> | |
| {% endif %} | |
| <div class="newsInfo"> | |
| {{ object.info }} |
This file contains hidden or 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
| new bayern.asv.reports.api.groovy.ScriptExecutor("",/ | |
| import bayern.asv.reports.api.st.austritt.AustrittEintrittHelper; | |
| import bayern.asv.reports.api.kl.datasources.schuelerliste.SchuelerlisteDatasourceConverter; | |
| import bayern.asv.reports.api.st.migration.Migration; | |
| import bayern.asv.reports.api.tools.arraylistdatasource.ArrayListDataSource; | |
| import de.isb.svp.domain.pojo.Klasse; | |
| import de.isb.svp.domain.pojo.Klassengruppe; | |
| import de.isb.svp.domain.pojo.SchuelerSchuljahr; | |
| import de.isb.base.business.context.Context; | |
| import java.util.Date; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
OlderNewer