Category Archives: Uncategorized

STM32duino (STM32 Arduino)

  • STM32duino
  • Maple

ST STM32

Switching between Arduino cores:
There are three different Arduino cores for STM32 microcontrollers: STM32Duino, Arduino STM32 (maple) and STM32L0. All of them have been developed independently, therefore, have different functionality and set of internal libraries. By default, official STM32Duino core is used (except cases when a board supports only one specific core).

GitHub

github.com/stm32duino/Arduino_Core_STM32, STM32 core support for Arduino
github.com/rogerclarkmelbourne/Arduino_STM32, Arduino STM32. Hardware files to support STM32 boards, on Arduino IDE 1.8.x including LeafLabs Maple and other generic STM32F103 boards
github.com/bobc/maple-asp, Arduino Support Package For Maple
github.com/leaflabs/maple-ide, Development environment for the Maple ARM Cortex-M3 development board; forked from Arduino

STM32-GENERIC-Derivate
github.com/danieleff/STM32GENERIC, Generic implementation of Arduino for STM32 boards
github.com/huaweiwx/STM32GENERIC, Generic implementation of Arduino for STM32 boards
github.com/ChrisMicro/STM32GENERIC, Generic implementation of Arduino for STM32 boards

Tutorials

Arduino goes STM32
Arduino for STM32 (Forum)
Arduino for STM32 (Wiki)
The Arduino IDE with STM32

Videos

STM32 Arduino (STM32F103C8 / Programming STM32 with Arduino and Mac)
STM32 dev board first steps (linux)

Arduino Libraries

github.com/rweather/arduinolibs/, Arduino Cryptography Library
github.com/rweather/arduino-projects/, A collection of my libraries and examples for Arduino.
github.com/rweather/lightweight-crypto, NIST Lightweight Cryptography Primitives

Arduino Cryptography Library Documentation
ArduinoLibs Documentation

Interactive shell via UART serial for Arduino?

LCD

http://arduino.esp8266.com/stable/package_esp8266com_index.json

LiquidCrystal I2C

marcoschwartz/LiquidCrystal_I2C

old:
fdebrabander/Arduino-LiquidCrystal-I2C-library
LiquidCrystal_I2C.h library – for Arduino IDE 1.6.x
Arduino LiquidCrystal_I2C library

LED Matrix / Linsn LED Panel Controller

LED Matrix

Adafruit RGB Matrix Bonnet for Raspberry Pi
Controlling RGB LED display with Raspberry Pi GPIO
Controlling RGB LED display with Raspberry Pi GPIO (deprecated?)

Linsn LED Panel Controller

Ethernet-Protokoll für LED-Controller “Linsn”?
How to drive 4096 RGB LEDs (each 24Bit RGB brightness) with one STM32 Microcontroller (without much CPU load)
[Update] How to drive 8192 RGB LEDs (each 24Bit RGB brightness) with one STM32 Microcontroller (without much CPU load)
WordClock24h
WordClock mit WS2812
Reverse-Engineering a chinese LED screen control.. thing.
LINSN LED strips

Github

Tindie: D1 Mini Matrix Shield
github.com/2dom/PxMatrix, Adafruit GFX compatible graphics driver for LED matrix panels
github.com/freetronics/DMD, Arduino library to support the Freetronics Dot Matrix Display
github.com/adlerweb/RGBLEDTest, RGB LED Video Wall Matrix – Code that might works but should not be used

YouTube

YouTube Button – Nerd Level [ESP8266, RGB LED Matrix]
RGB LED Matrix with an ESP8266 – How to get started
English version Led studio RCG file intelligent setup
Sending Card LINSN Dual L2

BitBastelei #318 – RGB-LED-Video-Wall-Panel (P4)

Anaconda Python

What is Anaconda

What is the difference between pyenv, virtualenv, anaconda?
Conda: Myths and Misconceptions
Why do people hesitate to use Python 3?
Should I use Python 2 or Python 3 for my development activity?

Miniconda

Preparing transaction: done
Executing transaction: done
installation finished.
Do you wish the installer to initialize Miniconda3
by running conda init? [yes|no]
[no] >>> no

You have chosen to not have conda modify your shell scripts at all.
To activate conda's base environment in your current shell session:

eval "$(/home/bacr/miniconda3/bin/conda shell.YOUR_SHELL_NAME hook)" 

To install conda's shell functions for easier access, first activate, then:

conda init

If you'd prefer that conda's base environment not be activated on startup, 
   set the auto_activate_base parameter to false: 

conda config --set auto_activate_base false

Thank you for installing Miniconda3!

Installing bigfloat

python bigfloat installation issues
Installing Bigfloat for Python

C:\Program Files\Anaconda3>conda install bigfloat
Fetching package metadata .........
Solving package specifications: .
PackageNotFoundError: Package not found: '' Package missing in current win-64 channels:
  - bigfloat
You can search for packages on anaconda.org with
    anaconda search -t conda bigfloat

C:\Program Files\Anaconda3>anaconda search -t conda bigfloat
Using Anaconda API: https://api.anaconda.org
Run 'anaconda show <USER/PACKAGE>' to get more details:
Packages:
     Name                      |  Version | Package Types   | Platforms
     ------------------------- |   ------ | --------------- | ---------------
     auto/bigfloat             |  0.3.0a2 | conda           | linux-32
                                          : Arbitrary precision correctly-rounded floating point arithmetic, via MPFR.
     bokonon/bigfloat          |  0.3.0a2 | conda           | win-32, win-64
                                          : Arbitrary precision correctly-rounded floating point arithmetic, via MPFR.
     clinicalgraphics/bigfloat |  0.3.0a2 | conda           | win-32, win-64
                                          : Arbitrary precision correctly-rounded floating point arithmetic, via MPFR.
     prkrekel/bigfloat         |  0.3.0a2 | conda           | win-32, win-64
                                          : Arbitrary precision correctly-rounded floating point arithmetic, via MPFR.
Found 4 packages

C:\Program Files\Anaconda3> conda install -c prkrekel bigfloat
Fetching package metadata ...........
Solving package specifications: ....
UnsatisfiableError: The following specifications were found to be in conflict:
  - bigfloat
  - python 3.5*
Use "conda info <package>" to see the dependencies for each package.

(C:\Program Files\Anaconda3) C:\WINDOWS\system32>conda install -c conda-forge gmpy2
Fetching package metadata ...........
Solving package specifications: ..........

Package plan for installation in environment C:\Program Files\Anaconda3:

The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    conda-env-2.6.0            |                0           1 KB  conda-forge
    mpir-2.7.2                 |           vc14_3         2.9 MB  conda-forge
    vc-14                      |                0          985 B  conda-forge
    mpfr-3.1.4                 |           vc14_3         1.7 MB  conda-forge
    conda-4.2.13               |           py35_0         436 KB  conda-forge
    mpc-1.0.3                  |           vc14_3         263 KB  conda-forge
    gmpy2-2.0.7                |      py35_vc14_1         445 KB  conda-forge
    ------------------------------------------------------------
                                           Total:         5.7 MB

The following NEW packages will be INSTALLED:

    conda-env: 2.6.0-0           conda-forge
    gmpy2:     2.0.7-py35_vc14_1 conda-forge [vc14]
    mpc:       1.0.3-vc14_3      conda-forge [vc14]
    mpfr:      3.1.4-vc14_3      conda-forge [vc14]
    mpir:      2.7.2-vc14_3      conda-forge [vc14]
    vc:        14-0              conda-forge

The following packages will be UPDATED:

    conda:     4.2.9-py35_0                  --> 4.2.13-py35_0 conda-forge

Proceed ([y]/n)? y

Update Conda

==> WARNING: A newer version of conda exists. <==
  current version: 4.11.0
  latest version: 4.12.0

Please update conda by running

    $ conda update -n base -c defaults conda

Filme

Good Kids
American Honey
Better Off Single
Amateur Night
The New Girlfriend
Joshy
Careful What You Wish For
Lucky Number
The Handmaiden
Alpha House (schlecht!)
How To Plan An Orgy In A Small Town
10 Rules for Sleeping Around
BLUE MOUNTAIN State the Rise of Thadland (schon gesehen ?!)
KEEPING UP WITH THE JONESES
Girl House (Horror!)
KEEPING UP WITH THE JONESES => komödie (gut!)
DER VATER MEINER BESTEN FREUNDIN
EDEN
KNOCK KNOCK (Horror!)
WHITE GIRL
BAD JOHNSON
THE PERFECT MATCH (Black)
A Date with Miss Fortune
THE BOY NEXT DOOR
LOLA’S LOVE SHACK
WHY HIM?
College Brothers (schlecht!)
CHOCOLATE CITY
Kiss Of The Damned
Nocturnal Animals
FLOCK OF DUDES
GIRL ON A BICYCLE
PLÖTZLICH GIGOLO
DENK WIE EIN MANN 2
The Perfect Teacher
BESSER ALS NIX
SEX ON THE BEACH 2
I ORIGINS
SUBURRA
BEING CHARLIE
LOTTE
AFFENKÖNIG
FEUCHTGEBIETE
DIE MITTE DER WELT
EGON SCHIELE
WILLKOMMEN BEI DEN HARTMANNS
UNGESAGT
*Egon Schiele – Tod und Mädchen*
BAD MOMS
NERVE
THE LOVE WITCH
The Edge of Seventeen
The Dictator Red Band
Baked in Brooklyn
DER VATER MEINER BESTEN FREUNDIN
The Babymakers
LAST VEGAS
BAD ROOMIES
One Wild Moment
Stalking Eva
The Young Kieslowski (
CAVEMEN
LIFE PARTNERS
TULIP FEVER
SWING STATE
BANG GANG

Doku

7 Tage… unter Singles
7 Tage… unter Rechten
7 Tage… in der Studentenverbindung
7 Tage… unter Hippies
7 Tage … beim Bund
7 Tage … unter Pennern

ARM Assembly / Instruction Set

Azeria Labs

Writing ARM Assembly
ARM Data Types and Registers
ARM Instruction set
Memory Instructions: Load and Store

CodeMachine Inc.

Windows on ARM – An assembly language primer

The rest

Load addresses into registers
Load addresses to a register using LDR
Memory accesses

ARM and Thumb-2 Instruction Set – Quick Reference Card (PDF)
The ARM Instruction Set Architecture, Presentation (PDF)
Quick reference card for ARMv7 (Cortex-M4) (PDF)

Topic 10: Instruction Representation (PPT)
ARM Instruction Set (PDF)
THUMB Instruction Set (PDF)
Converting very simple ARM instructions to binary/hex
Introducing ARM assembly language
ARM: Assembly Language Programming (PDF)

WING Wirtschaft für Ingenieure

Jörg Musiolik (musi)

Standards der Buchführung

Fachempfehlungen zur Rechnungslegung (FER), Swiss GAAP FER
United States Generally Accepted Accounting Principles (US-GAAP)
International Financial Reporting Standards (IFRS), International Accounting Standards (IAS)
Handelsgesetzbuch (HGB)

Selbstkosten
Herstellkosten
Marktpreis
Marketing-Mix (4P)

Wiederbeschaffungskosten / Wiederbeschaffungswert
Jahresüberschuss
Gewinn- und Verlustrechnung, (CH: Erfolgsrechnung)
Gesamtkostenverfahren (GKV) oder dem Umsatzkostenverfahren (UKV)
Erlös / Umsatzerlös
EBIT (engl. earnings before interest and taxes „Gewinn vor Zinsen und Steuern“)

1. Auszahlung, Ausgabe, Aufwand, Kosten – Grundbegriffe des Rechnungswesens – Einführung

Leistung (Rechnungswesen)
Ertrag
Betriebszweck
Kosten- und Leistungsrechnung

  • Kosten- und Leistungsrechnung (KLR)
  • Kosten- und Erlösrechnung (KER)
  • Kostenrechnung (KoRe)
  • Betriebsergebnisrechnung

Anschaffungs- und Herstellungskosten
Herstellungskosten

Unterschied Ertrag und Erlös

Frage:
Was ist der unterschied zwischen Ertrag und Erlös? Danke:)

Antwort:
Ertrag ist ein Oberbegriff zu Erlös (man spricht meist von Umsatzerlös) Erlös ist also der Ertrag, der aus dem Verkauf von Produkten erzielt wird.Neben diese Ertrag gibt es andere Arten von Erträgen, etwa Zinsertrag, Hausertrag (also Miete, die du bekommst) , Erträge aus dem Verkauf von Teilen des Anlagevermögens. Den erzielst du etwa, wenn du einen gebrauchten Firmenwagen über Buchwert verkaufst. Wenn der noch mit 5000 in den Büchern steht und du etwa 7000 bekommst, hast du einen solchen Ertrag von 2000. Wichtig: Alle Erträge erhöhen das Eigenkapital, sie werden im Haben gebucht, gehen von da nach GuV und von da auf das Konto Eigenkapital.

Beziehungen zwischen Einzahlung & Einnahme
Beziehungen zwischen Einnahme & Ertrag
Beziehungen zwischen Ertrag & Leistung
Beziehungen zwischen Auszahlung & Ausgabe
Beziehungen zwischen Ausgabe & Aufwand

Anschaffungs- und Herstellungskosten
Konten in Produktionsunternehmen (PDF)
Die Verbuchung laufender Geschäftsvorfälle in Industriebetrieben
Verbindlichkeiten aus Lieferungen und Leistungen

Musterprüfung Rechnungswesen, ZHAW Florian Angst (anfl)
Betriebsbuchhaltung und Abschluss Finanzbuchhaltung, Marcel Fehr (fehm) und Florian Angst (anfl)

Samba on Ubuntu

List Samba users?

Commands

smbstatus Report on current Samba connections
pdbedit Manage the SAM database (Database of Samba Users)
smbpasswd Add user resp. change a user’s SMB password
net Tool for administration of Samba and remote CIFS servers
getent Get entries from Name Service Switch libraries (nsswitch.conf)
smbd Server to provide SMB/CIFS services to clients
nmbd NetBIOS name server to provide NetBIOS over IP naming services to clients
samba Server to provide AD and SMB/CIFS services to clients
samba-tool Main Samba administration tool
smbclient FTP-like client to access SMB/CIFS resources on servers

smbstatus

Explanation of smbstatus output

net

$ net rpc share list
print$
download
share
IPC$

$ net rpc user
andreas

Restart

$ service smbd restart
$ service nmbd restart

Authorization

How to debug Samba authorization (authentication) procedure

$ smbcontrol smbd debuglevel
PID 4603: all:0 tdb:0 printdrivers:0 lanman:0 smb:0 rpc_parse:0 rpc_srv:0 rpc_cli:0 passdb:0 sam:0 auth:0 winbind:0 vfs:0 idmap:0 quota:0 acls:0 locking:0 msdfs:0 dmapi:0 registry:0 scavenger:0 dns:0 ldb:0 tevent:0

$ smbcontrol smbd debug 10

$ smbcontrol smbd debuglevel
PID 4603: all:10 tdb:10 printdrivers:10 lanman:10 smb:10 rpc_parse:10 rpc_srv:10 rpc_cli:10 passdb:10 sam:10 auth:10 winbind:10 vfs:10 idmap:10 quota:10 acls:10 locking:10 msdfs:10 dmapi:10 registry:10 scavenger:10 dns:10 ldb:10 tevent:10
[2017/01/23 10:33:51.995263,  3] ../source3/auth/auth.c:178(auth_check_ntlm_password)
  check_ntlm_password:  Checking password for unmapped user [DESKTOP-TJAKC58]\[andreas]@[DESKTOP-TJAKC58] with the new password interface
[2017/01/23 10:33:51.995280,  3] ../source3/auth/auth.c:181(auth_check_ntlm_password)
  check_ntlm_password:  mapped user is: [NAS]\[andreas]@[DESKTOP-TJAKC58]
[2017/01/23 10:33:51.995472,  3] ../source3/passdb/lookup_sid.c:1645(get_primary_group_sid)
  Forcing Primary Group to 'Domain Users' for andreas
[2017/01/23 10:33:51.995729,  3] ../source3/auth/auth.c:249(auth_check_ntlm_password)
  check_ntlm_password: sam authentication for user [andreas] succeeded
[2017/01/23 10:33:51.998567,  2] ../source3/auth/auth.c:305(auth_check_ntlm_password)
  check_ntlm_password:  authentication for user [andreas] -> [andreas] -> [andreas] succeeded
smbstatus -p listing of samba processes
smbstatus -S listing of shares that are currently being accessed
smbstatus -L file locking status for the files that are being accessed