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
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace ExpressionChecking | |
{ | |
public interface IExpressionChecker | |
{ |
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
b@d,c,a | |
a@a,c,e | |
b@b,c,d |
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
;; | |
;; Lösung in Clojure | |
;; | |
(defn make-func [x] | |
(partial #(= (mod %2 %1) (- %1 1)) x)) | |
(defn make-funcs [] | |
(cons | |
#(zero? (mod % 7)) |
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
'D1353 M17731LUNG D13N7 4L5 B3W315, ...' |
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
import RPi. GPIO as GPIO | |
import time | |
import random | |
SLEEPING_TIME = 0.05 | |
PORTS = (7, 11, 12, 13, 15, 16) | |
SEQUENCES = [ |
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
>>> python transform_messdaten.py messdaten.txt | |
Messung = 00-50-13dot95-1.dat | |
Dateipfad = ...\...\ | |
Kameraaufloesung [um] = 0.2 | |
Sq [A] = 7 | |
Sa [A] = 5 | |
Zyklus = 00 | |
Vergrößerung = 50 | |
Winkel = 13dot95 |
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
SuperDepp =1 True | |
superdepp= 3 True | |
sUperdepp = 5 True | |
superdepp = 7 True | |
superdepp =9 True | |
superdepp= 3 True | |
Superdepp=7 True | |
SUPERDEPP=7 True | |
suppendepp=11 False | |
hupersep= b False |
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 | |
from random import randint | |
from collections import Counter | |
COIN = { | |
1: "Kopf", | |
2: "Zahl" | |
} |
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
package parrots; | |
public class Dog { | |
private String name; | |
public Dog(String name) { | |
this.name = name; | |
} |
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 python | |
# coding: utf-8 | |
import xml.etree.ElementTree as etree | |
from pprint import pprint | |
data = """ | |
<data> | |
<parts> | |
<part name="komplexes Teil"> |
NewerOlder