This moved to https://github.com/haraldschilly/TableParserDemo
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
%Shekel-(4,5) | |
function y = sh5(x) | |
% | |
% Shekel function | |
% Matlab Code by A. Hedar (Nov. 23, 2005). | |
% The number of variables n = 4 | |
% The parameter m should be adjusted m = 5,7,10. | |
% The default value of m = 10. | |
% | |
m = 5; |
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 | |
# Copyright Harald Schilly <harald.schil.ly> | |
# License: Apache 2.0 | |
# Hint: run it periodically via: watch -d -n 30 python countdown.py | |
# (sorry blockexplorer ...) | |
# which halfing? 1, 2, ... | |
nb_halfing = 2 | |
quot = 2 ** nb_halfing | |
reward = 50. / quot |
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
/** | |
* Das ist eine Klasse für Komplexe Zahlen, | |
* welche die {@link Double} Klasse verwendet. | |
* | |
* <ul> | |
* <li>{@link Complex#add(complexnumbers.Complex) addiert komplexe zahlen}</li> | |
* </ul> | |
* | |
* @author Harald Schilly | |
*/ |
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 java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
public class DataStructures { | |
static List<Student> studenten = new ArrayList<Student>(); | |
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 customexceptions; | |
public class CustomExceptions { | |
public static void main(String[] args) throws NegativerWertException { | |
Rechner r = new Rechner(); | |
try { | |
double wert1 = r.rechnung1(22.2); | |
System.out.println("wert1: " + wert1); | |
double wert2 = r.rechnung2(-5); |
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: utf8 -*- | |
class Llabel(object): | |
""" | |
Lfunction Label | |
--------------- |
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 oop; | |
import java.util.Arrays; | |
/** | |
* Beispielprogramm zur Einführung in Objektorientiertes Programmieren (OOP) | |
* | |
* 2014-04-14 | |
* | |
* @author Harald Schilly |
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
$ gdb -batch -ex 'file vmlinux-4.10.0-35-generic' -ex 'disassemble /r memmove' > /tmp/vmlinux-4.10.0-35-generic-memmove.txt | |
$ cat /tmp/vmlinux-4.10.0-35-generic-memmove.txt | |
Dump of assembler code for function memmove: | |
0xffffffff814585d0 <+0>: 48 89 f8 mov %rdi,%rax | |
0xffffffff814585d3 <+3>: 48 83 fa 20 cmp $0x20,%rdx | |
0xffffffff814585d7 <+7>: 0f 82 03 01 00 00 jb 0xffffffff814586e0 <memmove+272> | |
0xffffffff814585dd <+13>: 48 39 fe cmp %rdi,%rsi | |
0xffffffff814585e0 <+16>: 7d 0f jge 0xffffffff814585f1 <memmove+33> | |
0xffffffff814585e2 <+18>: 49 89 f0 mov %rsi,%r8 | |
0xffffffff814585e5 <+21>: 49 01 d0 add %rdx,%r8 |
OlderNewer