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 javafx.geometry.Orientation | |
import javafx.scene.Scene | |
import javafx.scene.control.TextField | |
import javafx.scene.image.Image | |
import javafx.scene.layout.BorderPane | |
import javafx.scene.layout.HBox | |
import javafx.scene.layout.VBox | |
import javafx.stage.Stage | |
import tornadofx.* |
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 javafx.geometry.Orientation | |
import javafx.scene.Scene | |
import javafx.scene.control.TextField | |
import javafx.scene.image.Image | |
import javafx.scene.layout.BorderPane | |
import javafx.scene.layout.HBox | |
import javafx.scene.layout.VBox | |
import javafx.stage.Stage | |
import tornadofx.* |
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
* Comment | |
* Some other comment | |
SOMEHEADERS: | |
SECTION1 param1 param2 | |
value value value | |
somethingelse | |
SECTION2 param1 param2 | |
value value value | |
somethingelse |
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 org.jetbrains.kotlin.gradle.tasks.KotlinCompile | |
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar | |
plugins { | |
application | |
java | |
id("com.github.johnrengelman.shadow") version "2.0.4" | |
kotlin("jvm") version "1.3.10" | |
} |
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
def fix(): | |
print("Damn") | |
def fox(): | |
print("in socks") | |
fix.__code__ = fox.__code__ | |
fix() | |
# in socks |
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
class A: | |
def foo(): | |
print("From A") | |
class B(A): | |
def foo(): | |
print("From B") | |
class C(B): | |
pass |
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
failed: [<DOMAINNAME>] (item={'name': 'myuser', 'ssh_key': 'ssh-rsa <SOMEKEY> cardno:<SOMEID>', 'groups': 'sudo'}) => { | |
"changed": false, | |
"item": { | |
"groups": "sudo", | |
"name": "myuser", | |
"ssh_key": "ssh-rsa <SOMEKEY> cardno:<SOMEID>" | |
}, | |
"module_stderr": "Error: not found\n", | |
"module_stdout": "", | |
"msg": "MODULE FAILURE", |
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 javafx.application.Application | |
import javafx.beans.property.SimpleIntegerProperty | |
import javafx.scene.control.Button | |
import javafx.scene.layout.VBox | |
import tornadofx.* | |
import java.time.LocalDate | |
import java.time.Period | |
class Person(id: Int, name: String, birthday: LocalDate) { | |
var id by property(id) |
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
Running https://github.com/bjonnh/kotlin_jena from Idea works. | |
But trying a: | |
$ gradle clean build | |
:clean | |
:compileKotlin | |
:compileJava NO-SOURCE | |
:processResources NO-SOURCE | |
:classes UP-TO-DATE | |
:jar |
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
from beakerx import EasyForm, EasyFormComponent, BeakerxLayout, widget_serialization, getValue | |
from beakerx import BeakerxText | |
from ipywidgets.widgets.trait_types import InstanceDict | |
from beakerx import Int, Unicode, Dict, Bool, Union, List | |
from ipywidgets import Password, Text | |
class BeakerxPassword(Password, EasyFormComponent): | |
def on_value_change(self, change): | |
self.fireChanged(change['new']) |