Blog J.Schweiss

Infosammlung zu .NET- Programmier-Themen & Elektronik

OMD Monitoring

clock Oktober 25, 2015 20:51 by author Administrator

mk check_mk client windows

cmk -d hostname" um sich die Ausgabe des Agenten auf dem Nagios Server anzuschauen.

MonitoringPortal and Wiki

Video

Add Hosts Configuration



3D Laser Scanner

clock Oktober 25, 2015 06:45 by author Administrator

Project FabScan

3D-Drucker



Raspi und Linux

clock Oktober 25, 2015 05:57 by author Administrator

Overview Basic-Knowhow

RealTime Clock

image

Pegelanpassung mit FET für I2C

Allerdings ist bei den neuen Himbeeren mit 512MB der zweite I2C-Bus auf die Pin-Leiste verdrahtet.
Die Ansteuerung ändert sich daher geringfügig, statt
“i2cget -y 0 0x20” muß man den Bus 1 wählen, also “i2cget -y 1 0x20”.

über /proc/cpuinfo die Daten zu dem Pi auslesen und alles was über Revision 2 ist, hat I2C-1.

Oder den Ordner /dev durchsuchen, welcher I2C dort vorhanden ist.

2×16-Ports extra über MCP23017

Bug



EZ430

clock Oktober 18, 2015 22:41 by author Administrator

@Völkner

@Arrow



ESP8266 and FHEM

clock Oktober 18, 2015 21:47 by author Administrator

here

Basic

ESP User Manual

NetIo

Hardware

 

Zu GPIO:

Zu Device-Tree:



OpenBuilds

clock Oktober 18, 2015 02:17 by author Administrator

here



MQTT & ESP8266

clock Oktober 17, 2015 18:27 by author Administrator

here and here

Relay-Board and here

ESP_MQTT



WIN10 IoT

clock Oktober 12, 2015 04:39 by author Administrator

Powershell Start Skript here



Firewall for a doorbell?

clock Oktober 11, 2015 20:38 by author Administrator

here



Embedded WebServer

clock Oktober 11, 2015 05:50 by author Administrator

GoAhead



ESP8266

clock Oktober 6, 2015 05:25 by author Administrator

Kochbuch

Schaltplan

Kurzinfos

Intro

Projects



LimitLess LED

clock Oktober 6, 2015 05:07 by author Administrator

here



Azure–TryAppService

clock Oktober 3, 2015 21:01 by author Administrator

Try



Writing JavaScript code on Windows with jsc.exe

clock Oktober 3, 2015 06:57 by author Administrator

here

using the compiler. jsc is located at C:\Windows\Microsoft.NET\Framework\v2.0.50727

cscript

JavaScript Best Practices

from Commandline

Batch

cscript //E:jscript hello.js
@if (@CodeSection == @Batch) @then
  @cscript //Nologo //E:jscript "%~f0" "test arg" %* & pause & goto :eof
@end
WScript.Echo("hello world");
for (var i = 0, n = WScript.Arguments.Length, args = []; i < n; ++i)
    args.push(WScript.Arguments(i));
WScript.Echo("arguments: " + args.join(","));

 

//test_cscript_javascript_engine
// replace.js: globally replace one string with another.
// See directions for syntax.

function directions() {
    
  WScript.Echo("Enter\n");
  WScript.Echo("cscript //Nologo test_cscript_javascript_engine targetstring \
replstring < infile.txt > outfile.txt");
   WScript.Echo("\nEnclose strings that have spaces in quotation marks.");
}
function processTextStream() {
    target = WScript.Arguments.Item(0);
    newString = WScript.Arguments.Item(1);
    while (!WScript.StdIn.AtEndOfStream) {
        line = WScript.StdIn.ReadAll();
        // If I wasn't passing a variable as the first argument
        // of line.replace, I could use normal regex syntax like
        // line.replace(/Robert/g,"Bob")
        line = line.replace(RegExp(target,"g"),newString)
            WScript.Echo(line);
    }
}

// --------------------------------------------------

if (WScript.Arguments.length < 2) {
    directions();
}
else {
    processTextStream();
};



Sign in