Skip to content

Instantly share code, notes, and snippets.

View andreasnilsson's full-sized avatar

Andreas Nilsson andreasnilsson

View GitHub Profile
// Copyright 2000-2021 JetBrains s.r.o. and contributors. Use of this source code is governed by the
// Apache 2.0 license that can be found in the LICENSE file.
import androidx.compose.desktop.ui.tooling.preview.Preview
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.material.Button
import androidx.compose.material.MaterialTheme
import androidx.compose.material.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
__author__ = 'Enighma'
data = [2, 5, 1, 2, 3, 4, 7, 7, 6]
data = [2, 5, 1, 3, 1, 2, 1, 7, 7, 6]
class Point:
x=0
y=0
def Point(self, x, y):
@andreasnilsson
andreasnilsson / test.py
Created January 11, 2014 19:51
to fille
import sys
lines = []
for line in sys.stdin:
lines.append(line)
numbers = map(int, lines[1].split())
max = numbers[-1]
min = numbers[0]
import adbparser
import adb
# Tests are run in the order they ware defined here.
test_runners = [
'com.testpackage.testapp.test.MyTestRunner1',
'com.testpackage.testapp.test.MyTestRunner2'
]
test_package = 'com.testpackage.testapp.test'