ESET Windows 7 Service pack KB

Install Eset on Windows 7 Service Pack 1 user patch

KB4474419

for x86 http://download.windowsupdate.com/c/msdownload/update/software/secu/2019/09/windows6.1-kb4474419-v3-x86_0f687d50402790f340087c576886501b3223bec6.msu

for x64

http://download.windowsupdate.com/c/msdownload/update/software/secu/2019/09/windows6.1-kb4474419-v3-x64_b5614c6cea5cb4e198717789633dca16308ef79c.msu

and  KB4490628

for x86

http://download.windowsupdate.com/c/msdownload/update/software/secu/2019/03/windows6.1-kb4490628-x86_3cdb3df55b9cd7ef7fcb24fc4e237ea287ad0992.msu

for x64

http://download.windowsupdate.com/c/msdownload/update/software/secu/2019/03/windows6.1-kb4490628-x64_d3de52d6987f7c8bdc2c015dca69eac96047c76e.msu

JHCIS label printer print problem

  1. Download Driver ล่าสุด https://www.seagullscientific.com/support/downloads/drivers/zebra/
  2. แก้ permission jhcis-client jhcis user full
  3. แก้ไฟล์ print.properties มองหา drug_label1
  4. ตัวอย่าง พิมพ์ผ่าน lan ไปยัง zebra gt800 เครื่อง nmd05
  5. drug_label1=\\\\nmd05\\Zebra GT800 (203 dpi) – EPL

Joomla version view file

Joomla 1.7.x
root\librairies\joomla\version.php:
the version is mentioned in the lines var $RELEASE (for the release version)
and var $DEV_LEVEL (for the maintenance version).
root\template\system\css\system.css:
the version is not clearly mentioned, but you know that you are running 1.7 version
thanks to this line: @version $Id: system.css 21322 2011-05-11 01:10:29Z dextercowley $.
If you do not have a FTP access, you can also open the system.css file in your browser.
root\languages\en-GB\en-GB.ini:
the version is not clearly mentioned, but you know that you are running
1.7.1 thanks to the 1st line of this .ini file ; $Id: en-GB.ini 20990 2011-03-18 16:42:30Z infograf768 $,
1.7.3 if the 1st line is ; $Id: en-GB.ini 22183 2011-09-30 09:04:32Z infograf768 $,
1.7.5 if the 1st line is ; $Id: en-GB.ini 22183 2011-09-30 09:04:32Z infograf768 $.

Joomla 2.5.x
By FTP, go to root\librairies\cms\version\version.php:
the version is mentioned in the lines public $RELEASE (for the release version)
and public $DEV_LEVEL (for the maintenance version).
By FTP, go to root\template\system\css\system.css:
the version is not clearly mentioned, but you know that you are running
2.5 thanks to this line: Copyright (C) 2005 – 2014 Open Source Matters, Inc.
If you do not have a FTP access, you can also open the system.css file in your browser.
By FTP, go to root\languages\en-GB\en-GB.xml: the version is mentioned in the file, in the version tag.
For Joomla < 3.8.x: root\libraries\cms\version\version.php

For Joomla >= 3.8.x: root\libraries\src\Version.php

PIPEBEND

FDD

MS-DOS6.22

LARGE HDD <40 NOT LBA

WINNT4 24796-OEM-0014736-66386

FAT

VIA APOLLO VT8601A + VT82C686B

PLE133 VGA

RT8139D

SIS-8600-LV

OCX

VBRUN

NodeMCU ESP8266 TM1637 NTP DHT11

  • NODEMCU ESP8266
  • 4 Digit Seven Segment TM1637
  • DHT11
  • SevenSegmentTM1637.h

#include <NTPClient.h>
#include <ESP8266WiFi.h>
#include <WiFiUdp.h>
#include “SevenSegmentTM1637.h”
#include “SevenSegmentExtended.h”
#include <DHT.h>

#define CLK D2 // Define the connections pins:
#define DIO D3
#define DHTPIN D5 // Pin sensor is connected to

char cdmy[11];

// Set DHT type, uncomment whatever type you’re using!
#define DHTTYPE DHT11 // DHT 11
//#define DHTTYPE DHT22 // DHT 22 (AM2302)
//#define DHTTYPE DHT21 // DHT 21 (AM2301)
float temp_c ;
float humi ;
char tempf[4];
float tempr;
char humif[4];
//SevenSegmentTM1637 display(CLK, DIO); // Create display object of type TM1637Display:
SevenSegmentExtended display(CLK, DIO);
DHT dht = DHT(DHTPIN, DHTTYPE);

const char *ssid = “xxxxx”;
const char *password = “xxxxxxx”;

//const long utcOffsetInSeconds = 19802;
const long utcOffsetInSeconds = 25200;

// Define NTP Client to get time
WiFiUDP ntpUDP;
NTPClient timeClient(ntpUDP, “1.th.pool.ntp.org”, utcOffsetInSeconds);

void setup(){
display.begin(); // initializes the display
display.setBacklight(100); // set the brightness to 100 %
Serial.begin(9600);
Serial.println();
Serial.println(“DHTxx test!”);
dht.begin();
// Begin serial communication at a baud rate of 9600:

WiFi.begin(ssid, password);

while ( WiFi.status() != WL_CONNECTED ) {
delay(500);
Serial.print (“.”);
}

timeClient.begin();
}

void loop() {

// Read the temperature as Celsius and Fahrenheit:
temp_c = dht.readTemperature();
humi = dht.readHumidity();

// print both to serial console
Serial.println();
Serial.print(temp_c);
Serial.print(“<-T H->”);
Serial.println(humi);

timeClient.update();
unsigned long epochTime = timeClient.getEpochTime(); //get date

int currentHour = timeClient.getHours();
int currentMinute = timeClient.getMinutes();

struct tm *ptm = gmtime ((time_t *)&epochTime);
int monthDay = ptm->tm_mday;
sprintf(cdmy,” %02d-%02d-%02d “,ptm->tm_mday,ptm->tm_mon+1,ptm->tm_year+2443);

for (int i = 0; i < 2; i++) {
display.clear(); // clear the display
display.print(cdmy); // print right->left day month year
delay(100);
}
// print time hour min
//for (int i = 0; i < 2; i++) {
display.clear(); // clear the display
// print hour min for
display.printTime(currentHour,currentMinute, true); //print hour.min
//display.blink(); // blink
delay(1000);

// }

display.setColonOn(1); // open dot . led version dot if use time led : show led
display.printNumber(static_cast<int>(temp_c * 100),false,false,false);
display.printRaw(88,3); // display c at location 3
display.blink();
delay(2000);
display.printRaw(128,1);
display.printNumber(static_cast<int>(humi * 100),false,false,false);
display.printRaw(116,3); // display h at location 3
display.blink();
delay (3000);
display.setColonOn(false); // close colon
display.clear();

}xxx

TM1637.h Groove

#include “TM1637.h”

TM1637 tm1637(CLK, DIO);

tm1637.set();

tm1637.init();

tm1637.set(BRIGHTEST);//BRIGHT_TYPICAL = 2,BRIGHT_DARKEST = 0,BRIGHTEST = 7;

tm1637.clearDisplay(); // clear the display
tm1637.displayStr(); 

tm1637.displayStr(‘ABCD’); 

// Without specifying decimal pointt it displays int
tm1637.displayNum(num);

// Colon light up as decimal point
tm1637.displayNum(num, 2);
delay(2000);

// Note that adding 3 digits (-123450) makes number out of int range
tm1637.displayNum(num, 3);
delay(2000);

// Display negative numbers without sign
tm1637.displayNum(num, 0, false);
delay(2000);

/ LOVE, O=0

    tm1637.displayStr(“L0UE”);

    delay(2000);

    // loop

    tm1637.displayStr(“HELL0-1234567890”, 1000);

    delay(2000);

    // ON

    tm1637.displayStr(“0N”);

    delay(2000);

    // OFF

    tm1637.displayStr(“0FF”);

    delay(2000);

/tm1637.display(0, ListDisp[0]);
tm1637.display(1, ListDisp[1]);
tm1637.display(2, ListDisp[2]);
tm1637.display(3, ListDisp[3]);

Display1.display(0, 1); // แสดงเลข 1 ที่หลัก 0
delay(1000); // *** หลัก (0,1,2,3) นับจากซ้ายตามลำดับ

Display1.display(1, 2); // แสดงเลข 2 ที่หลัก 1
delay(1000);

Display1.display(2, 5); // แสดงเลข 5 ที่หลัก 2
delay(1000);

Display1.display(3, 8); // แสดงเลข 8 ที่หลัก 3
delay(1000);

Display1.display(0, CHAR_BLANK); // แสดง ‘ ‘ (ช่องว่าง) ที่หลัก 0
delay(1000);

Display1.display(1, CHAR_BLANK); // แสดง ‘ ‘ (ช่องว่าง) ที่หลัก 1
delay(1000);

Display1.display(2, CHAR_BLANK); // แสดง ‘ ‘ (ช่องว่าง)ที่หลัก 2
delay(1000);

Display1.display(3, CHAR_BLANK); // แสดง ‘ ‘ (ช่องว่าง) ที่หลัก 3
delay(1000);

Display1.point(POINT_ON); // เปิดแสดงจุด “:” ระหว่างหลัก 1 กับ หลัก 2
Display1.clearDisplay(); // ต้องตาม Function นี้ จุดถึงจะแสดง
delay(1000);

tm1637.point(POINT_OFF); // ปิดแสดงจุด “:” ระหว่างหลัก 1 กับ หลัก 2
tm1637.clearDisplay(); // ต้องตาม Function นี้ จุดถึงจะปิดไม่แสดง
delay(1000);

Display1.point(POINT_ON);
Display1.clearDisplay();
Display1.display(0, 1);
Display1.display(1, 2);
Display1.display(2, 3);
Display1.display(3, 4);
delay(1000);

 

Arduino C TM structure

struct tm *ptm = gmtime ((time_t *)&epochTime);
int monthDay = ptm->tm_mday;
sprintf(cdmy,” %02d-%02d-%02d “,ptm->tm_mday,ptm->tm_mon+1,ptm->tm_year+2443);
sprintf(chm,”%02d%02d”,ptm->tm_hour,ptm->tm_min);

MemberTypeMeaningRange
tm_secintseconds after the minute0-61*
tm_minintminutes after the hour0-59
tm_hourinthours since midnight0-23
tm_mdayintday of the month1-31
tm_monintmonths since January0-11
tm_yearintyears since 1900
tm_wdayintdays since Sunday0-6
tm_ydayintdays since January 10-365
tm_isdstintDaylight Saving Time flag

ESP8266 NODEMCU TM1637 NTP

#include <NTPClient.h>
#include <ESP8266WiFi.h>
#include <WiFiUdp.h>
#include <TM1637Display.h> //

#define CLK D2 // Define the connections pins:
#define DIO D3

TM1637Display display = TM1637Display(CLK, DIO); // Create display object of type TM1637Display:

const char *ssid = “XXXX”;
const char *password = “xxxxx”;

//const long utcOffsetInSeconds = 19802;
const long utcOffsetInSeconds = 25200;

// Define NTP Client to get time
WiFiUDP ntpUDP;
NTPClient timeClient(ntpUDP, “1.th.pool.ntp.org”, utcOffsetInSeconds);

void setup(){
Serial.begin(9600);
Serial.println();
// Begin serial communication at a baud rate of 9600:

WiFi.begin(ssid, password);

while ( WiFi.status() != WL_CONNECTED ) {
delay ( 500 );
Serial.print ( “.” );
}

timeClient.begin();
}

void loop() {
int A,B;
display.setBrightness(7); // Set the brightness:

timeClient.update();
unsigned long epochTime = timeClient.getEpochTime(); //get date
Serial.print(“Epoch Time: “);
Serial.println(epochTime);

int currentHour = timeClient.getHours();
Serial.print(“Hour: “);
Serial.println(currentHour);

int currentMinute = timeClient.getMinutes();
Serial.print(“Minutes: “);
Serial.println(currentMinute);
//Get a time structure

struct tm *ptm = gmtime ((time_t *)&epochTime);
int monthDay = ptm->tm_mday;
Serial.print(“Month day: “);
Serial.print(monthDay);
display.showNumberDec(monthDay, false, 2, 1);
delay(3000);
display.clear();
int currentMonth = ptm->tm_mon+1;
Serial.print(” Month: “);
Serial.print(currentMonth);
display.showNumberDec(currentMonth, true, 2, 1);
delay(3000);
display.clear();

//int currentYear = ptm->tm_year+1900;
int currentYear = ptm->tm_year+2443;
Serial.print(” Year: “);
Serial.println(currentYear);
display.showNumberDec(currentYear, false, 4, 0);
delay(3000);
display.clear();

A = timeClient.getHours() * 100 + timeClient.getMinutes();
B = timeClient.getSeconds();

if((B % 2) == 0)
{
display.showNumberDecEx(A, 0b01000000 , false, 4, 0);
}
else
{
display.showNumberDecEx(A, 0b00000000 , false, 4, 0);
}

delay (3000);
display.clear();

}

.